Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num keyword Num keyword Num keyword Num keyword NameLoad keyword Num Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Print Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Print Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Print Call AttributeLoad Str attr NameLoad
N/A udl.caffei.models.logistic Logistic N/A sklearn N/A sklearn.datasets N/A sklearn.linear_model sklearn.metrics accuracy_score get_data N/A N/A N/A N/A N/A N/A X Y N/A N/A N/A sklearn datasets make_classification n_samples 10000 n_features 4 n_redundant 0 n_informative 2 n_clusters_per_class 2 hypercube False random_state 0 N/A N/A X Xt Y Yt N/A N/A N/A sklearn cross_validation train_test_split X Y N/A N/A X Xt Y Yt N/A N/A clf_caffe N/A Logistic N/A N/A X Xt Y Yt N/A get_data N/A clf N/A N/A N/A sklearn linear_model SGDClassifier loss log n_iter 1000 penalty l2 alpha 0.001 class_weight auto N/A N/A N/A clf fit X Y N/A yt_pred N/A N/A clf predict Xt N/A yt_pred N/A N/A N/A Accuracy: {:.3f} format N/A N/A N/A sklearn metrics accuracy_score Yt yt_pred N/A clf N/A Logistic N/A N/A N/A clf fit X Y N/A pred N/A N/A clf predict Xt N/A accuracy N/A accuracy_score Yt pred N/A N/A N/A Accuracy from sklearn: {:.3f} format N/A N/A N/A sklearn metrics accuracy_score Yt yt_pred N/A N/A N/A Accuracy from caffe: {:.3f} format accuracy