ombhojane / explainableai

Increase interpretability of your models!
https://pypi.org/project/explainableai/
MIT License
25 stars 40 forks source link

Enhancement of Model Evaluation Metrics #102

Open Kajalkansal30 opened 1 week ago

Kajalkansal30 commented 1 week ago

Currently, the evaluate_model function focuses primarily on accuracy and F1-score for classification models, and MSE and R² for regression models. We could enhance this by including additional evaluation metrics like Precision, Recall, and ROC-AUC for classifiers, and MAE (Mean Absolute Error) and Adjusted R² for regression models. This would provide users with a more comprehensive view of model performance.

github-actions[bot] commented 1 week ago

👋 Thank you for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!

anushka1511 commented 1 week ago

I would like to work on this.

Description

The evaluate_model function currently focuses primarily on accuracy and F1-score for classification models, as well as Mean Squared Error (MSE) and R² for regression models. To improve this function, we propose incorporating additional evaluation metrics, including Precision, Recall, and ROC-AUC for classifiers, along with Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), R², and Symmetric Mean Absolute Percentage Error (SMAPE) for regression models.

Problem it Solves

This enhancement ensures that users receive a comprehensive evaluation of model performance, facilitating better-informed decisions regarding model selection, tuning, and interpretation in the context of explainable AI.

Proposed Solution

Add New Metrics: Extend the evaluate_model function to compute and return additional metrics:

Alternatives Considered

Develop custom functions for each metric if more flexibility is needed for specific use cases.

Additional Context

This proposal pertains to the main.py file, which is used for evaluating machine learning models with XAI.

ombhojane commented 6 days ago

hey @Kajalkansal30 do you want to work on this issue as you've raised it first