Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. begin{figure}[H]
  2. begin{subfigure}{.6textwidth}
  3. begin{tikzpicture}
  4. begin{axis}[ line width=1,/pgf/number format/.cd,
  5. use period,
  6. grid=major, % Display a grid
  7. tick label style={font=bfserieslarge},
  8. label style={font=bfseriesLarge},
  9. grid style={gray!30},
  10. xlabel={Epochs},
  11. ylabel={rmse}]
  12. addplot[color=red,smooth] table[x expr=coordindex,y index=0] {
  13. 1.1257
  14. 0.992
  15. 0.9681
  16. 0.9579
  17. 0.9521
  18. 0.9485
  19. 0.9457
  20. 0.9445
  21. 0.9432
  22. 0.9424
  23. 0.9413
  24. 0.9409
  25. 0.9409
  26. 0.9408
  27. 0.9402
  28. 0.9397
  29. 0.94
  30. 0.9397
  31. 0.9397
  32. 0.9392
  33. 0.9397
  34. 0.9395
  35. 0.9393
  36. 0.9398
  37. 0.9389
  38. 0.9394
  39. 0.9393
  40. 0.9396
  41. 0.9394
  42. 0.9393
  43. 0.9392
  44. 0.939
  45. 0.9389
  46. 0.9394
  47. 0.9393
  48. 0.9385
  49. 0.939
  50. 0.9393
  51. 0.9392
  52. 0.9395
  53. 0.9392
  54. 0.9396
  55. 0.9394
  56. 0.9391
  57. 0.9397
  58. 0.9393
  59. 0.9391
  60. 0.9397
  61. 0.9392
  62. 0.9393
  63. };
  64. addlegendentry{Validation Error}
  65. addplot[color=blue,smooth] table[x expr=coordindex,y index=0] {
  66. 1.1257
  67. 0.9836
  68. 0.9558
  69. 0.9431
  70. 0.9359
  71. 0.931
  72. 0.9277
  73. 0.9252
  74. 0.9233
  75. 0.9219
  76. 0.9205
  77. 0.9197
  78. 0.9189
  79. 0.9182
  80. 0.9177
  81. 0.9172
  82. 0.9168
  83. 0.9165
  84. 0.9162
  85. 0.9159
  86. 0.9157
  87. 0.9155
  88. 0.9153
  89. 0.9152
  90. 0.915
  91. 0.9149
  92. 0.9147
  93. 0.9146
  94. 0.9145
  95. 0.9143
  96. 0.9143
  97. 0.9142
  98. 0.9141
  99. 0.914
  100. 0.914
  101. 0.914
  102. 0.9139
  103. 0.9138
  104. 0.9137
  105. 0.9137
  106. 0.9136
  107. 0.9136
  108. 0.9136
  109. 0.9136
  110. 0.9135
  111. 0.9134
  112. 0.9134
  113. 0.9134
  114. 0.9133
  115. 0.9132
  116. };
  117. addlegendentry{Train Error}
  118. end{axis}
  119. end{tikzpicture}
  120. caption{RMSE Movielens 100K}
  121. label{fig:sub11}
  122. end{subfigure}%
  123. begin{subfigure}{.5textwidth}
  124. centering
  125.  
  126.  
  127. begin{tikzpicture}
  128. begin{axis}[line width=1,
  129. grid=major, % Display a grid
  130. grid style={gray!30},
  131. tick label style={font=bfserieslarge},
  132. label style={font=bfseriesLarge},
  133. xlabel={textbf{Epochs}},
  134. ylabel={textbf{rmse}}]
  135. addplot[color=red,smooth] table[x expr=coordindex,y index=0] {
  136. 1.1171
  137. 0.9495
  138. 0.9254
  139. 0.9157
  140. 0.9105
  141. 0.9073
  142. 0.9052
  143. 0.9037
  144. 0.9026
  145. 0.9019
  146. 0.9012
  147. 0.9008
  148. 0.9005
  149. 0.9
  150. 0.8997
  151. 0.8996
  152. 0.8994
  153. 0.8991
  154. 0.899
  155. 0.8989
  156. 0.8988
  157. 0.8988
  158. 0.8987
  159. 0.8987
  160. 0.8985
  161. 0.8985
  162. 0.8984
  163. 0.8984
  164. 0.8983
  165. 0.8983
  166. 0.8983
  167. 0.8983
  168. 0.8982
  169. 0.8982
  170. 0.8981
  171. 0.8982
  172. 0.8981
  173. 0.8981
  174. 0.8981
  175. 0.8981
  176. 0.8981
  177. 0.898
  178. 0.898
  179. 0.898
  180. 0.898
  181. 0.898
  182. 0.898
  183. 0.898
  184. 0.898
  185. 0.8981
  186. };
  187. addlegendentry{Validation Error}
  188. addplot[color=blue,smooth] table[x expr=coordindex,y index=0] {
  189. 1.1171
  190. 0.953
  191. 0.9303
  192. 0.9217
  193. 0.9171
  194. 0.9144
  195. 0.9126
  196. 0.9114
  197. 0.9105
  198. 0.91
  199. 0.9095
  200. 0.9092
  201. 0.9091
  202. 0.9088
  203. 0.9085
  204. 0.9085
  205. 0.9084
  206. 0.9082
  207. 0.9081
  208. 0.9081
  209. 0.9081
  210. 0.9081
  211. 0.9081
  212. 0.908
  213. 0.9079
  214. 0.9079
  215. 0.9079
  216. 0.908
  217. 0.9079
  218. 0.9078
  219. 0.908
  220. 0.9079
  221. 0.9078
  222. 0.9078
  223. 0.9078
  224. 0.9079
  225. 0.9079
  226. 0.9078
  227. 0.9079
  228. 0.9079
  229. 0.9078
  230. 0.9079
  231. 0.9078
  232. 0.9080
  233. 0.9079
  234. 0.9078
  235. 0.9079
  236. 0.9079
  237. 0.9079
  238. 0.9080
  239. };
  240. addlegendentry{Train Error}
  241. end{axis}
  242. end{tikzpicture}
  243. caption{RMSE Movielens 1M}
  244. label{fig:sub22}
  245. end{subfigure}
  246. caption{.}
  247. label{}
  248.  
  249.  
  250. end{figure}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement