module asv_benchmark.template.skl_model_clustering#

Inheritance diagram of mlprodict.asv_benchmark.template.skl_model_clustering

Short summary#

module mlprodict.asv_benchmark.template.skl_model_clustering

A template to benchmark a model with asv. The benchmark can be run through file run_asv.sh on Linux or run_asv.bat on Windows.

Classes#

class

truncated documentation

TemplateBenchmarkClustering

asv example for a clustering algorithm, Full template can be found in common_asv_skl.py. …

Methods#

method

truncated documentation

_create_model

setup_cache

Documentation#

A template to benchmark a model with asv. The benchmark can be run through file run_asv.sh on Linux or run_asv.bat on Windows.

Warning

On Windows, you should avoid cloning the repository on a folder with a long full name. Visual Studio tends to abide by the rule of the maximum path length even though the system is told otherwise.

source on GitHub

class mlprodict.asv_benchmark.template.skl_model_clustering.TemplateBenchmarkClustering#

Bases: _CommonAsvSklBenchmarkClustering

asv example for a clustering algorithm, Full template can be found in common_asv_skl.py.

source on GitHub

_create_model()#
setup_cache()#

asv API