cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

conversion of code from scala to python

vanshikagupta
New Contributor II

does databricks community edition provides with databricks ML visualization for pyspark, just the same as provided in this link for scala. https://docs.azuredatabricks.net/_static/notebooks/decision-trees.html

also please help me to convert this line of code to python as i am new to python and have no knowledge of scala. "val tree = model.stages.last.asInstanceOf[DecisionTreeClassificationModel]

display(tree)"

Thank you in advance!

2 REPLIES 2

miklos
Contributor

Yes, CE supports it.

It isn't supported in python yet.

Thank you! but just a small query, i read in a post of 2015 that the visualizations are not supported in python, but uptill now should'nt pyspark support them?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.