Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get the score from logistic regression prediction #340

Open
wangjiawen2013 opened this issue Apr 10, 2024 · 0 comments
Open

get the score from logistic regression prediction #340

wangjiawen2013 opened this issue Apr 10, 2024 · 0 comments

Comments

@wangjiawen2013
Copy link

wangjiawen2013 commented Apr 10, 2024

Hi,
We could get the prediction of logisticregression model using

let validation = model.set_threshold(threshold).predict(&dataset_validation);

However, can we get the prediction score of each records ? Then we can can put the prediction result into Excel and set the threshold mannually.

@wangjiawen2013 wangjiawen2013 changed the title get the score from logisticregression prediction get the score from logistic regression prediction Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant