Skip to content

Partial display of ModelStudio applet in Quatro HTML file #116

@arodionoff

Description

@arodionoff

I'm trying to create an HTML file by rendering a Quatro file with the following code in Posit Cloud:

---
title: "TEST ModelStudio"
format: html
---

## 	modelStudio in R
'''{r}
library("DALEX")
library("ranger")
library("modelStudio")

# fit a model
model <- ranger(score ~., data = happiness_train)

# create an explainer for the model    
explainer <- explain(model,
                     data = happiness_test,
                     y = happiness_test$score,
                     label = "Random Forest",
                     verbose = FALSE)

# make a studio for the model
modelStudio(explainer)
'''

But in Quarto, a file is created in which modelStudio generates an applet, which is partially visible only in the upper left part.
image

How can we make it possible to demonstrate the entire applet in its entirety?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature 💡New feature or enhancement requestquestion ❔Further information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions