daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. piis:
  2. 1. get set (main)
  3. 2. scale set(scaler)
  4. 3. divide set into training and validation set (validator)
  5.  loop(k 1->15)
  6.  3. create polynomial desc based on k (converter)
  7.  4. convert polynomial so k = 1 (converter)
  8.  5. train polynomial with train set (trainer)
  9.  6. check error for given k usign validation set(validator, trainee)
  10.  endloop
  11. 7. select best error and k(validator)
  12. 8. create polynomial desc based on final k (converter)
  13. 9. train polynomial with train set (trainer)
  14. 10. calculate output from input (main, trainee)
  15. 11. descale output data (scaler)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top