{"id":20609569,"url":"https://github.com/trilokida/classification_metrics","last_synced_at":"2026-05-29T12:02:31.971Z","repository":{"id":188772913,"uuid":"146612622","full_name":"TrilokiDA/Classification_metrics","owner":"TrilokiDA","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-29T15:01:31.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T03:16:54.818Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TrilokiDA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-08-29T14:30:51.000Z","updated_at":"2018-08-29T15:01:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4aea765-5969-4793-9061-59876106eda8","html_url":"https://github.com/TrilokiDA/Classification_metrics","commit_stats":null,"previous_names":["trilokida/classification_metrics"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrilokiDA%2FClassification_metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrilokiDA%2FClassification_metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrilokiDA%2FClassification_metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrilokiDA%2FClassification_metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrilokiDA","download_url":"https://codeload.github.com/TrilokiDA/Classification_metrics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242257196,"owners_count":20098113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T10:13:55.592Z","updated_at":"2026-05-29T12:02:31.963Z","avatar_url":"https://github.com/TrilokiDA.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Classification_metrics\n\n**Dataset** can be download from https://www.kaggle.com/uciml/pima-indians-diabetes-database\n* *Pregnancies:- Number of times pregnant*\n* *Glucose:- Plasma glucose concentration a 2 hours in an oral glucose tolerance test*\n* *BloodPressure:- Diastolic blood pressure (mm Hg)*\n* *SkinThickness:- Triceps skin fold thickness (mm)*\n* *Insulin:- 2-Hour serum insulin (mu U/ml)*\n* *BMI:- Body mass index (weight in kg/(height in m)^2)*\n* *DiabetesPedigreeFunction:- Diabetes pedigree function*\n* *Age:- Age (years)*\n* *Outcome:- Class variable (0 or 1)*\n\n## Highlight some basic points with code like:\n* Classification accuracy: percentage of correct predictions\n* Null accuracy\n* Comparing the true and predicted response values\n* **Confusion matrix**\n* **Metrics computed from a confusion matrix**\n  * **Classification Accuracy:** Overall, how often is the classifier correct\n  * **Classification Error:** Overall, how often is the classifier incorrect?\n  * **Sensitivity:** When the actual value is positive, how often is the prediction correct?\n  * **Specificity:** When the actual value is negative, how often is the prediction correct?\n  * **False Positive Rate:** When the actual value is negative, how often is the prediction incorrect?\n  * **Precision:** When a positive value is predicted, how often is the prediction correct?\n* **Adjusting the classification threshold**\n* **ROC Curves and Area Under the Curve (AUC)**\n  * AUC is the percentage of the ROC plot that is underneath the curve.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrilokida%2Fclassification_metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrilokida%2Fclassification_metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrilokida%2Fclassification_metrics/lists"}