quickml icon indicating copy to clipboard operation
quickml copied to clipboard

Documentation on quickml.org is possibly outdated

Open tarjeir opened this issue 11 years ago • 4 comments

This line: final RandomForest randomForest = new RandomForestBuilder().buildPredictiveModel(irisDataset);

RandomForestBuilder is an abstract class in 0.9.4

Should probably be replaced by something like this (or simpler):

final RandomDecisionForest randomForest =new RandomDecisionForestBuilder<>(new DecisionTreeBuilder<>() .scorerFactory(new GRPenalizedGiniImpurityScorerFactory(1.0)) .maxDepth(8) .minAttributeValueOccurences(0) .attributeIgnoringStrategy(new IgnoreAttributesWithConstantProbability(0.2))) .numTrees(2) .buildPredictiveModel(irisDataset);

Tarjei

tarjeir avatar Jul 27 '15 08:07 tarjeir

which file has this problem? Thanks for your help btw.

athawk81 avatar Jul 28 '15 20:07 athawk81

Sorry for not stating that 100% clear: It is the quickml.org front page.

BR

Tarjei

tarjeir avatar Jul 28 '15 20:07 tarjeir

@tarjeir You are very welcome to submit a pull request, the site is maintained in the gh-pages branch. I'm currently on the road so it may be a few days before I can fix this.

sanity avatar Aug 02 '15 12:08 sanity

just pushed effectively the change Tarjei requested.

athawk81 avatar Aug 02 '15 15:08 athawk81