Module Import alias identifier Import alias identifier Import alias identifier Import alias identifier ImportFrom alias alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Str Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num Return TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list If CompareEq NameLoad Str body If CompareIs NameLoad NameLoad body Assign NameStore Str Assign TupleStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad keyword Num Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num For NameStore Call NameLoad Num Num body Expr Call AttributeLoad NameLoad attr If CompareEq BinOpMod NameLoad Num Num body AugAssignDiv SubscriptStore AttributeLoad NameLoad attr Index Str Num Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num Str Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num Str Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Num
N/A N/A numpy np N/A pandas pd N/A beacon8 bb8 N/A beacon8.optimizers optim os.path dirname join pjoin sklearn.preprocessing LabelEncoder sklearn.cross_validation train_test_split train train test validate load_train_data N/A N/A N/A N/A N/A train_data N/A N/A pd read_csv N/A pjoin N/A dirname __file__ data train.csv N/A labels N/A N/A train_data target values N/A labels N/A N/A N/A LabelEncoder fit_transform labels N/A train_data N/A N/A train_data drop id axis 1 N/A train_data N/A N/A train_data drop target axis 1 N/A N/A N/A N/A train_data as_matrix labels N/A nnet N/A N/A N/A N/A N/A model N/A N/A bb8 Sequential N/A N/A N/A model add N/A N/A bb8 AddConstant 1.0 N/A N/A N/A model add N/A N/A bb8 Log N/A N/A N/A model add N/A N/A bb8 BatchNormalization 93 N/A N/A N/A model add N/A N/A bb8 Dropout 0.1 N/A N/A N/A model add N/A N/A bb8 Linear 93 512 N/A N/A N/A model add N/A N/A bb8 BatchNormalization 512 N/A N/A N/A model add N/A N/A bb8 ReLU N/A N/A N/A model add N/A N/A bb8 Dropout 0.5 N/A N/A N/A model add N/A N/A bb8 Linear 512 512 N/A N/A N/A model add N/A N/A bb8 BatchNormalization 512 N/A N/A N/A model add N/A N/A bb8 ReLU N/A N/A N/A model add N/A N/A bb8 Dropout 0.5 N/A N/A N/A model add N/A N/A bb8 Linear 512 512 N/A N/A N/A model add N/A N/A bb8 BatchNormalization 512 N/A N/A N/A model add N/A N/A bb8 ReLU N/A N/A N/A model add N/A N/A bb8 Dropout 0.5 N/A N/A N/A model add N/A N/A bb8 Linear 512 9 N/A N/A N/A model add N/A N/A bb8 SoftMax N/A model N/A N/A N/A __name__ __main__ N/A N/A N/A __package__ None N/A N/A __package__ beacon8.examples.KaggleOtto N/A N/A train_data_x train_data_y N/A load_train_data N/A N/A train_data_x valid_data_x train_data_y valid_data_y N/A train_test_split train_data_x train_data_y train_size 0.85 N/A model N/A nnet N/A criterion N/A N/A bb8 ClassNLLCriterion N/A optimiser N/A N/A optim Momentum lr 0.01 momentum 0.9 N/A epoch N/A range 1 1001 N/A N/A N/A N/A model training N/A N/A N/A epoch 100 0 N/A N/A N/A N/A optimiser hyperparams N/A lr 10 N/A N/A train train_data_x train_data_y model optimiser criterion epoch 100 train N/A N/A train train_data_x train_data_y model optimiser criterion epoch 100 stats N/A N/A N/A model evaluate N/A N/A validate valid_data_x valid_data_y model epoch 100