stan125 / distreg.vis Goto Github PK
View Code? Open in Web Editor NEWFramework for the visualization of distributional regression models
Framework for the visualization of distributional regression models
With help from @hriebl
Thomas Kneib:
"Dann hätte ich auch noch eine neue Idee: Bei den Szenarien ist ja ein bisschen das Problem, dass man nicht weiß, ob es die Kovariablenkombination so in der Praxis gibt. Man könnte z.B. jemanden konstruieren, der 20 Jahre alt ist, aber 30 Jahre Berufserfahrung (o.Ä.). Daher wäre eine interessante Frage, ob man in geeigneter Form angeben kann, wie stark ein gewähltes Szenario von den Daten gestützt wird. Z.B. könne man um alle Werte der Kovariablen einen gewissen Puffer legen und dann schauen, wie viel Prozent der Beobachtungen insgesamt in dem Puffer liegen. Das müsste man ja auch nicht immer ausgeben, aber man könnte einen zusätzlichen Button haben, mit dem an die Szenarios dahingehend analysieren kann. Dazu könnte dann auch ein neues Fenster aufgehen, in dem man die Puffer einstellen kann."
Essentially find a nicer solution for 3383def.
Apparently, it says that package tidyselect
is missing
Bad and confusing code here:
https://github.com/Stan125/bamlss.vis/blob/master/R/plot_dist.R#L51-L52
and here
https://github.com/Stan125/bamlss.vis/blob/master/R/plot_related_helper.R#L6-L7
... of original explanatory variables.
Thomas Kneib: "Bei Scenario Data kann ich auch Werte festlegen, die außerhalb des beobachteten Wertebereichs sind. Das ist zwar einerseits manchmal wünschenswert, aber natürlich auch ein bisschen gefährlich. Vielleicht könnte man da einen Warnhinweis ausgeben?"
Thomas Kneib: "Bei der bivariaten Normalverteilung würde ich neben dem Perspektiven-Plot auch noch die Möglichkeit eines Kontur- und eines Image-Plots zulassen."
Thomas Kneib: "Eine Exportfunktion des Bildes direkt in PDF, png und Ähnliches wäre natürlich auch noch toll, obwohl das bei Verfügbarkeit des Code vielleicht nicht so entscheidend ist."
so that it works without RStudio also.
.... because it is too easy for mvnorm models
... and then compute mvnorm models with it
-> better for use with plot_moments()
library("bamlss.vis")
library("gamlss")
library("dplyr")
wage_sub <- ISLR::Wage %>%
select(-logwage, -region, -maritl, -jobclass, health_ins)
ndata <- wage_sub %>%
dplyr::select(-wage, -health) %>%
group_by(education) %>%
sample_n(1)
bamlss.vis::preds(wage_model, newdata = ndata)
#> Error in bamlss.vis::preds(wage_model, newdata = ndata): object 'wage_model' not found
... gives an error right now
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.