Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword Num orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad Num orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad keyword Num orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad keyword Num keyword Num keyword Num keyword AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str Call NameLoad AttributeLoad NameLoad attr Print Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr Assign NameStore BinOpSub Num AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Num Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Num Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Num Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore Dict Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Print NameLoad Return NameLoad decorator_list decorator_list
N/A sklearn cross_validation sklearn.metrics * sklearn.svm SVC sklearn.neighbors KNeighborsClassifier sklearn.tree DecisionTreeClassifier sklearn.ensemble RandomForestClassifier sklearn.naive_bayes GaussianNB Classifier N/A N/A __init__ N/A N/A self input_data classifier_type train_data_percentage input_features target_feature N/A N/A N/A N/A self input_data input_data N/A N/A self train_data_percentage train_data_percentage N/A N/A self target_feature target_feature N/A N/A self input_features input_features N/A N/A self parallel_jobs 1 N/A N/A classifier_type Linear_SVM N/A N/A N/A self clf N/A SVC kernel linear C 0.025 N/A N/A N/A classifier_type Nearest_Neighbours N/A N/A N/A self clf N/A KNeighborsClassifier 3 N/A N/A N/A classifier_type Decision_Tree N/A N/A N/A self clf N/A DecisionTreeClassifier max_depth 5 N/A N/A N/A classifier_type Random_Forest N/A N/A N/A self clf N/A RandomForestClassifier max_depth 5 n_estimators 10 max_features 1 n_jobs N/A self parallel_jobs N/A N/A N/A classifier_type Naive_Bayes N/A N/A N/A self clf N/A GaussianNB N/A learn N/A N/A self N/A N/A N/A Input features  N/A list N/A self input_features N/A Target feature  N/A self target_feature N/A features N/A N/A N/A self input_data N/A N/A self input_features values N/A labels N/A N/A N/A self input_data N/A N/A self target_feature values N/A test_data_percentage N/A 1 N/A self train_data_percentage N/A N/A x_train x_test y_train y_actual N/A N/A cross_validation train_test_split features labels test_size test_data_percentage random_state 0 N/A N/A N/A N/A self clf fit x_train y_train N/A y_pred N/A N/A N/A self clf predict x_test N/A accuracy N/A round N/A accuracy_score y_actual y_pred 2 N/A recall N/A round N/A recall_score y_actual y_pred 2 N/A precision N/A round N/A precision_score y_actual y_pred 2 N/A f1 N/A round N/A f1_score y_actual y_pred 2 N/A mat N/A confusion_matrix y_actual y_pred N/A true_positives N/A N/A mat N/A 1 N/A 1 N/A false_positives N/A N/A mat N/A 0 N/A 1 N/A true_negatives N/A N/A mat N/A 0 N/A 0 N/A false_negatives N/A N/A mat N/A 1 N/A 0 N/A result N/A Accuracy Score Recall Score Precision Score F1 Score True Positives False Positives True Negatives False Negatives accuracy recall precision f1 true_positives false_positives true_negatives false_negatives N/A result N/A result N/A N/A