module IntRandForest: S
with type c45_data = Oc45.IntOc45.data
and type c45_category = Oc45.IntOc45.category
and type c45_trainSet = Oc45.IntOc45.trainSet
type
c45_data
Oc45.S.data
type
c45_category
type
c45_trainSet
Oc45.S.trainSet
type
randomForest
val classify : randomForest ->
c45_data -> c45_category
Classifies a new data vector, relying on the informations from the
given random forest (generated by
ORandForest.S.genRandomForest
), yielding a
category.
val genRandomForest : int -> c45_trainSet -> randomForest
genRandomForest nbTrees trainSet
generates a random forest of
nbTrees
trees, based on trainSet
.