Modifier and Type | Method and Description |
---|---|
MultiLayerNetwork |
LocalFileModelSaver.getBestModel() |
MultiLayerNetwork |
LocalFileModelSaver.getLatestModel() |
Modifier and Type | Method and Description |
---|---|
void |
LocalFileModelSaver.saveBestModel(MultiLayerNetwork net,
double score) |
void |
LocalFileModelSaver.saveLatestModel(MultiLayerNetwork net,
double score) |
Modifier and Type | Method and Description |
---|---|
double |
DataSetLossCalculator.calculateScore(MultiLayerNetwork network) |
Constructor and Description |
---|
EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> esConfig,
MultiLayerNetwork net,
org.nd4j.linalg.dataset.api.iterator.DataSetIterator train) |
EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> esConfig,
MultiLayerNetwork net,
org.nd4j.linalg.dataset.api.iterator.DataSetIterator train,
EarlyStoppingListener<MultiLayerNetwork> listener) |
Constructor and Description |
---|
EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> earlyStoppingConfiguration,
MultiLayerConfiguration configuration,
org.nd4j.linalg.dataset.api.iterator.DataSetIterator train) |
EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> esConfig,
MultiLayerNetwork net,
org.nd4j.linalg.dataset.api.iterator.DataSetIterator train) |
EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> esConfig,
MultiLayerNetwork net,
org.nd4j.linalg.dataset.api.iterator.DataSetIterator train,
EarlyStoppingListener<MultiLayerNetwork> listener) |
EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> esConfig,
MultiLayerNetwork net,
org.nd4j.linalg.dataset.api.iterator.DataSetIterator train,
EarlyStoppingListener<MultiLayerNetwork> listener) |
Modifier and Type | Method and Description |
---|---|
void |
Evaluation.eval(org.nd4j.linalg.api.ndarray.INDArray trueLabels,
org.nd4j.linalg.api.ndarray.INDArray input,
MultiLayerNetwork network)
Evaluate the output
using the given true labels,
the input to the multi layer network
and the multi layer network to
use for evaluation
|
Modifier and Type | Method and Description |
---|---|
static boolean |
GradientCheckUtil.checkGradients(MultiLayerNetwork mln,
double epsilon,
double maxRelError,
double minAbsoluteError,
boolean print,
boolean exitOnFirstError,
org.nd4j.linalg.api.ndarray.INDArray input,
org.nd4j.linalg.api.ndarray.INDArray labels)
Check backprop gradients for a MultiLayerNetwork.
|
Modifier and Type | Method and Description |
---|---|
MultiLayerNetwork |
MultiLayerNetwork.clone()
Clones the multilayernetwork
|
Modifier and Type | Method and Description |
---|---|
void |
MultiLayerNetwork.merge(MultiLayerNetwork network,
int batchSize)
Deprecated.
As of 0.7.3 - Feb 2017. No longer used; parameter averaging is performed via alternative means/methods
|
void |
MultiLayerNetwork.update(MultiLayerNetwork network)
Assigns the parameters of this model to the ones specified by this
network.
|
Modifier and Type | Method and Description |
---|---|
MultiLayerNetwork |
TransferLearning.Builder.build()
Returns a model with the fine tune configuration and specified architecture changes.
|
MultiLayerNetwork |
TransferLearningHelper.unfrozenMLN()
Returns the unfrozen layers of the MultiLayerNetwork as a multilayernetwork
Note that with each call to featurizedFit the parameters to the original MLN are also updated
|
Constructor and Description |
---|
Builder(MultiLayerNetwork origModel)
Multilayer Network to tweak for transfer learning
|
TransferLearningHelper(MultiLayerNetwork orig)
Expects a MLN where some layers are frozen
|
TransferLearningHelper(MultiLayerNetwork orig,
int frozenTill)
Will modify the given MLN (in place!) to freeze layers (hold params constant during training) specified and below
|
Constructor and Description |
---|
MultiLayerUpdater(MultiLayerNetwork network) |
MultiLayerUpdater(MultiLayerNetwork network,
org.nd4j.linalg.api.ndarray.INDArray updaterState) |
Modifier and Type | Method and Description |
---|---|
static MultiLayerNetwork |
ModelSerializer.restoreMultiLayerNetwork(File file)
Load a multi layer network from a file
|
static MultiLayerNetwork |
ModelSerializer.restoreMultiLayerNetwork(File file,
boolean loadUpdater)
Load a multi layer network from a file
|
static MultiLayerNetwork |
ModelSerializer.restoreMultiLayerNetwork(InputStream is) |
static MultiLayerNetwork |
ModelSerializer.restoreMultiLayerNetwork(InputStream is,
boolean loadUpdater)
Load a MultiLayerNetwork from InputStream from a file
|
static MultiLayerNetwork |
ModelSerializer.restoreMultiLayerNetwork(String path)
Load a MultilayerNetwork model from a file
|
static MultiLayerNetwork |
ModelSerializer.restoreMultiLayerNetwork(String path,
boolean loadUpdater)
Load a MultilayerNetwork model from a file
|
Modifier and Type | Method and Description |
---|---|
static List<org.nd4j.linalg.api.ndarray.INDArray> |
MultiLayerUtil.weightMatrices(MultiLayerNetwork network)
Return the weight matrices for a multi layer network
|
Copyright © 2017. All rights reserved.