\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 {
(5.578257322311401, 0.0)
(1.7782185077667236, 1.5803041668684965e-14)
(4.3255615234375, 1.5249235897090372e-05)
(0.8647048473358154, 1.52947812531761e-05)
(12.879400968551636, 0.017272940324878628)
(7.664122581481934, 0.020088907554198444)
};
\addlegendentry{ bruteforce-product-blas };
\addplot [only marks] coordinates {
(0.10444974899291992, 5.6483826789528946e-14)
(0.0849616527557373, 2.666439022880245e-05)
(0.0997467041015625, 0.000163129319766601)
(0.07023787498474121, 0.00016585900433932813)
(0.06217312812805176, 0.018493702441701836)
(0.08691263198852539, 0.018538346979693608)
};
\addlegendentry{ htool-product };
\end{axis}
\end{tikzpicture}