We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When implementing a new class, we use post_init to handle initialization logic. However, we must not call parent class methods.
def __post_init__(self, db, artifacts): super().__post_init__(db, artifacts)
This is unnecessary for overriding a new class.
We can remove the initialization of post_init in the ext module and use the init function instead.
Ultimately, we only need to implement three methods:
• init (optional) • predict_one • predict
Additionally, we can use init for lazy loading, performing initialization only during actual function calls.
The text was updated successfully, but these errors were encountered:
db.load
Agreed.
Sorry, something went wrong.
No branches or pull requests
When implementing a new class, we use post_init to handle initialization logic. However, we must not call parent class methods.
This is unnecessary for overriding a new class.
We can remove the initialization of post_init in the ext module and use the init function instead.
Ultimately, we only need to implement three methods:
Additionally, we can use init for lazy loading, performing initialization only during actual function calls.
The text was updated successfully, but these errors were encountered: