-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced hand-chosen regressors with completely arbitrary ones
Instead of having the `--regressor` option take one of a few hand-chosen values, it now takes the name of _any arbitrary regressor object_, such as the default, `--regressor sklearn.linear_model.LassoLarsIC`. This requires a little more user-knowledge, but opens a world of possibilities. This is accomplished through the new `plotypus.utils.import_name` function, which imports an object from its full name and returns it, without affecting the enclosing namespace.
- Loading branch information
Showing
2 changed files
with
57 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters