߼عLogistic Regression – seven

Logistic Regression һlogistic̹һԻع˶ logisticΪֹһķȽϺ˼Ҷ˵Լlogistic Ǻǣܹѹ͹ĽԱ֤Ľڱӡ ĻѧϰԸԤ⣨SVMͲֻܵõ1-1ԤĺôǽֿɱԣǵõͬĿԺ󣬾ͿչֵNõĿԶܸߣ߿ԶܵͣǶȡŵtopNڷʱҪһֵɣԸֵһֵ࣬һࡣ 3 feature֮䲻ҪfeatureĹǶġ ߼عرҶ˹һҪΪûʣÿfeatureĹǶģLRDzԶcombine ͬfeaturesfeature (ʱֻ̲ܱ룬Ǿ,LSA, pLSA, LDAԼҪɵ)ٸӣҪTF*IDFfeatureͱȷĸֱά TF IDF Dzģֻõ a*TF + b*IDF Ľ…

Continue Reading →

Python sklearnmnist

Prefacescikit-learn scikit-learnAnaconda classifiers = NB:naive_bayes_classifier, KNN:knn_classifier, LR:logistic_regression_classifier, RF:random_forest_classifier, DT:decision_tree_classifier, SVM:svm_classifier, SVMCV:svm_cross_validation, GBDT:gradient_boosting_classifier !usr/bin/env python -*- coding: utf-8 -*- import sys…

Continue Reading →