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

DNN model prediction not working #4

Open
zafor44 opened this issue Apr 24, 2023 · 0 comments
Open

DNN model prediction not working #4

zafor44 opened this issue Apr 24, 2023 · 0 comments

Comments

@zafor44
Copy link

zafor44 commented Apr 24, 2023

In order to map the flood susceptibility we need to cacluate the probability of being flooded

prediction_prob=model.predict_proba(X_SA) # This function return an array with lists

each list has two values [probability of being not flooded , probability of being flooded]

We need only the probablity of being flooded

We need to add the value coressponding to each point

df_SA['FSM']= prediction_prob[:,1]

not working for me.

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