热门标签
更多>
搜索结果
查询Tags标签: 斯蒂,共有 2条记录-
基于numpy用梯度上升法处理逻辑斯蒂回归
import numpy as np import matplotlib.pyplot as plt w=700 w1=700 n=w1-50 train=np.random.randint(-300,300,(w,4)) train=train.astype(float) train_lable=np.zeros((w,1)) traint=train.astype(float) lam=100 for i in range(4):train[:,i]=(train[:,i]-train[:…
2021/8/18 23:09:52 人评论 次浏览 -
基于numpy用梯度上升法处理逻辑斯蒂回归
import numpy as np import matplotlib.pyplot as plt w=700 w1=700 n=w1-50 train=np.random.randint(-300,300,(w,4)) train=train.astype(float) train_lable=np.zeros((w,1)) traint=train.astype(float) lam=100 for i in range(4):train[:,i]=(train[:,i]-train[:…
2021/8/18 23:09:52 人评论 次浏览