abd0f7b5564e51a412bb7f85e040985d14eb0a4e,src/skmultiflow/trees/hoeffding_tree.py,HoeffdingTree,predict_proba,#HoeffdingTree#Any#,1076
Before Change
for key, value in votes.items():
y_proba[int(key)] = value
predictions.append(y_proba)
return np.array(predictions)
@property
def get_model_measurements(self):
Collect metrics corresponding to the current status of the tree.
After Change
predictions = np.asarray(predictions)
else:
// Fill missing values related to unobserved classes to ensure we get a 2D array
predictions = np.asarray(list(itertools.zip_longest(*predictions, fillvalue=0.0))).T
return predictions
@property
def get_model_measurements(self):
Collect metrics corresponding to the current status of the tree.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: scikit-multiflow/scikit-multiflow
Commit Name: abd0f7b5564e51a412bb7f85e040985d14eb0a4e
Time: 2019-10-06
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/trees/hoeffding_tree.py
Class Name: HoeffdingTree
Method Name: predict_proba
Project Name: pantsbuild/pants
Commit Name: 1ba173b6a2d2f7d19d6181156f923d4004d19d4a
Time: 2020-03-15
Author: stuhood@gmail.com
File Name: src/python/pants/util/ordered_set.py
Class Name: _AbstractOrderedSet
Method Name: __eq__
Project Name: lingpy/lingpy
Commit Name: db8c78987fa2dbd7fabbb8f57775a2f500fe7612
Time: 2014-12-16
Author: xrotwang@googlemail.com
File Name: lingpy/algorithm/distance.py
Class Name:
Method Name: hamming