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

Updated precision of output metrics #396

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

kushagrathisside
Copy link

Problem

Precision value= 2 involves round-off of many decimal values making the multiple algorithms show same score. When the percentage is mentioned, no decimal point can be mentioned from the prediction, which raises issues when the work is mentioned in documents. Also, these close scores make algorithm selection for hyperparameter tuning difficult.

Screenshot:

I got 5 algorithms with same accuracy 0.86 on using LazyClassifier.
Metric Score for Software Reliability dataset

Updates Made: I have updated the precision value to 4.

Precision = 2 gave many algorithms same score making the comparison difficult. Hence, made the precision value 4 so that the issue is solved.
@kushagrathisside kushagrathisside changed the title Updated precision of output metrics to 4 Updated precision of output metrics Dec 20, 2022
@kushagrathisside
Copy link
Author

@shankarpandala

@shankarpandala
Copy link
Owner

May be you should create a parameter to pass for precession for user to chosse.
precession for 4 is not much use for many

@kushagrathisside
Copy link
Author

The change in value of precision has been made in lines 33 and 34, which sets the values without being affected by user inputs. Also, if values 2 or 4 are considered then I made the value to 4 to present 2 values to the left and 2 to the right (decimal values). If I have to add some parameter, then please suggest me the function/class where I can add it.

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

Successfully merging this pull request may close these issues.

2 participants