-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Implement Support for Regression Models #1
Comments
kidnly assign it to me |
@KunjShah95 go ahead! |
not able to create pulll request so attaching the solution here Extending ExplainableAI to Support Regression ModelsTo extend the ExplainableAI package to support regression models, we need to make the following changes:1. Update the Model InterfaceThe current model interface is designed to work with classification models. We need to modify it to accommodate regression models. This can be done by adding a new method to the interface that returns the predicted values for regression models.pythonclass ModelInterface:
2. Implement Regression Model SupportWe need to update the existing implementation to support regression models. This involves modifying the explain method to handle regression models.pythondef explain(model, X, y, **kwargs): 3. Add Regression Model ClassesWe need to add new classes for regression models that implement the updated model interface.pythonclass RegressionModel(ModelInterface):
4. Update the Explanation AlgorithmsWe need to update the explanation algorithms to support regression models. This involves modifying the algorithms to handle the predicted values returned by regression models.pythondef lime_explain(model, X, y, **kwargs): By making these changes, we can extend the ExplainableAI package to support regression models. |
Hey, please try to make a PR along needed codes, it would be easier to me to assign labels and merge it! |
tried doing it but issue is there so pr is not happening |
might be this resources help you: Or you can see contribution.md present in our codebase |
i have pull requuest the fetaures u wanted to implement it in the code |
kidnly check it |
Assign me this Work. I would love to contribute. |
i have already submitted the pr for it if u wish to contribute in it then u are welcome to do so |
Implement Support for Regression Models #1
will i get hactober fest reward for completing it |
Currently, the explainableAI package only supports classification models. We need to extend its functionality to work with regression models as well.
The text was updated successfully, but these errors were encountered: