You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Get the parameter names for the search space.</p>
2194
2194
<p><strong>Returns:</strong>
2195
-
- <code>list</code>: List of parameter names</p>
2195
+
- <code>list[str] | None</code>: Parameter names. If <code>None</code>, any parameter keys are accepted.</p>
2196
+
<p>Notes:
2197
+
- When <code>paramnames()</code> returns a list, <code>params</code> passed to <code>evaluate/score</code> must be a subset of that list; otherwise a <code>ValueError</code> is raised.
2198
+
- <code>__call__(params)</code> is provided as shorthand for <code>score(params)</code> and returns only the score (float).
2199
+
- Score sign follows the tag <code>property:higher_or_lower_is_better</code>:
<p>Direct integration with scikit-learn optimization tools.</p>
2510
+
<p>Sklearn-style search; not thin wrappers over sklearn CV utilities. Evaluation is performed by a <code>SklearnCvExperiment</code> and parallelization by Hyperactive backends.</p>
2511
2511
<h3id="gridsearchsk">GridSearchSk</h3>
2512
-
<p>Direct sklearn GridSearchCV integration.</p>
2512
+
<p>Sklearn-style exhaustive grid evaluation (evaluation via <code>SklearnCvExperiment</code>).</p>
<p>Note: The specific acquisition function is handled internally by the Optuna sampler used by this adapter and is not user-configurable via this API. The following concepts are provided for background only.</p>
<p>Hyperactive provides scikit-learn–styled optimizers that use sklearn-style parameter grids and distributions while running through Hyperactive’s optimization and experiment abstractions. These are designed for users who prefer sklearn-like configuration but want to stay within the Hyperactive v5 architecture.</p>
1830
+
<p>Hyperactive provides sklearn-style search using <code>ParameterGrid</code> / <code>ParameterSampler</code>, with evaluation routed through Hyperactive experiments. This preserves familiar configuration while keeping the v5 architecture’s separation between search (optimizer) and evaluation (experiment).</p>
1831
1831
<p>Key characteristics:</p>
1832
1832
<ul>
1833
1833
<li>Sklearn-style search spaces via <code>ParameterGrid</code> / <code>ParameterSampler</code></li>
1834
1834
<li>Evaluation via a Hyperactive <code>Experiment</code> (typically <code>SklearnCvExperiment</code>)</li>
1835
-
<li>Parallelism via Hyperactive backends (<code>backend</code>, <code>backend_params</code>)</li>
1835
+
<li>Parallelism via optimizer backends (<code>backend</code>, <code>backend_params</code>)</li>
1836
1836
<li>Results exposed on the optimizer (<code>best_params_</code>, <code>best_score_</code>, etc.)</li>
1837
1837
</ul>
1838
+
<p>Note: These are not thin wrappers over <code>GridSearchCV</code> / <code>RandomizedSearchCV</code>. Cross‑validation is handled by the experiment (<code>SklearnCvExperiment</code>), and parallelization is controlled by Hyperactive’s backends.</p>
0 commit comments