Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't work on predict statement #4

Open
eladmw opened this issue Aug 18, 2020 · 2 comments
Open

Won't work on predict statement #4

eladmw opened this issue Aug 18, 2020 · 2 comments

Comments

@eladmw
Copy link

eladmw commented Aug 18, 2020


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
Copy link
Author

eladmw commented Aug 18, 2020

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.

@closest-git
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants