EXPERIMENTAL: For IPython kernels only.
Interactively plot a model displaying the flow of activations.
Requires installing ipywidgets, and enabling the extension in jupyter notebook or jupyter lab.
Jupyter notebook: jupyter nbextension enable --py widgetsnbextension
Jupyter lab: jupyter labextension install @jupyter-widgets/jupyterlab-manager
Arguments:
model {feyn.Model} -- A feyn.Model we want to describe given some data.
data {DataFrame} -- A Pandas DataFrame to compute on.
Returns:
SVG -- SVG of the model summary.
Plot an interactive version of the feyn.plots.plot_model_response_1d (model.plot_response_1d),
that allows you to change the response variable `by`.
Arguments:
model {feyn.Model} -- The model to calculate the response for
data {DataFrame} -- The data to be analyzed
Keyword Arguments:
input_constraints {dict} -- The constraints on the remaining model inputs (default: {None})