title: How to export a linear regression formula out of sklearn LinearRegression
body: <p>I want to have the formula of the model in order to use it in other languages/projects. Is there a way to export the formula from the model?</p>
  
  <p>I will use <a href="http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html" rel="noreferrer">sklearn linear regression model</a>.</p>
  
  <p>What I want to do eventually: given a formula f(), and data set 'd', I will have java script code that will give me predictions on d based on f().</p>