Class NeuralNetConfiguration

    • Field Detail

      • layer

        protected Layer layer
      • miniBatch

        protected boolean miniBatch
      • maxNumLineSearchIterations

        protected int maxNumLineSearchIterations
      • seed

        protected long seed
      • minimize

        protected boolean minimize
      • iterationCount

        protected int iterationCount
      • epochCount

        protected int epochCount
    • Constructor Detail

      • NeuralNetConfiguration

        public NeuralNetConfiguration()
    • Method Detail

      • variables

        public List<String> variables​(boolean copy)
      • addVariable

        public void addVariable​(String variable)
      • clearVariables

        public void clearVariables()
      • toYaml

        public String toYaml()
        Return this configuration as json
        Returns:
        this configuration represented as json
      • fromYaml

        public static NeuralNetConfiguration fromYaml​(String json)
        Create a neural net configuration from json
        Parameters:
        json - the neural net configuration from json
        Returns:
      • toJson

        public String toJson()
        Return this configuration as json
        Returns:
        this configuration represented as json
      • fromJson

        public static NeuralNetConfiguration fromJson​(String json)
        Create a neural net configuration from json
        Parameters:
        json - the neural net configuration from json
        Returns:
      • mapperYaml

        public static org.nd4j.shade.jackson.databind.ObjectMapper mapperYaml()
        Object mapper for serialization of configurations
        Returns:
      • mapper

        public static org.nd4j.shade.jackson.databind.ObjectMapper mapper()
        Object mapper for serialization of configurations
        Returns: