[Feature] New regression models?

Hi folks!
I just had a little interview with Benoit and the subject of missing models came up. After quickly thinking about it, I felt like major classifications models are already implemented. Some classic models are missing such as kNN or Naive Bayes but my gut feeling is that NN and RF are usually more accurate.

However, if I understand well the documentation, the only regression model available (for now) is linear regression. A nice addition would be:

  1. Lasso and Ridge regressions (or more generally ElasticNet): both are linear models so it is a matter of API (I suppose) since the only difference with Linear Regression is the training which is not handled by Concrete ML.
  2. Polynomial regression and splines: it might require a bit more work (i.e. not only a simple child class to create) since it is not linear but splines are usually appreciated for their interpretability.

In sklearn, you can find many other regressors but, from my point of view, that’s the two models I would highlight in priority.

By the way, all your work looks awesome! Looking forward to your next releases!

2 Likes

Hello Marc,

Thanks a lot for the conversation we’ve had and these official requests you make to us. And thanks a lot for the warm words, we appreciate a lot.

For your information, several new models are coming in the next release (this summer), including Poisson, Gamma, Tweedie. And perfect, we’ve added your requests to our list, this is internal issues #1352 and #1353 for your information. I can’t promise they’ll be in the next release but we’ll try our best, and worse case, they’ll be in the +2 release.

Cheers

1 Like

New version of Concrete-ML (v0.3): more models in Linear Models - Concrete ML, and even more models are due in v0.4

1 Like

Even more models in Concrete-ML 0.4, see Linear Models - Concrete ML

1 Like