Serialized Form
-
Package io.bhagat.ai.supervised
-
Class io.bhagat.ai.supervised.DataSet extends java.util.ArrayList<DataPoint> implements Serializable
- serialVersionUID:
- -165470935915737585L
-
Class io.bhagat.ai.supervised.NeuralNetwork extends java.lang.Object implements Serializable
- serialVersionUID:
- 140349252948361896L
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
-
Serialized Fields
-
activationFunction
SerializableFunction<java.lang.Double,java.lang.Double> activationFunction
the activation function -
bias
Matrix[] bias
the bias for each layer -
learingRate
double learingRate
the learning rate -
numOfInputs
int numOfInputs
the number of inputs -
numOfOutputs
int numOfOutputs
the number of outputs -
numsOfHiddens
int[] numsOfHiddens
the number of hidden nodes in each hidden layer -
shape
int[] shape
an array defining the shape of the network -
weights
Matrix[] weights
the weights for each layer
-
-
-
Package io.bhagat.ai.unsupervised
-
Class io.bhagat.ai.unsupervised.KMeans extends java.lang.Object implements Serializable
- serialVersionUID:
- 6680228612577440517L
-
Serialized Fields
-
clusters
Vector[] clusters
-
iterations
int iterations
the number of iterations to run the algorithm -
k
int k
the number of clusters to find
-
-
Class io.bhagat.ai.unsupervised.PrincipalComponentAnalysis extends java.lang.Object implements Serializable
- serialVersionUID:
- -9142869462576885711L
-
Serialized Fields
-
-
Package io.bhagat.math
-
Class io.bhagat.math.SerializableFunction extends Function<E,T> implements Serializable
- serialVersionUID:
- -6470164062572640038L
-
-
Package io.bhagat.math.linearalgebra
-
Class io.bhagat.math.linearalgebra.Matrix extends java.lang.Object implements Serializable
- serialVersionUID:
- -2338642716375039134L
-
Serialized Fields
-
columns
int columns
the number of columns in the matrix; -
data
double[][] data
a 2D double array storing to internal data of the Matrix -
rows
int rows
the number of rows in the matrix;
-
-
Class io.bhagat.math.linearalgebra.Matrix.IndexNotInMatrixException extends java.lang.RuntimeException implements Serializable
- serialVersionUID:
- 3791970450162818362L
-
Class io.bhagat.math.linearalgebra.Matrix.InvalidShapeException extends java.lang.RuntimeException implements Serializable
- serialVersionUID:
- -2816000331326375159L
-
Class io.bhagat.math.linearalgebra.Matrix.OuterProductSVD extends java.lang.Object implements Serializable
- serialVersionUID:
- 820930237908595734L
-
Class io.bhagat.math.linearalgebra.Vector extends java.lang.Object implements Serializable
- serialVersionUID:
- 2667761682263393533L
-
Serialized Fields
-
data
double[] data
the array storing the data of the vector -
size
int size
the length of the stored data
-
-
Class io.bhagat.math.linearalgebra.Vector.InvalidLengthException extends java.lang.RuntimeException implements Serializable
- serialVersionUID:
- 5801480752473538001L
-
Class io.bhagat.math.linearalgebra.Vector.OutOfDimensionsException extends java.lang.RuntimeException implements Serializable
- serialVersionUID:
- -8587068956721809878L
-
-
Package io.bhagat.math.statistics
-
Class io.bhagat.math.statistics.Distribution.InvalidInputException extends java.lang.RuntimeException implements Serializable
- serialVersionUID:
- 4357416092128140927L
-
Class io.bhagat.math.statistics.QuantitativeDataList extends java.util.ArrayList<java.lang.Double> implements Serializable
- serialVersionUID:
- 1229037288513585530L
-
-
Package io.bhagat.util
-
Class io.bhagat.util.ArrayUtil.InvalidSizeException extends java.lang.RuntimeException implements Serializable
- serialVersionUID:
- 2509329868857094933L
-