Bootstrap

【MachineLearning】之 逻辑回归(scikit-learn 实现)

逻辑回归的类及默认参数:

LogisticRegression(penalty='l2', dual=False, tol=0.0001, C=1.0, fit_intercept=True, 
intercept_scaling=1, class_weight=None, random_state=None, solver='liblinear', max_iter=100, 
multi_class='ovr', verbose=0, warm_start=False, n_jobs=1)

介绍其中几个常用的参数,其余使用默认即可:

  • penalty: 惩罚项࿰
;