6812b98f8592260b91e9e00dbe59c9ff736f5e16,Orange/classification/simple_random_forest.py,SimpleRandomForestModel,__init__,#SimpleRandomForestModel#Any#Any#,61
Before Change
if isinstance(data.domain.class_var, Orange.data.DiscreteVariable):
self.type = "classification"
self.cls_vals = len(data.domain.class_var.values)
elif isinstance(data.domain.class_var, Orange.data.ContinuousVariable):
self.type = "regression"
self.cls_vals = 0
else:
After Change
self.cls_vals = len(data.domain.class_var.values)
else:
assert(False)
self.learn(learner, data)
def learn(self, learner, data):
tree = SimpleTreeLearner(
learner.min_instances, learner.max_depth,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: biolab/orange3
Commit Name: 6812b98f8592260b91e9e00dbe59c9ff736f5e16
Time: 2015-05-15
Author: tankovesna@hotmail.com
File Name: Orange/classification/simple_random_forest.py
Class Name: SimpleRandomForestModel
Method Name: __init__
Project Name: mindsdb/mindsdb
Commit Name: af5aeb26d96291562884f17cbfbbd917636bc7b7
Time: 2021-03-15
Author: george@cerebralab.com
File Name: mindsdb/interfaces/model/model_interface.py
Class Name: ModelInterface
Method Name: learn
Project Name: mindsdb/mindsdb
Commit Name: 9981a167b4b27f2631c1a764242751cc691e9b31
Time: 2019-10-08
Author: george@cerebralab.com
File Name: test.py
Class Name:
Method Name: