You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "test.py", line 14, in
model.predict_label(dateset)
File "/Users/yuan.jin/Desktop/gbdt_test/GBDT/gbdt/model.py", line 313, in predict_label
probs = self.predict_prob(instance)
File "/Users/yuan.jin/Desktop/gbdt_test/GBDT/gbdt/model.py", line 293, in predict_prob
f_value = self.compute_instance_f_value(instance)
File "/Users/yuan.jin/Desktop/gbdt_test/GBDT/gbdt/model.py", line 269, in compute_instance_f_value
f_value += self.learn_rate * iter.get_predict_value(instance)
File "/Users/yuan.jin/Desktop/gbdt_test/GBDT/gbdt/tree.py", line 24, in get_predict_value
elif not self.real_value_feature and instance[self.split_feature] == self.conditionValue:
TypeError: 'DataSet' object is not subscriptable
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "test.py", line 14, in
model.predict_label(dateset)
File "/Users/yuan.jin/Desktop/gbdt_test/GBDT/gbdt/model.py", line 313, in predict_label
probs = self.predict_prob(instance)
File "/Users/yuan.jin/Desktop/gbdt_test/GBDT/gbdt/model.py", line 293, in predict_prob
f_value = self.compute_instance_f_value(instance)
File "/Users/yuan.jin/Desktop/gbdt_test/GBDT/gbdt/model.py", line 269, in compute_instance_f_value
f_value += self.learn_rate * iter.get_predict_value(instance)
File "/Users/yuan.jin/Desktop/gbdt_test/GBDT/gbdt/tree.py", line 24, in get_predict_value
elif not self.real_value_feature and instance[self.split_feature] == self.conditionValue:
TypeError: 'DataSet' object is not subscriptable
The text was updated successfully, but these errors were encountered: