Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How can I train data separated into subsets

  1. Oct 5, 2006 #1
    Hi all,

    Maybe i shud put it this way. Suppose I want to perform training on part of the data and leave the rest for testing. the training set is separated into subsets whereby I train one subset first, and use its weights and biases as weights to the next subset and so on. Then how to I write that loop taking into consideration that after I present every sample for training I will repeat the same process. Under normal circumstances we do this:

    net = newff(mimax(x),[2,2],{'logsig','purelin'},'traingd');
    net = train(net,x,t);

    But now I want to perform something like this:

    net = train(net,xtrain1,ttrain1);
    net = train(net,xtrain2,ttrain2);

    Maybe at this stage I can simulate and then if need be train again, go back to the above step.

    but how do I present this in a form of a loop?

    Please help!
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted



Similar Discussions: How can I train data separated into subsets
  1. How can I make mp3? (Replies: 2)

  2. How i can hack ? (Replies: 29)

Loading...