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

Implements evaluate #73

Merged
merged 28 commits into from Sep 15, 2021
Merged

Implements evaluate #73

merged 28 commits into from Sep 15, 2021

Conversation

dfalbel
Copy link
Member

@dfalbel dfalbel commented Aug 26, 2021

This PR has taken a small detour and we are now implementing checking for ctx assignments too.
The idea is to be able to simplify the fitted object so evaluate and predict can create their own new context that would never modify the fitted object by accident.

  • The context object is no longer retained after training: this allows us to keep the output much cleaner as well as having better control on what is accessible in the output.
  • The context object is now locked: it's harder to make strange assumptions regarding the context.
  • Context fields are now active fields and we provide checks for the most important ones.
  • We have implemented an evaluate function that allows evaluating a fitted model.

Copy link

@skeydan skeydan left a comment

Choose a reason for hiding this comment

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

Looks great to me! The evaluate() functionality is super useful.

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

2 participants