Skip to content

Instantly share code, notes, and snippets.

Toshifumi Kuga TOSHISTATS

Block or report user

Report or block TOSHISTATS

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@TOSHISTATS
TOSHISTATS / Probability_of_default _model.ipynb
Created Feb 19, 2018
Probability of default model by Tensorflow&Keras
View Probability_of_default _model.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Portfolio management by Natural Evolution Strategies 20180107.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@TOSHISTATS
TOSHISTATS / Portfolio management by Genetic algorithm with mutations
Last active Dec 29, 2017
Portfolio management by Genetic algorithm with mutation
View Portfolio management by Genetic algorithm with mutations
# 1.Import library
import time
import numpy as np
from numpy.random import *
seed(100)
# 2.Setting up the data
conv = np.array([(6,-5,4), (-5,17,-11),(4,-11,24)])
mu=np.array([8,12,15])
print(conv)
@TOSHISTATS
TOSHISTATS / Car detector by pre-trained ResNet50
Last active Jun 6, 2017
Car detector by pre-trained ResNet50
View Car detector by pre-trained ResNet50
# 1. Import library
import os
import h5py
import numpy as np
import tensorflow as tf
import time
import glob
import json
import csv
from PIL import Image
@TOSHISTATS
TOSHISTATS / End to End learning of self-driving car in Udacity simulator
Created May 14, 2017
End to End learning of self-driving car in Udacity simulator
View End to End learning of self-driving car in Udacity simulator
import os
import h5py
import keras
import numpy as np
from keras.preprocessing.image import ImageDataGenerator, array_to_img, img_to_array, load_img
from keras.models import Sequential
from keras.layers import Convolution2D, MaxPooling2D, ZeroPadding2D,Cropping2D
from keras.layers import Activation, Dropout, Flatten, Dense, Lambda
from keras.utils.np_utils import to_categorical
from keras.regularizers import l2, activity_l2
@TOSHISTATS
TOSHISTATS / Loan-default model with images in SNS
Created May 14, 2017
Loan-default model with images in SNS
View Loan-default model with images in SNS
# "Defaults of loans" is predicted with "customer data + images in SNS"
# 1.import library
import keras
from keras.layers import Input, Embedding, LSTM, Dense,Conv2D,MaxPooling2D,Flatten
from keras.models import Model, Sequential
You can’t perform that action at this time.