module asv_benchmark.template.skl_model_transform#

Inheritance diagram of mlprodict.asv_benchmark.template.skl_model_transform

Short summary#

module mlprodict.asv_benchmark.template.skl_model_transform

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

TemplateBenchmarkTransform

asv example for a transform, 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_transform.TemplateBenchmarkTransform#

Bases: _CommonAsvSklBenchmarkTransform

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

source on GitHub

_create_model()#
setup_cache()#

asv API