Skip to content

vsl.ml: Random Forest  #126

@ulises-jeremias

Description

@ulises-jeremias

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:

[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) []f64

Use 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

No one assigned

    Labels

    HacktoberfestThis label is assigned to any issue that is good to go for any Hacktoberfest participant

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions