Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.36 KB | None | 0 0
  1. documentclass{standalone}
  2. usepackage{subcaption}
  3. usepackage{caption}
  4. usepackage{pgfplots, pgfplotstable}
  5. usetikzlibrary{positioning}
  6. pgfplotsset{compat=1.16,width=0.98textwidth}
  7. %pgfplotsset{compat=1.16,width=0.98textwidth}
  8.  
  9. usepackage{tikz}
  10. usepackage[english,spanish]{babel} % multilenguaje
  11.  
  12. % grid style
  13.  
  14. pgfdeclareplotmark{mystar}{
  15. node[star,star point ratio=2.25,minimum size=6pt,
  16. inner sep=0pt,draw=black,solid,fill=red] {};
  17. }
  18.  
  19. decimalpoint
  20.  
  21. begin{document}
  22.  
  23.  
  24.  
  25. begin{tikzpicture}
  26.  
  27.  
  28.  
  29. begin{axis}[
  30. axis line style={black},
  31. legend cell align={left},
  32. legend style={draw=black},
  33. tick align=outside,
  34. x grid style={dashed,black!60},
  35. xlabel={Factors},
  36. xmajorticks=true,
  37. xmin=-2.9, xmax=104.9,
  38. xtick style={color=black},
  39. y grid style={dashed,black!60},
  40. ylabel={RMSE},
  41. ymajorticks=true,
  42. ymin=0.850729240029497, ymax=0.905193204319348,
  43. ytick style={black},
  44. xtick align=inside,
  45. ytick align=inside,
  46. grid = both
  47. ]
  48. addplot [mark =+,line width=1pt,blue, mark size=1.5pt]
  49. table {%
  50. 2 0.9027175695789
  51. 4 0.897861765753183
  52. 6 0.893821397659722
  53. 8 0.89167759352437
  54. 10 0.890551599520123
  55. 12 0.888834355758449
  56. 14 0.887930955413864
  57. 16 0.885401265676267
  58. 18 0.885753330175654
  59. 20 0.884851333015314
  60. 22 0.882782795881261
  61. 24 0.884073576732794
  62. 26 0.883357689247054
  63. 28 0.882637401807809
  64. 30 0.881827318909257
  65. 32 0.880868384904793
  66. 34 0.880414582422335
  67. 36 0.881214601730437
  68. 38 0.880797790575084
  69. 40 0.880083948931917
  70. 42 0.879416420664705
  71. 44 0.879269387274515
  72. 46 0.878989619573857
  73. 48 0.878556912902045
  74. 50 0.877421327240298
  75. 52 0.877965495433542
  76. 54 0.878422158855753
  77. 56 0.878127248471313
  78. 58 0.87750293736373
  79. 60 0.87680205401383
  80. 62 0.877449600310002
  81. 64 0.876374765556333
  82. 66 0.876312232314794
  83. 68 0.876289537279491
  84. 70 0.876433126606857
  85. 72 0.87596408140049
  86. 74 0.876502034778549
  87. 76 0.8756132598436
  88. 78 0.875632080742398
  89. 80 0.875830560502087
  90. 82 0.875790853143759
  91. 84 0.87511861273585
  92. 86 0.875290527166252
  93. 88 0.874763763228041
  94. 90 0.874670881957083
  95. 92 0.874777253932595
  96. 94 0.875094574395115
  97. 96 0.874618277424289
  98. 98 0.874353724851183
  99. 100 0.874224412254549
  100. };
  101. addlegendentry{10 Epochs}
  102. addplot [mark =pentagon,line width=1pt,black, mark size=1pt]
  103. table {%
  104. 2 0.893965950660986
  105. 4 0.877178487377105
  106. 6 0.868048018249951
  107. 8 0.863619771894904
  108. 10 0.862358525162387
  109. 12 0.860567557679823
  110. 14 0.85901633701034
  111. 16 0.858781243869266
  112. 18 0.85793281733103
  113. 20 0.857478757959634
  114. 22 0.856967731981797
  115. 24 0.856982301616069
  116. 26 0.856276932136137
  117. 28 0.856365550775885
  118. 30 0.856155724722585
  119. 32 0.856169829946455
  120. 34 0.855384298607299
  121. 36 0.855279233058811
  122. 38 0.85546563229391
  123. 40 0.85579969761625
  124. 42 0.855198248818938
  125. 44 0.855228136868508
  126. 46 0.855624052519119
  127. 48 0.854573567450464
  128. 50 0.854848009928109
  129. 52 0.854806444261156
  130. 54 0.854295384317586
  131. 56 0.854165536251013
  132. 58 0.853955596275106
  133. 60 0.854143916356813
  134. 62 0.854837202390947
  135. 64 0.85388858778051
  136. 66 0.854042963949735
  137. 68 0.85380657736742
  138. 70 0.853938320185388
  139. 72 0.853739505091974
  140. 74 0.85383626792236
  141. 76 0.853756644780337
  142. 78 0.853740857078015
  143. 80 0.8538327223226
  144. 82 0.853204874769945
  145. 84 0.853365486648567
  146. 86 0.853608719419868
  147. 88 0.853741193199706
  148. 90 0.853346774366576
  149. 92 0.853683738911195
  150. 94 0.853817416928146
  151. 96 0.853427382787991
  152. 98 0.85320939503722
  153. 100 0.853224709031221
  154. };
  155. addlegendentry{50 Epochs}
  156. addplot [mark =o,line width=1pt,green!80!black, mark size=1pt]
  157. table {%
  158. 2 0.892477092241751
  159. 4 0.874375587826647
  160. 6 0.865459122236675
  161. 8 0.859720582103558
  162. 10 0.857563419800796
  163. 12 0.8562970446962
  164. 14 0.85654686979103
  165. 16 0.855867967721758
  166. 18 0.855561722032013
  167. 20 0.855264280083319
  168. 22 0.855375658856436
  169. 24 0.855671055604809
  170. 26 0.855473481535516
  171. 28 0.855618048639852
  172. 30 0.8559664674943
  173. 32 0.8553812735106
  174. 34 0.855040438156959
  175. 36 0.855848986213965
  176. 38 0.854961447422692
  177. 40 0.855694341911187
  178. 42 0.854908091093988
  179. 44 0.854649546159086
  180. 46 0.855163707005447
  181. 48 0.854911772037089
  182. 50 0.854435476690489
  183. 52 0.854719404514123
  184. 54 0.854800857421306
  185. 56 0.854989053592751
  186. 58 0.854537407268663
  187. 60 0.855124104264201
  188. 62 0.854290422967868
  189. 64 0.854250166064977
  190. 66 0.854616120692891
  191. 68 0.854776024514124
  192. 70 0.854341819058734
  193. 72 0.853944727445416
  194. 74 0.853995103329721
  195. 76 0.85416121764191
  196. 78 0.854022568594074
  197. 80 0.85366285800442
  198. 82 0.854154959842634
  199. 84 0.853983610568726
  200. 86 0.853691071737578
  201. 88 0.854029303593835
  202. 90 0.853809278352962
  203. 92 0.85337768040668
  204. 94 0.85379852055249
  205. 96 0.853321573691484
  206. 98 0.853298422548886
  207. 100 0.853549140640288
  208. };
  209. addlegendentry{100 Epochs}
  210. end{axis}
  211.  
  212. end{tikzpicture}
  213. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement