org.apache.ignite.ml.util

## Class ModelTrace

- java.lang.Object
- - org.apache.ignite.ml.util.ModelTrace

-     public class ModelTrace
      extends Object

  Helper for model tracing.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ModelTrace` | `addField(String name, List values)` Add field.
    `ModelTrace` | `addField(String name, String val)` Add field.
    `static ModelTrace` | `builder(String mdlName)` Creates an instance of ModelTrace.
    `static ModelTrace` | `builder(String mdlName, boolean pretty)` Creates an instance of ModelTrace.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### builder

          public static ModelTrace builder(String mdlName,
                                           boolean pretty)

      Creates an instance of ModelTrace.
      Parameters:
        `mdlName` - Model name.
        `pretty` - Pretty.

    - #### builder

          public static ModelTrace builder(String mdlName)

      Creates an instance of ModelTrace.
      Parameters:
        `mdlName` - Model name.

    - #### addField

          public ModelTrace addField(String name,
                                     String val)

      Add field.
      Parameters:
        `name` - Name.
        `val` - Value.

    - #### addField

          public ModelTrace addField(String name,
                                     List values)

      Add field.
      Parameters:
        `name` - Name.
        `values` - Values.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.11.0
Release Date | : September 11 2021