|
1620 | 1620 |
|
1621 | 1621 |
|
1622 | 1622 |
|
| 1623 | + |
| 1624 | + |
1623 | 1625 |
|
1624 | 1626 |
|
1625 | 1627 |
|
|
1709 | 1711 |
|
1710 | 1712 |
|
1711 | 1713 |
|
| 1714 | + <li class="md-nav__item"> |
| 1715 | + <a href="../../experiments/integrations/sktime_classification/" class="md-nav__link"> |
| 1716 | + |
| 1717 | + |
| 1718 | + <span class="md-ellipsis"> |
| 1719 | + Sktime Classification |
| 1720 | + </span> |
| 1721 | + |
| 1722 | + |
| 1723 | + </a> |
| 1724 | + </li> |
| 1725 | + |
| 1726 | + |
| 1727 | + |
| 1728 | + |
| 1729 | + |
| 1730 | + |
| 1731 | + |
| 1732 | + |
| 1733 | + |
| 1734 | + |
1712 | 1735 | <li class="md-nav__item"> |
1713 | 1736 | <a href="../../experiments/integrations/sktime_forecasting/" class="md-nav__link"> |
1714 | 1737 |
|
@@ -2071,11 +2094,12 @@ <h3 id="sklearncvexperiment">SklearnCvExperiment</h3> |
2071 | 2094 | <p>Cross-validation based hyperparameter optimization for scikit-learn estimators.</p> |
2072 | 2095 | <p><strong>Parameters:</strong> |
2073 | 2096 | - <strong>estimator</strong>: Scikit-learn estimator to optimize |
2074 | | -- <strong>param_grid</strong>: Dictionary defining the search space |
2075 | | -- <strong>X, y</strong>: Training data |
2076 | | -- <strong>cv</strong>: Cross-validation strategy (int or CV object) |
2077 | | -- <strong>scoring</strong>: Scoring function or string |
2078 | | -- <strong>n_jobs</strong>: Number of parallel jobs for cross-validation</p> |
| 2097 | +- <strong>X, y</strong>: Training data arrays |
| 2098 | +- <strong>cv</strong>: Cross-validation strategy (int or CV object). If <code>None</code>, defaults to <code>KFold(n_splits=3, shuffle=True)</code>. |
| 2099 | +- <strong>scoring</strong>: Scoring function or string. If <code>None</code>, uses the estimator’s default <code>score</code>.</p> |
| 2100 | +<p>Notes: |
| 2101 | +- Parallelization is controlled by the optimizer via <code>backend</code> and <code>backend_params</code> (e.g., <code>GridSearchSk</code>, <code>RandomSearchSk</code>), not by <code>SklearnCvExperiment</code>. |
| 2102 | +- Define your search space (e.g., grids, distributions) on the optimizer; the experiment only encapsulates data, estimator, CV, and scoring.</p> |
2079 | 2103 | <h3 id="optcv-scikit-learn-compatible-optimizer">OptCV - Scikit-learn Compatible Optimizer</h3> |
2080 | 2104 | <p>For users who prefer the familiar scikit-learn interface, <code>OptCV</code> provides a drop-in replacement for <code>GridSearchCV</code> and <code>RandomizedSearchCV</code>.</p> |
2081 | 2105 | <p><strong>Key Features:</strong> |
@@ -2107,7 +2131,7 @@ <h3 id="performance-optimization">Performance Optimization</h3> |
2107 | 2131 | <ol> |
2108 | 2132 | <li><strong>Caching</strong>: Cache expensive computations when possible</li> |
2109 | 2133 | <li><strong>Early stopping</strong>: Return early for obviously poor parameters</li> |
2110 | | -<li><strong>Parallel evaluation</strong>: Use n_jobs for cross-validation</li> |
| 2134 | +<li><strong>Parallel evaluation</strong>: Use optimizer <code>backend</code>/<code>backend_params</code> for CV parallelization</li> |
2111 | 2135 | <li><strong>Memory management</strong>: Clean up resources in long-running experiments</li> |
2112 | 2136 | </ol> |
2113 | 2137 | <h3 id="integration-guidelines">Integration Guidelines</h3> |
|
0 commit comments