skpro.workflow package¶
Subpackages¶
Submodules¶
skpro.workflow.base module¶
-
class
skpro.workflow.base.
Controller
[source]¶ Bases:
object
Controller base class
Notes
Must implement an identifier and run function
skpro.workflow.cross_validation module¶
-
class
skpro.workflow.cross_validation.
CrossValidationController
(data, loss_func, cv=None, tune=False, optimizer=None)[source]¶ Bases:
skpro.workflow.base.Controller
CrossValidation controller
Parameters: - data –
- loss_func –
- cv –
- tune –
- optimizer (optional callable(model, search_space, scoring, cv), default=None) – Callable that returns an optimizer such as RandomizedSearchCV etc. that will be used for the hyperparameter search.
-
class
skpro.workflow.cross_validation.
CrossValidationView
(with_tuning=False, with_ranks=True)[source]¶ Bases:
skpro.workflow.base.View
Cross validation view
Parameters: - with_tuning –
- with_ranks –
skpro.workflow.utils module¶
-
class
skpro.workflow.utils.
InfoView
(key='description', with_group=False)[source]¶ Bases:
skpro.workflow.base.View
-
class
skpro.workflow.utils.
ItemView
(key)[source]¶ Bases:
skpro.workflow.base.View
Item view
-
class
skpro.workflow.utils.
RawView
[source]¶ Bases:
skpro.workflow.base.View
Raw view