Skip to content

Navigation Menu

Sign in
Sign up

Tree visualization? #229

Answered by Mec-iS
MoonKraken asked this question in Q&A
Discussion options

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 😎

You must be logged in to vote

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

Comment options

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.

You must be logged in to vote
0 replies
Answer selected by Mec-iS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /