Interface MLReadable<T>

Type Parameters:
T - ML instance type
All Known Subinterfaces:
DefaultParamsReadable<T>

public interface MLReadable<T>
Trait for objects that provide MLReader.

  • Method Summary

    Modifier and Type
    Method
    Description
    load(String path)
    Reads an ML instance from the input path, a shortcut of read.load(path).
    Returns an MLReader instance for this class.
  • Method Details

    • load

      T load(String path)
      Reads an ML instance from the input path, a shortcut of read.load(path).

      Parameters:
      path - (undocumented)
      Returns:
      (undocumented)
      Note:
      Implementing classes should override this to be Java-friendly.
    • read

      MLReader<T> read()
      Returns an MLReader instance for this class.
      Returns:
      (undocumented)