Skip to content

ossan-tamago/random_forest_by_rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Random Forest

Rustによるランダムフォレストの実装です。

使い方

train関数で学習を行います。

引数

  • features: 特徴量の配列
  • labels: ラベルの配列
  • num_trees: 決定木の数
  • max_depth: 決定木の最大深さ
let random_forest = RandomForest::train(&features, &labels, 10, 2);

predict関数で予測を行います。

let prediction = random_forest.predict(&features);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages