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 5 years have passed since last update.

Borutaが使うCPUスレッド数を指定する

Posted at

はじめに

RのBorutaを使う機会があったが、実行するとCPUがほぼ占有され作業ができない状態となっため、CPUスレッド数を指定する方法を調べた。

環境

  • Windows10
  • Boruta

方法

引数num.threadsを指定すればよい。以下の場合、使うCPUスレッドが2に限定される。

BorutaModel <- Boruta(type ~ ., data=trainSet,
                      getImp = getImpFerns,
                      maxRuns = 1000, num.threads=2)

参考

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?