\begin{tikzpicture}
\begin{axis}[
xlabel={ Build+Query time (s) },
ylabel={ RMSE },
xmode = log,
ymode = log,
grid=major,
yticklabel style={/pgf/number format/fixed,
/pgf/number format/precision=3},
legend style = { anchor=west},
cycle list name = black white
]
\addplot [only marks] coordinates {
(0.23639774322509766, 0.0)
(0.06869101524353027, 1.8632010220623596e-10)
(0.17714691162109375, 8.771638220919356e-05)
(0.026254653930664062, 0.20629219575865732)
(0.5711159706115723, 0.8934519521898364)
(0.3643221855163574, nan)
};
\addlegendentry{ bruteforce-product-blas };
\addplot [only marks] coordinates {
(0.019637584686279297, 1.138330832221275e-13)
(0.020348787307739258, 9.57212945230258e-05)
(0.018932342529296875, 0.00015622848268478636)
(0.008314371109008789, 0.0001823260989208523)
(0.011260509490966797, 0.007235630316186132)
(0.01595449447631836, 0.007235638033326446)
};
\addlegendentry{ htool-product };
\end{axis}
\end{tikzpicture}