Constructor and Description |
---|
NeuralPredictor() |
Modifier and Type | Method and Description |
---|---|
void |
deserialize(java.lang.String fileName)
Deserialize one file into a network.
|
static void |
main(java.lang.String[] args) |
double |
predict(MLData data)
Predict one data with the current network.
|
void |
serialize(java.lang.String fileName)
Serialize the current network into file.
|
void |
train(java.lang.String fileName)
Use input file to train the neural network.
|
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void serialize(java.lang.String fileName) throws java.io.IOException
public void deserialize(java.lang.String fileName) throws java.io.IOException, java.lang.ClassNotFoundException
deserialize
in interface Predictor
java.io.IOException
java.lang.ClassNotFoundException
public double predict(MLData data)