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

hex.Transformer Maven / Gradle / Ivy

There is a newer version: 3.8.2.9
Show newest version
package hex;

import water.Iced;
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 Iced {
  public final Job _job;

  public Transformer(Key dest, String clz_of_T, String desc) { _job = new Job(dest, clz_of_T, desc); }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy