nok / sklearn-porter

Transpile trained scikit-learn estimators to C, Java, JavaScript and others.
BSD 3-Clause "New" or "Revised" License
1.28k stars 170 forks source link

Is there any plan to support RandomForestRegressor? #84

Open michelsanner opened 2 years ago

michelsanner commented 2 years ago

Thanks

ys31jp commented 2 years ago

Hi, @michelsanner have you find alternative way?

yin-zhang commented 2 years ago

@ys31jp have you found a way to convert RandomForestRegressor?

ys31jp commented 2 years ago

@ys31jp have you found a way to convert RandomForestRegressor?

yes, I found way to convert it into pure Java.

nok commented 2 years ago

Hello @michelsanner , @yin-zhang and @ys31jp ,

thanks all for your interest. I noticed it for one of the coming releases. It shouldn't be difficult.

Kind regards, Darius

yin-zhang commented 2 years ago

I ended up using skompiler to dump each individual tree, and combine the result.

ys31jp commented 2 years ago

Hello @michelsanner , @yin-zhang and @ys31jp ,

thanks all for your interest. I noticed it for one of the coming releases. It shouldn't be difficult.

Kind regards, Darius

Thanks in advance.

ys31jp commented 2 years ago

I ended up using skompiler to dump each individual tree, and combine the result.

which languages you need to be convert?

michelsanner commented 2 years ago

I’d Like to generate C or C++ coded for Random Forest Regressors

thanks

From: ys31jp @.> Date: Tuesday, May 17, 2022 at 5:07 AM To: nok/sklearn-porter @.> Cc: Michel Sanner @.>, Mention @.> Subject: Re: [nok/sklearn-porter] Is there any plan to support RandomForestRegressor? (#84)

I ended up using skompiler to dump each individual tree, and combine the result.

which languages you need to be convert?

— Reply to this email directly, view it on GitHubhttps://github.com/nok/sklearn-porter/issues/84#issuecomment-1128784707, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALNO25ZCWIZOICAZFY7LOPDVKODO3ANCNFSM5EMSJPFA. You are receiving this because you were mentioned.Message ID: @.***>

yin-zhang commented 2 years ago

I ended up using skompiler to dump each individual tree, and combine the result.

which languages you need to be convert?

I also needed C code

FailedPipeline commented 1 year ago

Any update on RandomForestRegressor to C++ ? Also interested in this functionality thanks.

FailedPipeline commented 1 year ago

@ys31jp have you found a way to convert RandomForestRegressor?

yes, I found way to convert it into pure Java.

@ys31jp how did you do so?