Skip to content

Instantly share code, notes, and snippets.

View tomokishii's full-sized avatar

Tomokazu Ishii tomokishii

  • Kanagawa, Japan
View GitHub Profile
@tomokishii
tomokishii / README.md
Last active August 21, 2018 05:26
Modern Gradient Boosting models and Scikit-learn GridSearchCV

Modern Gradient Boosting models - how to use GridSearchCV

My current environment is...

  • Python 3.5.2
  • Scikit-learn 0.18.1
  • XGBoost (python-package) 0.6
  • LightGBM (python-package) v2.0
@tomokishii
tomokishii / README.md
Last active May 9, 2019 19:47
Chainer vs. PyTorch - Linear Regression

Chainer vs. PyTorch Linear Regression

  1. linear_reg_chainer.py (Chainer version)
  2. linear_reg_pytorch.py (PyTorch version)
  • Python 3.5.2 (or 3.5.3)
  • Chainer 2.0.0
  • PyTorch 0.1.12
@tomokishii
tomokishii / README.md
Last active December 19, 2017 00:46
TensorFlow 1.3 "canned estimators" demo
  1. mnist_cnn.py - baseline code (till TF 1.2)
  2. mnist_estimator.py - using TF 1.3 tf.estimator API
@tomokishii
tomokishii / README.md
Last active April 2, 2020 01:27
PyTorch Logistic Regression ~ MLP model

PyTorch Logistic Regression ~ MLP model

  1. logistic_regression.py - Using torch.nn module, analysing sklearn DIGITS dataset
  2. logistic_regression_low.py - NOT using torch.nn module, analysing sklearn DIGITS dataset
  3. mnist_mlp.py
@tomokishii
tomokishii / fashion_mnist_theano.py
Created October 2, 2017 05:11
fashion_mist_theano.py - one another mnist (fashion mnist) classification code using Theano. (Goodbye Theano!)
#
# fashion_mnist_theano.py
# date. 10/2/2017
#
# REM: I read the article for stopping development of "THEANO".
# The deep learning framework stimulated me and made me write codes.
# I'd like to say thank you to Theano supporting team.
#
import os