Last active
April 26, 2020 13:48
-
-
Save Mehdi-Amine/905c695c17af1c44752a305a99b5dfac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import plotly.graph_objects as go | |
# plotly.offline.init_notebook_mode() # Uncomment if working in a jupyter nb | |
fig = go.Figure(data=go.Scatter3d( | |
x = params[:, 0], y = params[:, 1], z = params[:, 2], | |
mode='lines', | |
line=dict( | |
color='green', | |
width=2 | |
) | |
)) | |
fig.update_layout(scene = dict(xaxis_title = 'Bias', yaxis_title = 'Weight 1', zaxis_title = 'Weight 2')) | |
fig.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment