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

com.expleague.ml.methods.Optimization Maven / Gradle / Ivy

package com.expleague.ml.methods;

import com.expleague.commons.math.vectors.Vec;
import com.expleague.ml.TargetFunc;
import com.expleague.ml.data.set.DataSet;

import java.util.function.Function;

/**
 * User: solar
 * Date: 21.12.2010
 * Time: 22:14:38
 */
public interface Optimization, DSItem> {
  /**
   * @param learn X part of data set
   * @param loss is function of solution function results on each point of data set, loss.xdim() == solution.value(learn).xdim() * f.xdim()
   * @return function f = \arg \min_f Loss((f(learn_i))_1^m)
   */
  Function fit(DSType learn, Loss loss);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy