You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 37 Next »

/**
 * Abstract class that defines the behavior of activation functions
 */
public abstract class Activation {
  ..
}
--


/**
 * User-defined sigmoid actiavation function
 */
public class Sigmoid extends Activation {

  @Override
  execute(double value) {
    ..
    return result;
  }

}

  main() {
    ANNJob ann = new ANNJob();
    ..
  }

  • No labels