Skip to content

Instantly share code, notes, and snippets.

View Chandrak1907's full-sized avatar

Chandrak1907

  • Oracle
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Chandrak1907
Chandrak1907 / Pytorch_RNN.ipynb
Last active January 30, 2020 04:22
Learning pytorch
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
We couldn’t find that file to show.
import numpy as np
from sklearn import datasets
from sklearn.preprocessing import OneHotEncoder
from sklearn.model_selection import train_test_split
from sklearn.metrics import confusion_matrix
# import lightgbm as lgb
from sklearn.metrics import log_loss
import xgboost as xgb
# Iris dataset
@Chandrak1907
Chandrak1907 / pytorch_linear.ipynb
Last active July 30, 2018 16:14
Gist for pytorch linear regression
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.