Skip to content

Instantly share code, notes, and snippets.

View bassbone's full-sized avatar
🏠
Working from home

bassbone

🏠
Working from home
View GitHub Profile
@south37
south37 / 00_timeline.md
Last active January 10, 2025 06:39
ISUCON Cheat Sheet
@KatsuhiroMorishita
KatsuhiroMorishita / data_split.py
Last active March 27, 2019 18:53
機械学習用に、データをランダムに並べ替えた上で分割します。学習用のデータと検証用のデータを分ける際にご利用下さい。
# purpose: 機械学習用に、データをランダムに並べ替えた上で分割する
# author: Katsuhiro Morishita
# created: 2017-07-10
# license: MIT
import sys
import numpy as np
import pandas
argvs = sys.argv # コマンドライン引数を格納したリストの取得
if len(argvs) < 3: