Skip to content

oort77/plot_pd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

plot_pd

Plots the model's decision boundaries or color-coded probabilities for class 0 in classification tasks.

Arguments:

X:          array of features
y:          corresponding array of targets
features:   tuple of two selected features
proba:      if True, plots probabilities for class 0,
            else plots decision boundary; bool, default - False
grid_size:  defines grid size, very high values will slow 
            down plotting; int, default = 100

About

Plot decision boundaries in ML classification problems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages