![JAR search and dependency download from the Maven repository](/logo.png)
edu.berkeley.nlp.math.Regularizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of berkeleyparser Show documentation
Show all versions of berkeleyparser Show documentation
The Berkeley parser analyzes the grammatical structure of natural language using probabilistic context-free grammars (PCFGs).
The newest version!
package edu.berkeley.nlp.math;
/**
* User: aria42
* Date: Mar 10, 2009
*/
public interface Regularizer {
/**
* Return Regularizer value and in-place grad update scaled
* by constant c
* @param weights
* @param grad
* @return
*/
public double update(double[] weights, double[] grad, double c);
public double val(double[] weights, double c);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy