-
Notifications
You must be signed in to change notification settings - Fork 46
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 additional Model
convenience methods
#119
Conversation
da121af
to
dd7901f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should discuss the name of pipeline
and what other convenience methods we can add. Maybe we want to call it pipeline_steps
for example.
e29fe76
to
99bb368
Compare
✅ Deploy Preview for neo4j-graph-data-science-client canceled.
|
8a84268
to
d17b752
Compare
b759655
to
02cce4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Some smaller remarks only ;)
|
||
|
||
@dataclass(repr=True) | ||
class EvaluationScores(Dict[str, float]): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really hope we keep this format on the server side in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you consider to align the naming between server and client? On the server this is ModelStats
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it's too risky to replicate this client-side? I figured that this metric triple would remain stable, but yes it is a bit of a bet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kinda prefer EvaluationScores
to ModelStats
so maybe a refactoring server-side would be my preference. What do you think?
It's not part of the API, I believe. It's an anonymous map/dict in a list mapped to some metric name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also like EvaluationScores
more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its not part of the external API but for our team it would be better to use the same names IMO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will push a commit to master
02cce4a
to
bbab08e
Compare
Co-Authored-By: Florentin Dörre <florentin.dorre@neotechnology.com>
Co-authored-by: Adam Schill Collberg <adam.schill.collberg@protonmail.com>
Co-authored-by: Adam Schill Collberg <adam.schill.collberg@protonmail.com>
Co-authored-by: Adam Schill Collberg <adam.schill.collberg@protonmail.com>
This now returns a custom dataclass object for easier development. Co-authored-by: Adam Schill Collberg <adam.schill.collberg@protonmail.com>
To avoid breaking the API Co-authored-by: Adam Schill Collberg <adam.schill.collberg@protonmail.com>
Co-authored-by: Adam Schill Collberg <adam.schill.collberg@protonmail.com>
Co-authored-by: Adam Schill Collberg <adam.schill.collberg@protonmail.com>
- feature_properties - link_features - node_property_steps Also make TrainingPipeline generic in its produced model type. Co-authored-by: Adam Schill Collberg <adam.schill.collberg@protonmail.com>
It was abstract with a single inheritor Co-authored-by: Adam Schill Collberg <adam.schill.collberg@protonmail.com>
bbab08e
to
3ab4a03
Compare
Co-authored-by: Florentin Dörre <florentin@owitsch.de>
Co-authored-by: Florentin Dörre <florentin.dorre@neotechnology.com>
This is checked/not checked dependening on the version of Python/mypy
No description provided.