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 bool in model indicating whether it is trained #1191

Open
benjamc opened this issue Jan 13, 2025 · 0 comments
Open

Add bool in model indicating whether it is trained #1191

benjamc opened this issue Jan 13, 2025 · 0 comments
Milestone

Comments

@benjamc
Copy link
Collaborator

benjamc commented Jan 13, 2025

is_not_trained = isinstance(self._model, GaussianProcess) and not self._model._is_trained \ or isinstance(self._model, RandomForest) and self._rf is None

@benjamc benjamc added this to the v2.4 milestone Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant