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

hex.genmodel.algos.psvm.ScorerFactory Maven / Gradle / Ivy

There is a newer version: 3.46.0.6
Show newest version
package hex.genmodel.algos.psvm;

public class ScorerFactory {

  public static SupportVectorScorer makeScorer(KernelType kt, KernelParameters parms, byte[] svs) {
    switch (kt) {
      case gaussian:
        return new GaussianScorer(parms, svs);
      default:
        throw new UnsupportedOperationException("Scoring for kernel " + kt + " is not yet implemented");
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy