"Adapted from http://www.sktime.net/en/latest/api_reference/auto_generated/sktime.transformations.panel.rocket.Rocket.html#sktime.transformations.panel.rocket.Rocketperformance "
"Here we use `RocketClassifier` that combines `Rocket` as a transformer and `RidgeClassifierCV` for the classification based on the transformed features (http://www.sktime.net/en/latest/api_reference/auto_generated/sktime.classification.kernel_based.RocketClassifier.html)."
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "b23b1bbb",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_79313/724194369.py:19: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.\n",
"- Evaluate the effect of the number of kernels (`num_kernels` in [10,100,1000,10000]) on the classification accuracy (train and test). More kernels correspond to more resources (projection of data in higher dimension). Note that more kernels mean longer computation time...\n",
"- Try other datasets, cf. https://www.timeseriesclassification.com/dataset.php.\n",
"- Try other classifiers, cf. http://www.sktime.net/en/latest/api_reference/classification.html.\n",
"\n",
"For example, the CNN relies on kernels that are trained to extract information from the time series. For the CNN, the number and size of kernels (xxx) are resources for the optimization, like `num_kernels` for `RocketClassifier`. You can thus compare the accuracy of `CNNClassifier` and `RocketClassifier`, as well as the speed for training."
Adapted from http://www.sktime.net/en/latest/api_reference/auto_generated/sktime.transformations.panel.rocket.Rocket.html#sktime.transformations.panel.rocket.Rocketperformance
Here we use `RocketClassifier` that combines `Rocket` as a transformer and `RidgeClassifierCV` for the classification based on the transformed features (http://www.sktime.net/en/latest/api_reference/auto_generated/sktime.classification.kernel_based.RocketClassifier.html).
/tmp/ipykernel_79313/724194369.py:19: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
- Evaluate the effect of the number of kernels (`num_kernels` in [10,100,1000,10000]) on the classification accuracy (train and test). More kernels correspond to more resources (projection of data in higher dimension). Note that more kernels mean longer computation time...
- Try other datasets, cf. https://www.timeseriesclassification.com/dataset.php.
- Try other classifiers, cf. http://www.sktime.net/en/latest/api_reference/classification.html.
For example, the CNN relies on kernels that are trained to extract information from the time series. For the CNN, the number and size of kernels (xxx) are resources for the optimization, like `num_kernels` for `RocketClassifier`. You can thus compare the accuracy of `CNNClassifier` and `RocketClassifier`, as well as the speed for training.