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

Make explain() smarter #95

Closed
pbiecek opened this issue Jul 22, 2019 · 2 comments
Closed

Make explain() smarter #95

pbiecek opened this issue Jul 22, 2019 · 2 comments
Assignees
Labels
feature 💡 New feature or enhancement request

Comments

@pbiecek
Copy link
Member

pbiecek commented Jul 22, 2019

The explain() function should be more verbose to inform if everything is set up ok.
The explain() function should report what defaults are selected.

@pbiecek pbiecek added the feature 💡 New feature or enhancement request label Jul 22, 2019
@pbiecek pbiecek self-assigned this Jul 22, 2019
@pbiecek
Copy link
Member Author

pbiecek commented Jul 22, 2019

Explain

pbiecek added a commit that referenced this issue Jul 22, 2019
@pbiecek
Copy link
Member Author

pbiecek commented Jul 22, 2019

Updated verbose decription:

wine_lm <- explain(wine_lm_model4)
#> Preparation of a new explainer is initiated
#>   -> model label:  lm  (default)
#>   -> data:  4898  rows  5  cols (extracted from model)
#>   -> target variable is not specified! (WARNING)
#>   -> predict function:  yhat.lm  will be used (default)
#>   -> predicted values:  numerical, min =  4.880047 , mean =  5.877909 , max =  7.867825  
#>   -> residual function: difference between y and yhat (default)
#> A new explainer has been created!

wine_lm <- explain(wine_lm_model4, data = wine, label = "model_4v", predict_function = predict)
#> Preparation of a new explainer is initiated
#>   -> model label:  model_4v 
#>   -> data:  4898  rows  12  cols 
#>   -> target variable is not specified! (WARNING)
#>   -> predict function:  predict 
#>   -> predicted values:  numerical, min =  4.880047 , mean =  5.877909 , max =  7.867825  
#>   -> residual function: difference between y and yhat (default)
#> A new explainer has been created!

@pbiecek pbiecek closed this as completed Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 💡 New feature or enhancement request
Projects
None yet
Development

No branches or pull requests

1 participant