Skip to content

Commit

Permalink
fix doc and tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
luigibonati committed Jun 6, 2024
1 parent 0192845 commit 2aec410
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/api_cvs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ General framework which allows to optimize a single model with different loss fu

Framework for the numerical determination of the committor function based on its variational principle.

.. rubric:: Committor

.. currentmodule:: mlcolvar.cvs

.. autosummary::
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/examples/ex_DeepLDA.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@
}
],
"source": [
"from mlcolvar.utils.explain import sensitivity_analysis\n",
"from mlcolvar.explain import sensitivity_analysis\n",
"\n",
"results = sensitivity_analysis(model, dataset, feature_names=dataset.feature_names, per_class=False, plot_mode='barh')"
]
Expand Down
7 changes: 4 additions & 3 deletions docs/notebooks/tutorials/expl_lasso.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# LASSO\n",
"### Using sparse linear models (LASSO) to interpret the results"
"# Sparse linear models\n",
"### Using LASSO to interpret the results"
]
},
{
Expand Down Expand Up @@ -253,10 +253,11 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"# Sparse linear models"
"## LASSO"
]
},
{
Expand Down
2 changes: 2 additions & 0 deletions docs/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ How to customize the CVs, either using the multitask framework or by creating ne

tutorials_advanced

.. rubric:: Interpreting CVs

Some examples of how to interpret the CVs, using sensitivity analysis or sparse linear models.

.. toctree::
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials_explain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ Interpreting CVs
:maxdepth: 1

notebooks/tutorials/expl_features_relevances.ipynb
notebooks/tutorials/expl_stateinterpreter.ipynb
notebooks/tutorials/expl_lasso.ipynb
notebooks/tutorials/expl_stateinterpreter.ipynb

0 comments on commit 2aec410

Please sign in to comment.