You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# data = ClassificationDataSet(1,1) <-- For classification
data = SupervisedDataSet(1,1) # For regression
for i in range(m):
data.addSample(datain[i,0], datain[i,1])
net = buildNetwork(1, 10, 1 , hiddenclass=TanhLayer, outclass=LinearLayer) ### Create a network with 1 input unit, 10 hidden units, and 1 output unit that uses the tanh transfer function at the hidden layer and a linear output layer