Problem with Mathematica and NeuralNetworks...
- To: mathgroup at smc.vnet.net
- Subject: [mg94062] Problem with Mathematica and NeuralNetworks...
- From: beatles.bob at gmail.com
- Date: Thu, 4 Dec 2008 07:12:40 -0500 (EST)
Hello, When I use the NeuralNetworks package, I get the following error: "{model1} and $Failed are not the same shape" - Here is my cod, the idea is to use NeuralARXFit to get data from file called, "aidscure.dat" and train the network hence: Thanks alot in advance!: ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// << NeuralNetworks` << LinearAlgebra`MatrixManipulation` << aidscure.dat; Dimensions[ybr] Dimensions[ydeu] u = TakeColumns[ydeu, {2, 4}]; y = TakeColumns[ydeu,{1}]; ue = u[[Range[1000]]]; ye = y[[Range[1000]]]; uv = u[[Range[1001, 2000]]]; yv = y[[Range[1001, 2000]]]; {model1, fitrecord} = NeuralARXFit[ue, ye, {{1}, {1, 1, 1}, {1, 1, 1}}, FeedForwardNet, {},CriterionPlot $B"*(B False]; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////