All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hex.grid.ModelFactory Maven / Gradle / Ivy

package hex.grid;

import hex.Model;
import hex.ModelBuilder;

/** A model factory interface producing model builders of given
 * type.
 *
 * @param  model builder input parameter type
 */
public interface ModelFactory {

  /**
   * Returns model name produced by this factory.
   * @return model name
   */
  String getModelName();

  /**
   * Returns model builder building a model for given parameters.
   * @param params model parameters.
   * @return model builder for given parameters.
   */
  ModelBuilder buildModel(MP params);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy