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

Add an example to create a custom converter for a NMF transformer #167

Merged
merged 30 commits into from Jun 12, 2019
Merged

Add an example to create a custom converter for a NMF transformer #167

merged 30 commits into from Jun 12, 2019

Conversation

xadupre
Copy link
Collaborator

@xadupre xadupre commented Jun 6, 2019

No description provided.

sdpython and others added 26 commits April 25, 2019 01:51
docs/api_summary.rst Outdated Show resolved Hide resolved
docs/api_summary.rst Outdated Show resolved Hide resolved
docs/api_summary.rst Outdated Show resolved Hide resolved
:math:`M=(m_{ij})` may be a binary matrix where *i* is a user
and *j* a product he bought. The prediction
function depends on whether or not the user needs an
recommandation for an existing user or a new user.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo here: "a recommendation"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"recommandation" typo still there.

docs/examples/plot_nmf.py Outdated Show resolved Hide resolved
skl2onnx/algebra/type_helper.py Show resolved Hide resolved
from sklearn.decomposition import NMF
import numpy as np
import matplotlib.pyplot as plt
import os
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a standard library import and should be placed before third-party imports. Sadly flake8 doesn't catch it, but you can run pylint locally on your code to see these violations.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the change: import os should be at the very top.

Copy link
Contributor

@prabhat00155 prabhat00155 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve the two remaining comments before merging.

:math:`M=(m_{ij})` may be a binary matrix where *i* is a user
and *j* a product he bought. The prediction
function depends on whether or not the user needs an
recommandation for an existing user or a new user.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"recommandation" typo still there.

from sklearn.decomposition import NMF
import numpy as np
import matplotlib.pyplot as plt
import os
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the change: import os should be at the very top.

@xadupre xadupre merged commit bf5311a into onnx:master Jun 12, 2019
@xadupre xadupre deleted the nmf branch September 30, 2019 14:42
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

Successfully merging this pull request may close these issues.

None yet

3 participants