just to clone shark the c++ ml library