-
Notifications
You must be signed in to change notification settings - Fork 51
Request for project inclusion: Helstrom Quantum Centroid Classifier #44
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
Comments
Looks like a descent one to me :) |
Thank you @adrinjalali for reviewing this and for the thumbs up! |
Great package. I would use all package names, file names and variable names in snake_lower case. |
Couldn't we use a |
Thanks for the upvote @chkoar. We will get back to you on the two feedback you have raised soon, as we are also in the process of updating the package with some new features. |
Any update on this? |
Hey guys, sorry I have been caught up with a few too many things the last couple of weeks. I will get this completed by the end of this week. My upmost sincere apologies for the delay. |
Hi @chkoar, the package have now been updated:
Thank you and looking forward to your response. |
Hey @leockl ,
|
Hi @chkoar, yes for now the classifier can only cope with binary problems only. I have already included this warning in the 1st paragraph in the README.md file and in the 1st paragraph in the documentation. The estimator tag is also already included in the source code here. Are these enough? Otherwise, I can include a few more lines of code to produce a warning when there are more than 2 classes. I will update Many thanks. |
Hi @chkoar, could you please provide your updated feedback on the estimators tags that you have mentioned above? |
Hi @chkoar, I have updated the package with your previous two suggestions:
I haven't heard back from you in awhile and I haven't heard back from you about the estimator tag that I have mentioned above if it's good enough. Could you please have a look and complete this. This package has been sitting here for quite awhile now. Many thanks in advance! |
Hey @leockl,
I had the impression that the
IINM as a user I would expect as many probas (from if len(self.classes_) > 2:
raise ValueError('Only 2 classes are supported') Apart from this, I would add test cases for the HQC learnt attributes. For instance check the centroid's values on a known problem or something like this. Also, it seems to me that ping @rth @glemaitre @adrinjalali |
Hi @chkoar, Many thanks for your response. I will update all the suggested requests. With the request on adding test cases for the HQC learnt attributes, do you have any examples or guidelines on how this is done? |
Hi @chkoar, My sincerely apologies for the delay on my reply. I have now updated the package with your suggestions:
Please review. Many thanks in advance. |
Hi @chkoar, could I please get an update on this? Many thanks. |
@leockl sorry for the delayed reply. Below, I list some minors (probably) since I cannot open issues in your fork.
Apart of that, as @adrinjalali said, looks like a decent one. @rth @glemaitre could this estimator be part of scikit-learn-extra repo? In any case it would be nice if any other folk could review this package. |
Hi @chkoar, Need to clarify a few points with you:
Could I confirm if you require anymore changes @chkoar? @rth @glemaitre Please let us know if you have any feedback? If not I would hope this would be the final changes that is required. Please let me know. Many thanks in advance! |
Among others, the underscore variable it's a convention for a "throwaway" variable. A variable that won't be used next. Common use cases are iterations and the unpackings. alist = ["one", "two", "three"]
for index, _ in enumerate(alist):
print(index) |
Hi @chkoar, Many thanks for the above. I have now updated the code according to your change requests:
Done.
Done.
This is correct and it's part of the algorithm when
Done.
This was an error on my part. I have also updated the code from using Please find the updated code here: I haven't uploaded the updated code into pip to release a new version yet. Would be great for you to approve all final changes first, as it takes time to keep releasing a new version every time new changes are requested. I hope you could understand. Many thanks once again Christos. |
Uh oh!
There was an error while loading. Please reload this page.
Request for project inclusion in scikit-learn-contrib
The text was updated successfully, but these errors were encountered: