Hello all i’m totally a beginner in wolfarm mathematica and i’m now trying to figure out a price prediction using neural nertworks in wolfarm mathematica and i dont know what to do for the further steps after i trained my model i’m giving the code i already write
open = Rest[data6[[All, 3]]];
inputSize = 5
outputSize = 5
splitRatio = 0.8
trainingLength = Floor[Length[open]*splitRatio]
opensegm = Partition[open[[1 ;; trainingLength]], 5, 1];
y = List /@ open[[inputSize + 1 ;; trainingLength + 1]];
trainingData = Thread[opensegm -> y]
NNsA = NetChain[{LinearLayer[10], Tanh, LinearLayer[1] },
"Input" -> inputSize]
trainedNNsA = NetTrain[NNsA, trainingData]
New contributor
VishnuPrasad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.