0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Scikit-learn のさわり

Last updated at Posted at 2020-08-25
コメント 2019-11-06 140638.png

model.coef_ = 偏回帰係数
model.intercept_ = 切片

コメント 2019-11-06 140638.png キャプチャ1.PNG test_size = 0.4 訓練データ、検証データの比率 random_state = 1 再現性を高めるため乱数固定 訓練データでfit パラメータ調整して 検証データで決定係数出力 キャプチャ1.PNG キャプチャ1.PNG
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?