SHARE
TWEET

Untitled

a guest May 21st, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Cambiamos la tasa de aprendizaje, alpha y gamma
  2. eta_v = 0.0003
  3. alpha_v = 0.9
  4. m_v = 2**8
  5. epoch = 1500
  6. gamma_v = .85
  7.  
  8. # Modelos
  9. aux_mb_6 = getMiniBatch(X, y, epoch, eta_v, m_v)
  10. aux_nest_6 = getNesterovMomentum(X, y, epoch, eta_v, m_v, alpha_v, aux_mb_6)
  11. aux_rms_6 = getRMSprop(X, y, epoch, eta_v, m_v, gamma_v, aux_mb_6, aux_nest_6)
  12.  
  13. # Cambiamos la tasa de aprendizaje, alpha y gamma
  14. eta_v = 0.0002
  15. alpha_v = 0.9
  16. m_v = 2**8
  17. epoch = 1500
  18. gamma_v = .85
  19.  
  20. # Modelos
  21. aux_mb_6 = getMiniBatch(X, y, epoch, eta_v, m_v)
  22. aux_nest_6 = getNesterovMomentum(X, y, epoch, eta_v, m_v, alpha_v, aux_mb_6)
  23. aux_rms_6 = getRMSprop(X, y, epoch, eta_v, m_v, gamma_v, aux_mb_6, aux_nest_6)
  24.  
  25. # Cambiamos la tasa de aprendizaje, alpha y gamma
  26. eta_v = 0.0001
  27. alpha_v = 0.9
  28. m_v = 2**8
  29. epoch = 1500
  30. gamma_v = .85
  31.  
  32. # Modelos
  33. aux_mb_6 = getMiniBatch(X, y, epoch, eta_v, m_v)
  34. aux_nest_6 = getNesterovMomentum(X, y, epoch, eta_v, m_v, alpha_v, aux_mb_6)
  35. aux_rms_6 = getRMSprop(X, y, epoch, eta_v, m_v, gamma_v, aux_mb_6, aux_nest_6)
  36.  
  37.  
  38. #######################################################
  39. #######################################################
  40. #######################################################
  41.  
  42. # Cambiamos la tasa de aprendizaje, alpha y gamma
  43. eta_v = 0.0003
  44. alpha_v = 0.9
  45. m_v = 2**8
  46. epoch = 1500
  47. gamma_v = .85
  48.  
  49. # Modelos
  50. aux_mb_6 = getMiniBatch(X, y, epoch, eta_v, m_v)
  51. aux_nest_6 = getNesterovMomentum(X, y, epoch, eta_v, m_v, alpha_v, aux_mb_6)
  52. aux_rms_6 = getRMSprop(X, y, epoch, eta_v, m_v, gamma_v, aux_mb_6, aux_nest_6)
  53.  
  54. # Cambiamos la tasa de aprendizaje, alpha y gamma
  55. eta_v = 0.0002
  56. alpha_v = 0.8
  57. m_v = 2**8
  58. epoch = 1500
  59. gamma_v = .85
  60.  
  61. # Modelos
  62. aux_mb_6 = getMiniBatch(X, y, epoch, eta_v, m_v)
  63. aux_nest_6 = getNesterovMomentum(X, y, epoch, eta_v, m_v, alpha_v, aux_mb_6)
  64. aux_rms_6 = getRMSprop(X, y, epoch, eta_v, m_v, gamma_v, aux_mb_6, aux_nest_6)
  65.  
  66. # Cambiamos la tasa de aprendizaje, alpha y gamma
  67. eta_v = 0.0001
  68. alpha_v = 0.8
  69. m_v = 2**8
  70. epoch = 1500
  71. gamma_v = .85
  72.  
  73. # Modelos
  74. aux_mb_6 = getMiniBatch(X, y, epoch, eta_v, m_v)
  75. aux_nest_6 = getNesterovMomentum(X, y, epoch, eta_v, m_v, alpha_v, aux_mb_6)
  76. aux_rms_6 = getRMSprop(X, y, epoch, eta_v, m_v, gamma_v, aux_mb_6, aux_nest_6)
  77.  
  78.  
  79. #######################################################
  80. #######################################################
  81. #######################################################
  82.  
  83. # Cambiamos la tasa de aprendizaje, alpha y gamma
  84. eta_v = 0.0003
  85. alpha_v = 0.9
  86. m_v = 2**8
  87. epoch = 1500
  88. gamma_v = .95
  89.  
  90. # Modelos
  91. aux_mb_6 = getMiniBatch(X, y, epoch, eta_v, m_v)
  92. aux_nest_6 = getNesterovMomentum(X, y, epoch, eta_v, m_v, alpha_v, aux_mb_6)
  93. aux_rms_6 = getRMSprop(X, y, epoch, eta_v, m_v, gamma_v, aux_mb_6, aux_nest_6)
  94.  
  95. # Cambiamos la tasa de aprendizaje, alpha y gamma
  96. eta_v = 0.0002
  97. alpha_v = 0.8
  98. m_v = 2**8
  99. epoch = 1500
  100. gamma_v = .85
  101.  
  102. # Modelos
  103. aux_mb_6 = getMiniBatch(X, y, epoch, eta_v, m_v)
  104. aux_nest_6 = getNesterovMomentum(X, y, epoch, eta_v, m_v, alpha_v, aux_mb_6)
  105. aux_rms_6 = getRMSprop(X, y, epoch, eta_v, m_v, gamma_v, aux_mb_6, aux_nest_6)
  106.  
  107. # Cambiamos la tasa de aprendizaje, alpha y gamma
  108. eta_v = 0.0001
  109. alpha_v = 0.8
  110. m_v = 2**8
  111. epoch = 1500
  112. gamma_v = .75
  113.  
  114. # Modelos
  115. aux_mb_6 = getMiniBatch(X, y, epoch, eta_v, m_v)
  116. aux_nest_6 = getNesterovMomentum(X, y, epoch, eta_v, m_v, alpha_v, aux_mb_6)
  117. aux_rms_6 = getRMSprop(X, y, epoch, eta_v, m_v, gamma_v, aux_mb_6, aux_nest_6)
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