public class SigmoidNormalizer extends Object implements VectorNormalizer, Serializable
Constructor and Description |
---|
SigmoidNormalizer() |
Modifier and Type | Method and Description |
---|---|
double[] |
normalize(double[] input)
Normalizes the input array in some fashion specified by the class.
|
void |
normalizeInPlace(double[] input)
In place normalization of the array.
|
static double |
sigmoid(double input)
A logistic sigmoid function.
|
public static double sigmoid(double input)
input
- The input to sigmoid.public double[] normalize(double[] input)
VectorNormalizer
normalize
in interface VectorNormalizer
input
- The input to normalize.public void normalizeInPlace(double[] input)
VectorNormalizer
Note: This default implementation performs a copy by calling the standard normalize method.
normalizeInPlace
in interface VectorNormalizer
input
- The input to normalize.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.