Skip to main content
edited body
Source Link
user64494
  • 29.1k
  • 4
  • 29
  • 56

I am teaching my comp to add naturals by creating a neural network:

trainingset = {"1+2" -> 3, "2+2" -> 4, "3+9" -> 12, "4+5" -> 9, 
"6+2" -> 8, "5+4" -> 9, "1+8" -> 9, "2+8" -> 10}; 
p = Predict[trainingset, Method -> "NeuralNetwork"];
p["3+4"] // Round

8

Not so bad, taking into account a small size of the trainingset.

What neural network is created by p? What layers does the one containinclude? I find an answer in neither

Information[p, "Properties"]

{"AcceptanceThreshold", "AnomalyDetector", "BatchEvaluationSpeed",
"BatchEvaluationTime", "Calibrated", "EvaluationTime",
"ExampleNumber", "FeatureExtractor", "FeatureNames", "FeatureNumber",
"FeatureTypes", "FunctionMemory", "FunctionProperties",
"IndeterminateThreshold", "LearningCurve", "MaxTrainingMemory",
"MeanCrossEntropy", "Method", "MethodDescription", "MethodOption",
"MethodParameters", "MissingSynthesizer", "PerformanceGoal",
"Properties", "StandardDeviation", "TrainingLabelMean",
"TrainingTime", "UtilityFunction"}

nor

Information[p, "MethodDescription"]

"An neural networks is composed of layers of artificial neuron units. Each unit computes its value as a function of the unit values in the previous layer. Information is processed layer by layer from the feature layer to the \noutput unit which gives the predicted value. It is also called a feed-forward neural network or a multi-layer perceptron"

Is that neural network similar to In[22] in the documentation?

I am teaching my comp to add naturals by creating a neural network:

trainingset = {"1+2" -> 3, "2+2" -> 4, "3+9" -> 12, "4+5" -> 9, 
"6+2" -> 8, "5+4" -> 9, "1+8" -> 9, "2+8" -> 10}; 
p = Predict[trainingset, Method -> "NeuralNetwork"];
p["3+4"] // Round

8

Not so bad, taking into account a small size of the trainingset.

What neural network is created by p? What layers does the one contain? I find an answer in neither

Information[p, "Properties"]

{"AcceptanceThreshold", "AnomalyDetector", "BatchEvaluationSpeed",
"BatchEvaluationTime", "Calibrated", "EvaluationTime",
"ExampleNumber", "FeatureExtractor", "FeatureNames", "FeatureNumber",
"FeatureTypes", "FunctionMemory", "FunctionProperties",
"IndeterminateThreshold", "LearningCurve", "MaxTrainingMemory",
"MeanCrossEntropy", "Method", "MethodDescription", "MethodOption",
"MethodParameters", "MissingSynthesizer", "PerformanceGoal",
"Properties", "StandardDeviation", "TrainingLabelMean",
"TrainingTime", "UtilityFunction"}

nor

Information[p, "MethodDescription"]

"An neural networks is composed of layers of artificial neuron units. Each unit computes its value as a function of the unit values in the previous layer. Information is processed layer by layer from the feature layer to the \noutput unit which gives the predicted value. It is also called a feed-forward neural network or a multi-layer perceptron"

Is that neural network similar to In[22] in the documentation?

I am teaching my comp to add naturals by creating a neural network:

trainingset = {"1+2" -> 3, "2+2" -> 4, "3+9" -> 12, "4+5" -> 9, 
"6+2" -> 8, "5+4" -> 9, "1+8" -> 9, "2+8" -> 10}; 
p = Predict[trainingset, Method -> "NeuralNetwork"];
p["3+4"] // Round

8

Not so bad, taking into account a small size of the trainingset.

What neural network is created by p? What layers does the one include? I find an answer in neither

Information[p, "Properties"]

{"AcceptanceThreshold", "AnomalyDetector", "BatchEvaluationSpeed",
"BatchEvaluationTime", "Calibrated", "EvaluationTime",
"ExampleNumber", "FeatureExtractor", "FeatureNames", "FeatureNumber",
"FeatureTypes", "FunctionMemory", "FunctionProperties",
"IndeterminateThreshold", "LearningCurve", "MaxTrainingMemory",
"MeanCrossEntropy", "Method", "MethodDescription", "MethodOption",
"MethodParameters", "MissingSynthesizer", "PerformanceGoal",
"Properties", "StandardDeviation", "TrainingLabelMean",
"TrainingTime", "UtilityFunction"}

nor

Information[p, "MethodDescription"]

"An neural networks is composed of layers of artificial neuron units. Each unit computes its value as a function of the unit values in the previous layer. Information is processed layer by layer from the feature layer to the \noutput unit which gives the predicted value. It is also called a feed-forward neural network or a multi-layer perceptron"

Is that neural network similar to In[22] in the documentation?

Source Link
user64494
  • 29.1k
  • 4
  • 29
  • 56

What is that neural network?

I am teaching my comp to add naturals by creating a neural network:

trainingset = {"1+2" -> 3, "2+2" -> 4, "3+9" -> 12, "4+5" -> 9, 
"6+2" -> 8, "5+4" -> 9, "1+8" -> 9, "2+8" -> 10}; 
p = Predict[trainingset, Method -> "NeuralNetwork"];
p["3+4"] // Round

8

Not so bad, taking into account a small size of the trainingset.

What neural network is created by p? What layers does the one contain? I find an answer in neither

Information[p, "Properties"]

{"AcceptanceThreshold", "AnomalyDetector", "BatchEvaluationSpeed",
"BatchEvaluationTime", "Calibrated", "EvaluationTime",
"ExampleNumber", "FeatureExtractor", "FeatureNames", "FeatureNumber",
"FeatureTypes", "FunctionMemory", "FunctionProperties",
"IndeterminateThreshold", "LearningCurve", "MaxTrainingMemory",
"MeanCrossEntropy", "Method", "MethodDescription", "MethodOption",
"MethodParameters", "MissingSynthesizer", "PerformanceGoal",
"Properties", "StandardDeviation", "TrainingLabelMean",
"TrainingTime", "UtilityFunction"}

nor

Information[p, "MethodDescription"]

"An neural networks is composed of layers of artificial neuron units. Each unit computes its value as a function of the unit values in the previous layer. Information is processed layer by layer from the feature layer to the \noutput unit which gives the predicted value. It is also called a feed-forward neural network or a multi-layer perceptron"

Is that neural network similar to In[22] in the documentation?