How to design API of Machine Learning library | Dark Hacker News