module asv_benchmark.template.skl_model_classifier
#
Short summary#
module mlprodict.asv_benchmark.template.skl_model_classifier
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 |
---|---|
asv test for a classifier, Full template can be found in common_asv_skl.py. … |
Methods#
method |
truncated documentation |
---|---|
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.
- class mlprodict.asv_benchmark.template.skl_model_classifier.TemplateBenchmarkClassifier#
Bases:
mlprodict.asv_benchmark.common_asv_skl._CommonAsvSklBenchmarkClassifier
asv test for a classifier, Full template can be found in common_asv_skl.py.
- _create_model()#
- setup_cache()#
asv API