:py:mod:`abacusai.model_metrics`
================================

.. py:module:: abacusai.model_metrics


Module Contents
---------------

Classes
~~~~~~~

.. autoapisummary::

   abacusai.model_metrics.ModelMetrics




.. py:class:: ModelMetrics(client, modelId=None, modelVersion=None, metrics=None, baselineMetrics=None, targetColumn=None, trainValTestSplit=None, infoLogs=None)

   Bases: :py:obj:`abacusai.return_class.AbstractApiClass`

   Metrics of the trained model.

   :param client: An authenticated API Client instance
   :type client: ApiClient
   :param modelId: The Model
   :type modelId: str
   :param modelVersion: The Model Version
   :type modelVersion: str
   :param metrics: Key/value pairs of metrics and their values
   :type metrics: dict
   :param baselineMetrics: Key/value pairs of the baseline model metrics and their values
   :type baselineMetrics: dict
   :param targetColumn: The target column the model is predicting
   :type targetColumn: str
   :param trainValTestSplit: Info on train, val and test split
   :type trainValTestSplit: dict
   :param infoLogs: Model training logs
   :type infoLogs: list

   .. py:method:: __repr__()

      Return repr(self).


   .. py:method:: to_dict()

      Get a dict representation of the parameters in this class

      :returns: The dict value representation of the class parameters
      :rtype: dict



