Isotonic Regressio

1.

check_random_state(None)  和  np.random一样

check_random_state(int) 和 np.random类似,但是每次产生的随机数字的不变的

2.

log1p

log(1 + x)

3.

fit_transform(): joins the fit() and transform() method for transformation of dataset.

4.

np.newaxis 在使用和功能上等价于 None

x[:, 1][:, np.newaxis]
array([[2],
      [6],
      [10]])

5.

plt.gcf()和plt.gca()获得,分别表示Get Current Figure和Get Current Axes

猜你喜欢

转载自blog.csdn.net/dss875914213/article/details/88609484
今日推荐