\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 {
(1.4472143650054932, 0.0)
(0.5142905712127686, 9.629149554374332e-09)
(1.114116907119751, 0.00144605338155062)
(0.2712748050689697, 4.745574287351935)
(3.62265682220459, 31.114806355636645)
(2.318493604660034, nan)
};
\addlegendentry{ bruteforce-product-blas };
\addplot [only marks] coordinates {
(0.047104597091674805, 2.1963228096601838e-13)
(0.04444146156311035, 0.00045456868714252043)
(0.044115304946899414, 0.0013994551119441985)
(0.042633771896362305, 0.0015128617360669987)
(0.02762460708618164, 0.03023736506523668)
(0.038205862045288086, 0.030257799373617018)
};
\addlegendentry{ htool-product };
\end{axis}
\end{tikzpicture}