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

hex.Transformer Maven / Gradle / Ivy

package hex;

import water.Job;
import water.Key;
import water.Keyed;

/**
 * Representation of transformation from type X to Y.
 *
 * Experimental API (to support nice Java/Scala API) and share common code with ModelBuilder.
 */
abstract public class Transformer extends Job {

  public Transformer(Key dest, String desc) { super(dest, desc); }

  /** Execution endpoint for transformations. */
  public > X exec() {
    return execImpl();
  }

  /** Implementation endpoint for transformations. */
  protected abstract > X execImpl();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy