Plotly & Cost Function Visualizations | Machine Learning & Data Science Open-source Spotlight #4

preview_player
Показать описание
Stop doing 3D plots with Matplotlib! ❌

Plotly's Python graphing library makes interactive, publication-quality graphs. It's based on JavaScript and similar to Bokeh which I covered last week. I especially like using Plotly for creating 3D interactive plots. It has an intuitive API for passing the data and creating the grid required for 3D plotting. Much simpler and flexible compared to other libraries.

In addition, in this video I'm also doing some analysis on cost function surfaces, using Plotly to visualize them and explore their appearance for a linear model and a simple neural network.

With these "Machine Learning & Data Science Open Source Spotlight" weekly videos, my objective is to introduce many game-changing libraries, which I believe many people can benefit from.

Source code:

I would love to hear your feedback!
Did this video teach you something new?
Are there any open-source libraries you think deserve a spotlight?
Let me know in the comments! 👇🏻
Рекомендации по теме
Комментарии
Автор

Great video with good examples.
Loved the MiniNet part.
Thank you.

gholamrezadar
Автор

Thanks for the video! One question, what to do when I have z as pd.Series and not as a matrix? Not sure what would be the right way to convert it to matrix. I can use reshape, but I'm not sure it will shape the matrix as required.

fb
Автор

Thanks for the videos. I have a question about multivariate data. I have three independent variables and would like to see their occurrences by coloring the data based on their probability densities (plot type can be contour, surf etc.) Which function should I use? Could you please help me with this?

ecemgungor
Автор

Hey Dan, can you explain how to change the color scale in green - yellow - red?

saidmkc
Автор

Can we do surface plot in plotly where x, y, z are just 1d array. For eg. x=[1, 2, 3, ..], y=[1, 4, 4, 5, ...] z=[2, 3, 4, 5, ...] all of same dimension?

rijankarkee
Автор

Could you please provide github link for this code

karanbhuva