QuantumForest icon indicating copy to clipboard operation
QuantumForest copied to clipboard

Won't work on predict statement

Open eladmw opened this issue 3 years ago • 2 comments


AttributeError Traceback (most recent call last) in ----> 1 learner.predict(ze.values)

/kaggle/input/quantumforest1/python-package/quantum_forest/QForest_Net.py in predict(self, X_, pred_leaf, pred_contrib, raw_score, num_iteration, flag) 426 The predicted values. 427 """ --> 428 self.profile.Snapshot("PRED_0") 429 # print("====== LiteMORT_predict X_={} ......".format(X_.shape)) 430 Y_ = self.predict_raw(X_,pred_leaf, pred_contrib,raw_score,flag=flag)

AttributeError: 'QuantumForest' object has no attribute 'profile'

eladmw avatar Aug 18 '20 23:08 eladmw

I am probably going to fork and change the one line to be able to use your module. If you have a problem with that please explain why.

eladmw avatar Aug 18 '20 23:08 eladmw

I'm busy in trying many new algorithms. QuantumForest is still at alpha stage. If you want to try it in Kaggle competition, please send the notebook url to me. I will fix it in this weekend.

closest-git avatar Aug 19 '20 11:08 closest-git