Comments (6)
Sure, i will take care of it
from auditor.
By the way, ggplot2
plots legends do not work either.
from auditor.
Thank you @hbaniecki
yes, I knew about ggplot, yet for more than 3 models are hard to distinguish anyway due to colors.
from auditor.
Btw, I have experienced a bug in legend.
Including special characters in labels, for example (
makes legend not work.
library(auditor)
titanic <- na.omit(DALEX::titanic)
titanic$survived <- titanic$survived == "yes"
# fit a model
model_glm <- glm(survived ~ ., family = binomial, data = titanic)
# use DALEX package to wrap up a model into explainer
exp_glm <- DALEX::explain(model_glm, data = titanic, y = titanic$survived, label = "glm(1)")
# validate a model with auditor
library(auditor)
eva_glm <- model_evaluation(exp_glm)
model_glm_2 <- glm(survived ~ .-age, family = binomial, data = titanic)
exp_glm_2 <- DALEX::explain(model_glm_2, data = titanic, y = titanic$survived, label = "glm(2)")
eva_glm_2 <- model_evaluation(exp_glm_2)
plotD3_lift(eva_glm, eva_glm_2)
from auditor.
Yes. This legend works on html/css class names. I made space
in label work though.
https://stackoverflow.com/questions/448981/which-characters-are-valid-in-css-class-names-selectors
from auditor.
I guess that i could make it work regardless of label but i would have to rewrite a lot of code
from auditor.
Related Issues (20)
- Structure and add tests
- obsolete example for `plot_prediction` HOT 2
- Include multiclass classification HOT 1
- Calibration curves
- compute_cookdistance makes an inappropriate assumption HOT 1
- Add score_auprc and AUPRC plot HOT 2
- add gh-actions
- use titanic_imputed instead of titanic in documentation HOT 1
- Update paper on arxiv
- Change all deprecated messages into warnings
- change depends R to 3.5 HOT 1
- v1.3.0 checklist HOT 1
- score_auc code HOT 1
- Divide references/ articles for regression/ classification tasks
- improve AUC/ROC calculation HOT 5
- Explanation of the REC and RROC curves HOT 2
- `plot_acf` error with >2 objects provided HOT 1
- remove test dependency of randomForest, which requires R v4.1 to work
- warning message when using auditor to plot lift chart of a decision tree
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 auditor.