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

com.expleague.ml.models.nn.Identity Maven / Gradle / Ivy

There is a newer version: 1.4.9
Show newest version
package com.expleague.ml.models.nn;

import com.expleague.commons.math.AnalyticFunc;

public class Identity extends AnalyticFunc.Stub {
  @Override
  public double value(double x) {
    return x;
  }

  @Override
  public double gradient(double x) {
    return 1.;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy