摘要:
1 逻辑回归的参数列表 2 逻辑回归的属性列表 3 逻辑回归的接口列表 阅读全文
posted @ 2021-06-27 18:49
秋华
阅读(90)
评论(0)
推荐(0)
摘要:
0 案例:用逻辑回归制作评分卡 1 导库,获取数据 %matplotlib inline import numpy as np import pandas as pd from sklearn.linear_model import LogisticRegression as LR #其实日常在导库 阅读全文
posted @ 2021-06-27 18:46
秋华
阅读(695)
评论(0)
推荐(0)
摘要:
3 梯度下降:重要参数max_iter 3.1 梯度下降求解逻辑回归 3.2 梯度下降的概念与解惑 3.3 步长的概念与解惑 l2 = [] l2test = [] Xtrain, Xtest, Ytrain, Ytest = train_test_split(X,y,test_size=0.3,r 阅读全文
posted @ 2021-06-27 16:51
秋华
阅读(155)
评论(0)
推荐(0)
摘要:
class sklearn.linear_model.LogisticRegression (penalty=’l2’, dual=False, tol=0.0001, C=1.0,fifit_intercept=True, intercept_scaling=1, class_weight=Non 阅读全文
posted @ 2021-06-27 16:05
秋华
阅读(484)
评论(0)
推荐(0)
摘要:
1 名为“回归”的分类器 2 为什么需要逻辑回归 3 sklearn中的逻辑回归 阅读全文
posted @ 2021-06-27 14:59
秋华
阅读(89)
评论(0)
推荐(0)

浙公网安备 33010602011771号