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

org.nd4j.linalg.solvers.api.LineOptimizerMatrix Maven / Gradle / Ivy

There is a newer version: 1.0.0-M2.1
Show newest version
package org.nd4j.linalg.solvers.api;

import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.solvers.exception.InvalidStepException;

/**
 * Line optimizer interface adapted from mallet
 * @author Adam Gibson
 *
 */
public interface LineOptimizerMatrix {
	/** Returns the last step size used. */
	public double optimize (INDArray line, int iteration, double initialStep) throws InvalidStepException;

	public interface ByGradient	{
		/** Returns the last step size used. */
		public double optimize (INDArray line, int iteration, double initialStep) throws InvalidStepException;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy