Comments (2)
We still have the same problem in R
library("DALEX")
#> Welcome to DALEX (version: 2.4.3).
#> Find examples and detailed introduction at: http://ema.drwhy.ai/
library("randomForest")
#> randomForest 4.7-1.1
#> Type rfNews() to see new features/changes/bug fixes.
model_apart_lm <- archivist::aread("pbiecek/models/55f19")
explain_apart_lm <- DALEX::explain(model = model_apart_lm,
data = apartments_test[,-1],
y = apartments_test$m2.price,
label = "Linear Regression")
#> Preparation of a new explainer is initiated
#> -> model label : Linear Regression
#> -> data : 9000 rows 5 cols
#> -> target variable : 9000 values
#> -> predict function : yhat.lm will be used ( default )
#> -> predicted values : No value for predict function target column. ( default )
#> -> model_info : package stats , ver. 4.2.3 , task regression ( default )
#> -> predicted values : numerical, min = 1792.597 , mean = 3506.836 , max = 6241.447
#> -> residual function : difference between y and yhat ( default )
#> -> residuals : numerical, min = -257.2555 , mean = 4.687686 , max = 472.356
#> A new explainer has been created!
model_apart_rf <- archivist::aread("pbiecek/models/fe7a5")
explain_apart_rf <- DALEX::explain(model = model_apart_rf,
data = apartments_test[,-1],
y = apartments_test$m2.price,
label = "Random Forest")
#> Preparation of a new explainer is initiated
#> -> model label : Random Forest
#> -> data : 9000 rows 5 cols
#> -> target variable : 9000 values
#> -> predict function : yhat.randomForest will be used ( default )
#> -> predicted values : No value for predict function target column. ( default )
#> -> model_info : package randomForest , ver. 4.7.1.1 , task regression ( default )
#> -> predicted values : numerical, min = 1985.837 , mean = 3506.107 , max = 5788.052
#> -> residual function : difference between y and yhat ( default )
#> -> residuals : numerical, min = -762.3422 , mean = 5.416971 , max = 1318.093
#> A new explainer has been created!
mr_lm <- DALEX::model_performance(explain_apart_lm)
mr_rf <- DALEX::model_performance(explain_apart_rf)
# Works good
plot(mr_rf, mr_lm,
geom = "boxplot",
show_outliers = 1)
# Doesn't assing the outliners correctly
plot(mr_lm, mr_rf,
geom = "boxplot",
show_outliers = 1)
Created on 2024-06-08 with reprex v2.0.2
from dalex.
close due to lack of human resources
from dalex.
Related Issues (20)
- Default color theme in DALEX HOT 1
- Add `cross_entropy` as model performance measure in `models_performance`
- thanks
- Add EDA plots to Arena in Python
- add shapr implementation to dalex
- Issue creating a DALEXtra-explainer with response-type mlr3 learners HOT 4
- Error in `predict_profile` when a Dataframe with MultiIndex is Used HOT 2
- Add support for kernelshap
- predict_parts() at dataset level HOT 6
- ability to use something other than plotly to make plots HOT 3
- Option to specify random effects? HOT 1
- PDP with 2 variables HOT 1
- update warning occurring when specifying `variable_splits`
- no applicable method for 'predict' applied to an object of class "c('randomForest.formula', 'randomForest')" HOT 1
- too many negative values of RMSE in a model_parts option HOT 2
- Differences between performance metrics between ranger model and its explain HOT 2
- error on plot predict_parts duplicate row names HOT 2
- [Python] Use `weights` in Permutation Feature Importance calculation HOT 1
- Does DALEX work with PyTorch models? HOT 3
- Error in predict_parts_shap_aggregated () HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dalex.