\documentclass[tikz]{standalone}
%\usetikzlibrary{calc}
\usepackage{graphicx,amsmath,amsfonts,amssymb,bm,hyperref,url,breakurl,epsfig,epsf,color,fullpage,MnSymbol,mathbbol,fmtcount,algorithmic,algorithm,semtrans,cite,caption,subcaption,multirow,xcolor}
\usepackage{tikz}
\usepackage{pgfplots}
\newcommand{\twonorm}[1]{\left\|#1\right\|_{\ell_2}}
\newcommand{\vct}[1]{\bm{#1}}
\newcommand{\calF}{\mathcal{I}}
\newcommand{\calS}{\mathcal{N}}
\newcommand{\y}{\vct{y}}
\usetikzlibrary{pgfplots.groupplots}
\pgfplotsset{scaled x ticks=false}
\begin{document}
	\centering
	\begin{tikzpicture}[scale=1.2]
		\begin{axis}%[y tick label style={/pgf/number format/.cd,fixed,/pgfplots/tick scale binop=\times}, ylabel near ticks, xmode=log,
		%xlabel= \# of training examples, ylabel= Val. SSIM, legend style={font=\small, at={(0.658,0.15)}, anchor=south,legend cell align=left},grid=both,grid style={dotted}, legend entries={no DA,
		%	DA
		%}]
		%[xlabel= $\alpha$, ylabel=generalization error, grid style={dotted}, xmosde=log, ymode=log,  x dir=reverse]
		[xlabel= Iteration, ylabel= test/train error,  grid style=both,  ymode=log, legend pos=north east]
		\addplot [blue,line width=1pt]table[y index=1]{test_small.csv};
		\addlegendentry{$\alpha=10^{-3}$ test error}
		\addplot [blue,line width=1pt, dotted]table[y index=1]{train_small.csv};
		\addlegendentry{$\alpha=10^{-3}$ train error}
		
		
		
		\end{axis}
		
	\end{tikzpicture}	
	% Further ?tikzpicture? environments are possible which will create further pages.
\end{document}