ENH HTML displays structure change to be vertical #33678
ENH HTML displays structure change to be vertical #33678DeaMariaLeon wants to merge 14 commits intoscikit-learn:mainfrom
Conversation
|
EDIT: With this exampleimport numpy as npfrom sklearn.compose import ColumnTransformer np.random.seed(0) numeric_features = ["age", "fare"] categorical_features = ["embarked", "sex", "pclass"] ) X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=0) clf.fit(X_train, y_train) Second:
And so on. |
|
Thank you for preparing a draft for this @DeaMariaLeon! I think it could make sense to play around with some designs outside the HTML implementation first to iterate on how the features could be integrated best. I'm not sure what the best tool for that would be. How did you create the image in the description above? |
Powerpoint. Your drawing looks good, thanks. |
|
|
|
Just to be clear: at this point the feedback I'm looking for is from the user point of view only. |




Reference Issues/PRs
Towards #26595
What does this implement/fix? Explain your changes.
The objective here is the same as in #33647 but using a different method. Here I use borders to create the tree lines.
Issue can be found here:
Reorganize the HTML diagram to have a more condensed view or a more vertical view
This is what I understood:
AI usage disclosure
I used AI assistance for:
Used Copilot to fix a few bugs
Any other comments?