-
-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
HacktoberfestThis label is assigned to any issue that is good to go for any Hacktoberfest participantThis label is assigned to any issue that is good to go for any Hacktoberfest participant
Description
Describe the feature
We want to create a new model on vsl.ml to do classification using the Random Forest algorithm. That model should follow the following interfaces:
- vsl.util.Observer
- Candidate intarface for the struct that we need to create:
[heap]
pub struct RandomForest {
mut:
name string // name of this "observer"
data &Data[f64] // x data
stat &Stat[f64] // statistics about x (data)
min_samples_split int
max_depth int
}With the following methods
name() string
mut:
update() // called by Data when it changes
train()
predict(x [][]f64) []f64Use Case
Proposed Solution
Other Information
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
Version used
Environment details (OS name and version, etc.)
Metadata
Metadata
Assignees
Labels
HacktoberfestThis label is assigned to any issue that is good to go for any Hacktoberfest participantThis label is assigned to any issue that is good to go for any Hacktoberfest participant