-
-
Notifications
You must be signed in to change notification settings - Fork 107
Tree visualization? #229
Is there any way to create a visualization of a decision tree such as the one in the docs? https://smartcorelib.org/assets/imgs/tree.svg
I didn't currently see a way to do that but i just wanted to make sure 😎
All reactions
thanks for the question.
No at the moment we don't provide in-library visualizations but you can achieve that by using the plotters library as showed at the bottom of this notebook: https://github.com/smartcorelib/smartcore-jupyter/blob/main/notebooks/03.00-Logistic-Regression.ipynb
I don't know how that diagram was created, if you find out I will be glad to know.
we can consider providing plotting traits in the future when the API will be stable, anyway the use of notebooks looks to be and probably will be in my opinion more convenient.
Replies: 1 comment
thanks for the question.
No at the moment we don't provide in-library visualizations but you can achieve that by using the plotters library as showed at the bottom of this notebook: https://github.com/smartcorelib/smartcore-jupyter/blob/main/notebooks/03.00-Logistic-Regression.ipynb
I don't know how that diagram was created, if you find out I will be glad to know.
we can consider providing plotting traits in the future when the API will be stable, anyway the use of notebooks looks to be and probably will be in my opinion more convenient.