Method: Numo::Liblinear.load_model

Defined in:

.load_model(filename) ⇒ Array

Load the parameters and model from a text file with LIBLINEAR format.

Parameters:

  • filename (String)

    The path to a file to load.

Returns:

  • (Array)

    Array contains the parameters and model.

Raises:

  • (IOError)

    This error raises when failed to load the model file.