.. _f-gridbenchmark: module ``benchhelper.grid_benchmark`` ===================================== .. inheritance-diagram:: pyquickhelper.benchhelper.grid_benchmark Short summary +++++++++++++ module ``pyquickhelper.benchhelper.grid_benchmark`` Grid benchmark. :githublink:`%|py|6` Classes +++++++ +---------------------------------------------------------------------------------+-----------------------------------------------+ | class | truncated documentation | +=================================================================================+===============================================+ | :class:`GridBenchMark ` | Compares a couple of machine learning models. | +---------------------------------------------------------------------------------+-----------------------------------------------+ Properties ++++++++++ +------------------------------------------------------------------------------------+------------------------------------+ | property | truncated documentation | +====================================================================================+====================================+ | :meth:`Appendix ` | Returns the metrics. | +------------------------------------------------------------------------------------+------------------------------------+ | :meth:`Graphs ` | Returns images of graphs. | +------------------------------------------------------------------------------------+------------------------------------+ | :meth:`Metadata ` | Returns the metrics. | +------------------------------------------------------------------------------------+------------------------------------+ | :meth:`Metrics ` | Returns the metrics. | +------------------------------------------------------------------------------------+------------------------------------+ | :meth:`Name ` | Returns the name of the benchmark. | +------------------------------------------------------------------------------------+------------------------------------+ Methods +++++++ +--------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------+ | method | truncated documentation | +====================================================================================================================+==========================================================================+ | :py:meth:`__init__ ` | | +--------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------+ | :meth:`bench ` | Runs an experiment multiple times, parameter *di* is the dataset to use. | +--------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------+ | :meth:`bench_experiment ` | function to overload | +--------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------+ | :meth:`init ` | Skips it. | +--------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------+ | :meth:`init_main ` | initialisation | +--------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------+ | :meth:`predict_score_experiment ` | function to overload | +--------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------+ | :meth:`preprocess_dataset ` | Splits the dataset into train and test. | +--------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------+ | :meth:`run ` | Runs the benchmark. | +--------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyquickhelper.benchhelper.grid_benchmark :members: :special-members: __init__ :show-inheritance: