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

Xplainable as a surrogate model #83

Open
tim-huntley opened this issue Sep 29, 2023 · 0 comments
Open

Xplainable as a surrogate model #83

tim-huntley opened this issue Sep 29, 2023 · 0 comments

Comments

@tim-huntley
Copy link
Collaborator

Proposed Feature

Currently, xplainable has a suite of standalone solid models designed to be inherently explainable. We would also like to implement a new feature that allows xplainable to be used as a surrogate model to explain other complex models.

Vision

from xplainable.surrogates import XClfSurrogate

# Other code here ...

# Some complex model
model = XGBClassifier()
model.fit(X_train, y_train)

surrogate = XClfSurrogate()
explainer = surrogate.fit(model, X_train, y_train)

explainer.explain()
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

No branches or pull requests

1 participant