public class RegularizationFactor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
REG_HINTON |
static int |
REG_LINK |
static int |
REG_NEURON
The supported types of regularization.
|
static int |
REG_RUMELHART |
Constructor and Description |
---|
RegularizationFactor(int type)
Constructs regularization of a given type.
|
public static final int REG_NEURON
public static final int REG_LINK
public static final int REG_HINTON
public static final int REG_RUMELHART
public RegularizationFactor(int type)
type
- the typepublic double getWeight()
public void setWeight(double weight)
weight
- a weightpublic double getValue(NeuralNet net)
net
- a network