Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphs_integration #161

Open
wants to merge 251 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
e3d3e78
Changed importing styles.
jintuzhang Mar 31, 2024
7d2b499
Added the neighbor list module.
jintuzhang Mar 31, 2024
a6fc30d
Added more placeholders.
jintuzhang Apr 1, 2024
12a944b
Added doc.
jintuzhang Apr 1, 2024
f07d4b5
Fixed some styles.
jintuzhang Apr 1, 2024
17ad4ae
Added more placeholders.
jintuzhang Apr 1, 2024
11d55bd
Added the graph data module.
jintuzhang Apr 1, 2024
417bb85
Added doc and more tests.
jintuzhang Apr 1, 2024
727561c
Minor fix.
jintuzhang Apr 1, 2024
8c6c3b2
Switched to new pyg grammar.
jintuzhang Apr 1, 2024
0c095c4
Modified file layouts.
jintuzhang Apr 2, 2024
6591511
Added more helper functions.
jintuzhang Apr 2, 2024
96edcd0
Added datamodule.
jintuzhang Apr 2, 2024
7f4b830
Added more functions.
jintuzhang Apr 2, 2024
8cb7218
Fixed some styles.
jintuzhang Apr 2, 2024
6c5e85c
Added an alias to the dataset object.
jintuzhang Apr 3, 2024
3930be3
Resolved the circular dependency problem.
jintuzhang Apr 3, 2024
0dc2e1d
Added missing type hints.
jintuzhang Apr 3, 2024
8ff7203
Modified file layouts.
jintuzhang Apr 3, 2024
bb2edec
Changed filenames.
jintuzhang Apr 3, 2024
a662346
Introduced the dataset class.
jintuzhang Apr 3, 2024
9eaf323
Added the IO function.
jintuzhang Apr 3, 2024
2beb7f3
Added selection checks and changed tests.
jintuzhang Apr 4, 2024
2c876d1
Updated `__repr__`.
jintuzhang Apr 4, 2024
31975aa
Isolated nodes are not that bad.
jintuzhang Apr 4, 2024
b3b5420
Added radial functions.
jintuzhang Apr 4, 2024
cab127d
Modified file layouts.
jintuzhang Apr 4, 2024
39846f3
Added a dataset field to distinguish receivers.
jintuzhang Apr 4, 2024
4d85d66
Added edge encoding function.
jintuzhang Apr 8, 2024
f8bfab6
Modified file layouts.
jintuzhang Apr 8, 2024
27a79bc
Fixed typos.
jintuzhang Apr 8, 2024
c163ba2
Fixed typos.
jintuzhang Apr 8, 2024
6b9deb5
Added scatter functions.
jintuzhang Apr 8, 2024
3cc1e36
Minor fix.
jintuzhang Apr 8, 2024
12f37dd
Updated torch tools.
jintuzhang Apr 8, 2024
167e608
Modified shapes of some dataset fields.
jintuzhang Apr 8, 2024
9a8867a
Added models.
jintuzhang Apr 9, 2024
debec0e
Modified import schemes.
jintuzhang Apr 9, 2024
6ed1c87
Renamed a directory.
jintuzhang Apr 9, 2024
0998a66
Modified import schemes.
jintuzhang Apr 9, 2024
016c1e4
Added a doc string.
jintuzhang Apr 9, 2024
ca194f2
Changed test function outputs.
jintuzhang Apr 9, 2024
31e0064
Modified shapes of some dataset fields.
jintuzhang Apr 9, 2024
4b04f18
Minor fix.
jintuzhang Apr 9, 2024
00b3734
Added DeepTDA.
jintuzhang Apr 9, 2024
5b4550c
Fixed lightning training.
jintuzhang Apr 10, 2024
ef44fc6
Changed the default batch size.
jintuzhang Apr 10, 2024
07db17d
Removed nonlinearity in the readout function.
jintuzhang Apr 10, 2024
9a5ad39
Updated default parameters.
jintuzhang Apr 11, 2024
18c4c27
Made everything compilable.
jintuzhang Apr 12, 2024
99afa6a
Change units to Angstrom.
jintuzhang Apr 12, 2024
98ac5b1
Fixed cell size.
jintuzhang Apr 12, 2024
927c55d
Added more model attributes.
jintuzhang Apr 12, 2024
cda2b31
Fixed for plumed interface.
jintuzhang Apr 12, 2024
6e50651
Added tests
jintuzhang Apr 12, 2024
c2b821a
Fixed dtype.
jintuzhang Apr 16, 2024
c81dd46
Modified default parameters.
jintuzhang Apr 19, 2024
eeec208
Removed unused code.
jintuzhang Apr 22, 2024
58845a8
Added a dataset option.
jintuzhang Apr 22, 2024
c1bf864
Added a progress bar.
jintuzhang Apr 24, 2024
b5d986c
Be quiet during testing.
jintuzhang May 3, 2024
3d27e1a
Fixed spaces.
jintuzhang May 3, 2024
39afb95
Added a very basic readme.
jintuzhang May 3, 2024
ec0b715
Fixed normal DeepTDA training.
jintuzhang May 8, 2024
c531e4e
Added `utils.py` back.
jintuzhang May 9, 2024
76b82f6
Merge branch 'luigibonati:main' into gnn
jintuzhang May 13, 2024
80d647e
Merge branch 'luigibonati:main' into gnn
jintuzhang May 17, 2024
db06dd5
Merge branch 'luigibonati:main' into gnn
jintuzhang May 23, 2024
144674e
Updated the dataset code.
jintuzhang Jun 4, 2024
9e37a3b
Added comments.
jintuzhang Jun 4, 2024
587b62c
Added the metaphysics module.
jintuzhang Jun 4, 2024
f06c5f6
Allowed to index dataset with a range.
jintuzhang Jun 4, 2024
a0653be
Added components to the metaphysics module.
jintuzhang Jun 4, 2024
a292a9f
Added more tests.
jintuzhang Jun 5, 2024
156e7d1
Changed import order.
jintuzhang Jun 5, 2024
db6aea7
Used batchs in analysis.
jintuzhang Jun 5, 2024
6b5d273
Removed extra keywords.
jintuzhang Jun 5, 2024
3ff8326
Sync directory layout from upstream.
jintuzhang Jun 6, 2024
fd26ea9
Cleaned code.
jintuzhang Jun 6, 2024
a330cc8
Fixed node indices in output.
jintuzhang Jun 6, 2024
b5d4a2e
Read `n_out` from model options.
jintuzhang Jun 10, 2024
4052466
Added dataset support for DeepTICA.
jintuzhang Jun 10, 2024
dc6e132
Make more parameter tests.
jintuzhang Jun 11, 2024
0b6ee02
Added GraphDeepTICA.
jintuzhang Jun 11, 2024
77c52b7
Changed data type.
jintuzhang Jun 11, 2024
e6c9aa4
Made `GraphDeepTICA` compilable.
jintuzhang Jun 11, 2024
94937ad
Fixed for PLUMED.
jintuzhang Jun 11, 2024
d8d96fa
Merge branch 'luigibonati:main' into gnn
jintuzhang Jun 11, 2024
c501e8e
Set default dtype.
jintuzhang Jun 13, 2024
aea9d5a
Added tests.
jintuzhang Jun 13, 2024
01a9a5c
Merge branch 'luigibonati:main' into gnn
jintuzhang Jun 13, 2024
bb5507f
Added a logo.
jintuzhang Jun 13, 2024
b1c6b29
Centered logo.
jintuzhang Jun 13, 2024
8b28254
Centered logo.
jintuzhang Jun 13, 2024
882d732
Centered logo.
jintuzhang Jun 13, 2024
c84dd46
Added a normalizing option.
jintuzhang Jun 14, 2024
8470491
Merge branch 'luigibonati:main' into gnn
jintuzhang Jun 14, 2024
e7a3d10
Changed default parameter.
jintuzhang Jun 14, 2024
fa8ce5e
Merge branch 'luigibonati:main' into gnn
jintuzhang Jun 15, 2024
764c3c4
Changed image width.
jintuzhang Jun 15, 2024
62e0e23
Also mask node features.
jintuzhang Jun 16, 2024
6bfb902
Added extra loss function options.
jintuzhang Jul 1, 2024
e923576
Fixed multiple CV sensitivity.
jintuzhang Jul 5, 2024
fc5d692
Modified default analysis method.
jintuzhang Jul 7, 2024
1bfb626
Fixed import
jintuzhang Jul 8, 2024
f602acb
Added the Gaussian basis function.
jintuzhang Aug 5, 2024
2b207f1
Fixed dim.
jintuzhang Aug 5, 2024
1cbc7f0
Changed some variable names to be compatible with old models.
jintuzhang Aug 5, 2024
a535a5f
Allowed to switch basis function types.
jintuzhang Aug 7, 2024
0373b6c
Added SchNet.
jintuzhang Aug 12, 2024
5158a10
Fixed attributes.
jintuzhang Aug 12, 2024
c2f6c92
Fixed import.
jintuzhang Aug 13, 2024
50b04a3
Updated one link.
jintuzhang Aug 13, 2024
5ae9707
Moved example inputs to the base class.
jintuzhang Aug 21, 2024
401523d
Removed unused imports.
jintuzhang Aug 21, 2024
97d6097
Changed the behavior of building graphs.
jintuzhang Aug 23, 2024
93e9ca4
Fixed typo.
jintuzhang Aug 24, 2024
f79bdeb
Added a method to dump dataset.
jintuzhang Aug 24, 2024
58853c3
Made the dataset function more robust.
jintuzhang Aug 26, 2024
1bb36d8
Added buffer region support.
jintuzhang Aug 28, 2024
3e9b42c
Changed the default aggr operation.
jintuzhang Sep 2, 2024
205f5fe
Only use system node features as CV values.
jintuzhang Sep 3, 2024
c6aa16c
Fixed tests.
jintuzhang Sep 3, 2024
8f745b8
Merge pull request #1 from jintuzhang/neighbor
jintuzhang Sep 4, 2024
21d807a
Do not compile `torch_scatter`.
jintuzhang Sep 12, 2024
c1b9418
Changed the behavior of `create_label`.
jintuzhang Sep 16, 2024
b527107
Added a mass function.
jintuzhang Sep 16, 2024
da4bb0d
Merge branch 'luigibonati:main' into gnn
jintuzhang Sep 24, 2024
4293b6a
Merge branch 'luigibonati:main' into gnn
jintuzhang Sep 30, 2024
59e9fc2
Merge branch 'luigibonati:main' into gnn
jintuzhang Oct 2, 2024
d64f3d9
Merge branch 'luigibonati:main' into gnn
jintuzhang Oct 9, 2024
259d8fd
Merge branch 'luigibonati:main' into gnn
jintuzhang Nov 7, 2024
a2c4a7a
Create graph module in nn
EnricoTrizio Nov 13, 2024
c84f59d
Added tda graph and tda merged as working examples
EnricoTrizio Nov 13, 2024
2e36371
Moved graph.data into data.graph
EnricoTrizio Nov 13, 2024
9d720f0
modified DictDataset to include metadata and handle graph data
EnricoTrizio Nov 13, 2024
674be27
First test to unify data hadling on ff and gnn
EnricoTrizio Nov 13, 2024
c37eebf
Moved graph.utils.io into main.utils.io
EnricoTrizio Nov 13, 2024
064d3df
Moved progress bar utils to main.utils.plot
EnricoTrizio Nov 13, 2024
f467b24
added notebook and data for testing
EnricoTrizio Nov 13, 2024
fb25800
Fixed requirements and test env
EnricoTrizio Nov 14, 2024
e6bf404
update example notebook
EnricoTrizio Nov 14, 2024
d50c12b
Moved matscipy to pip
EnricoTrizio Nov 14, 2024
af5d238
Fixed metadata initialization
EnricoTrizio Nov 14, 2024
911e213
added data type key to dict dataset and metadata
EnricoTrizio Nov 14, 2024
c27f2aa
fixed typo
EnricoTrizio Nov 14, 2024
21a2103
Added utils to save and load datasets
EnricoTrizio Nov 15, 2024
2f7995e
Grouped utils functions for graph datasets
EnricoTrizio Nov 15, 2024
d1e859d
Fixed typo
EnricoTrizio Nov 15, 2024
85b5672
Fixed imports and first test
EnricoTrizio Nov 15, 2024
48eb8bc
Added test files for graphs
EnricoTrizio Nov 15, 2024
8d41415
Added first test
EnricoTrizio Nov 15, 2024
34d1703
Added test for io utils
EnricoTrizio Nov 15, 2024
353b069
Merged datamodule for descritpors and graphs
EnricoTrizio Nov 15, 2024
6883531
Merge branch 'luigibonati:main' into gnn
jintuzhang Nov 19, 2024
84bce7d
first test scripting
EnricoTrizio Nov 20, 2024
a8f689d
Removed useless file
EnricoTrizio Nov 20, 2024
ddcded4
Fixed imports
EnricoTrizio Nov 20, 2024
f0dfeb0
Cleaned and fixed useless imports
EnricoTrizio Nov 20, 2024
5925c86
Test changing layers to model
EnricoTrizio Nov 20, 2024
4b39bc3
Fixed typings
EnricoTrizio Nov 21, 2024
6c8d539
First attmpt of committor.
jintuzhang Sep 17, 2024
9e2a1a1
Changed loss function expressions.
jintuzhang Sep 23, 2024
4b45a9d
Added two model options.
jintuzhang Sep 23, 2024
1382fc3
Fixed Kolmogorov bias.
jintuzhang Sep 24, 2024
dc4e1d4
Fixed output dim.
jintuzhang Sep 24, 2024
b3bcd6c
Fixed training.
jintuzhang Sep 25, 2024
f11d1c4
Fixed deltaF bug.
jintuzhang Oct 2, 2024
4b4ebac
Added a loss term.
jintuzhang Oct 15, 2024
0341bcf
Smooth GVP.
jintuzhang Nov 13, 2024
cba40eb
Added utils to create graph example input for tests
EnricoTrizio Nov 21, 2024
67b96ee
Intermediate test CV models
EnricoTrizio Nov 22, 2024
5565118
Fixed test
EnricoTrizio Nov 25, 2024
6c0b72e
Merge branch 'luigibonati:main' into gnn
jintuzhang Nov 26, 2024
4940a98
Merge branch 'main' of https://github.com/luigibonati/mlcolvar into g…
EnricoTrizio Nov 27, 2024
1700a6b
added out_features property
EnricoTrizio Nov 28, 2024
1343836
removed if_tracing and in_features, added setup and model_blocks
EnricoTrizio Dec 3, 2024
52d3886
Improved test data utils with number of atoms
EnricoTrizio Dec 3, 2024
d3e7b89
Updated DeepTDA
EnricoTrizio Dec 3, 2024
a4f76c1
Updated DeepLDA
EnricoTrizio Dec 3, 2024
c47d7e3
Updated test notebook
EnricoTrizio Dec 3, 2024
b072ec6
Added backward method
EnricoTrizio Dec 3, 2024
0debbcc
removed out_features keyword
EnricoTrizio Dec 3, 2024
fe63894
simplified training_step
EnricoTrizio Dec 3, 2024
5338da9
Added random weights keyword
EnricoTrizio Dec 3, 2024
41eba20
Updated regression CV
EnricoTrizio Dec 3, 2024
dfee8ea
Update autoencoder-based CVs
EnricoTrizio Dec 3, 2024
1c657e8
Added more general slicing of datasets
EnricoTrizio Dec 3, 2024
3ad1692
Fixe dataset representation
EnricoTrizio Dec 3, 2024
781015a
First timelagged utils for graphs
EnricoTrizio Dec 3, 2024
919aa9b
Fixed __getitem__
EnricoTrizio Dec 4, 2024
94c40ef
Added optional key
EnricoTrizio Dec 4, 2024
0dd0d05
Make timelagged utils work with graphs
EnricoTrizio Dec 5, 2024
3a1c0f1
updated deepTICA
EnricoTrizio Dec 5, 2024
fd2a0f9
Fixed formats
EnricoTrizio Dec 5, 2024
a766446
Fixed typo
EnricoTrizio Dec 5, 2024
53a52ef
Renabled original test with new signature of BaseCV
EnricoTrizio Dec 5, 2024
adadd41
Added not implemented error for GNN-based
EnricoTrizio Dec 5, 2024
dc650a3
Merge branch 'gnn' of https://github.com/jintuzhang/mlcolvar into gra…
EnricoTrizio Dec 5, 2024
4f89aa8
Added two model options, see also commit 4b45a9ded1f7da46cc1a0eac091a…
EnricoTrizio Dec 5, 2024
d27fa01
Added two model options
EnricoTrizio Dec 5, 2024
8797481
Fixed model check
EnricoTrizio Dec 5, 2024
031aa7f
First tests committor
EnricoTrizio Dec 6, 2024
409da50
Updated layers key to model in notebooks
EnricoTrizio Dec 9, 2024
bb94a9a
Udate layers key to model in tests
EnricoTrizio Dec 9, 2024
1fe47a3
Fixed checkpointing AE based CVs
EnricoTrizio Dec 9, 2024
f263791
Update notebook tda
EnricoTrizio Dec 9, 2024
56ad2a9
Fixed json notebook
EnricoTrizio Dec 10, 2024
cfdc531
Added np.ndarray to typings
EnricoTrizio Dec 10, 2024
73745d2
Fixed index of mask for separate datasets
EnricoTrizio Dec 10, 2024
72e1804
Temporary fix with new signature of BaseCV
EnricoTrizio Dec 10, 2024
d8a1ddd
modified scratch notebooks
EnricoTrizio Dec 11, 2024
87484a0
Fixed batch elements
EnricoTrizio Dec 11, 2024
2f95b3e
Added GVP model
EnricoTrizio Dec 11, 2024
29b1481
Added GVP model
EnricoTrizio Dec 11, 2024
9396c9a
Added basic tests for gnn models
EnricoTrizio Dec 11, 2024
0fa5296
Fixed imports
EnricoTrizio Dec 11, 2024
74045e8
Removed already ported code
EnricoTrizio Dec 11, 2024
d902665
Condensed variational mask defintion
EnricoTrizio Dec 11, 2024
d5671ea
added in_features and removed model type
EnricoTrizio Dec 11, 2024
8b21a15
Simplified model parsing
EnricoTrizio Dec 11, 2024
b105989
Restore default dtype after test
EnricoTrizio Dec 12, 2024
468a746
Improved streamline and tests
EnricoTrizio Dec 12, 2024
de43be1
Added tests
EnricoTrizio Dec 12, 2024
7c2ea79
fixed save dataset
EnricoTrizio Dec 12, 2024
d28d9b8
Update testing notebook
EnricoTrizio Dec 12, 2024
73c100e
Removed already ported files
EnricoTrizio Dec 12, 2024
285db63
Fixed test
EnricoTrizio Dec 12, 2024
a834b9e
Fixed test
EnricoTrizio Dec 13, 2024
ec91fbb
Added load_args
EnricoTrizio Dec 13, 2024
2a6bd06
Updated committor weights
EnricoTrizio Dec 13, 2024
16392d8
Removed ported files
EnricoTrizio Dec 13, 2024
1971070
Added log var
EnricoTrizio Dec 13, 2024
2bd81f6
Improved test coverage
EnricoTrizio Dec 13, 2024
3311f3f
Improved tests
EnricoTrizio Dec 16, 2024
e9dca7d
Removed already ported files
EnricoTrizio Dec 16, 2024
290034f
Imporved tests
EnricoTrizio Dec 16, 2024
a08d9a7
Fixed typo
EnricoTrizio Dec 16, 2024
06167b1
Added atom names and indexing to dataset
EnricoTrizio Dec 20, 2024
f4569a6
Added graph node sensitivity
EnricoTrizio Dec 20, 2024
1306f61
Fixed typo
EnricoTrizio Dec 20, 2024
55d07b5
Added z and z_reg to commmittor loss
EnricoTrizio Dec 20, 2024
e59d038
FIxed default atom names with env
EnricoTrizio Dec 23, 2024
e6d90f8
Fixed committor forward
EnricoTrizio Dec 23, 2024
7c41ee9
Updated docstrings
EnricoTrizio Jan 7, 2025
ff01626
Updated docstrings
EnricoTrizio Jan 14, 2025
fe17939
Updated docs requirements file
EnricoTrizio Jan 17, 2025
6d21ce0
Updated doc structure to include graphs code
EnricoTrizio Jan 17, 2025
eafb9cb
Explicity added remove isolated nodes function to fix pyg bug
EnricoTrizio Jan 22, 2025
8ca8eec
Fixed multiple files bug in io function
EnricoTrizio Jan 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion devtools/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ channels:

- pytorch
- conda-forge
- pyg

- defaults
dependencies:
Expand All @@ -24,10 +25,14 @@ dependencies:
- matplotlib
- scikit-learn
- scipy

- pyg

# Pip-only installs
- pip:
- KDEpy
- nbmake
- torch-scatter
- mdtraj
- matscipy


66 changes: 59 additions & 7 deletions docs/api_core.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
Core modules
------------
============

These are the building blocks which are used to construct the CVs.

.. rubric:: NN
NN
--
This module implements the architectures with learnable weights that can be used to build CV models.

Descriptors-based
^^^^^^^^^^^^^^^^
.. currentmodule:: mlcolvar.core.nn

.. autosummary::
Expand All @@ -13,7 +17,31 @@ These are the building blocks which are used to construct the CVs.

FeedForward

.. rubric:: Loss
Graphs-based
^^^^^^^^^^^^
.. currentmodule:: mlcolvar.core.nn.graph

Base class
""""""""""
.. autosummary::
:toctree: autosummary
:template: custom-class-template.rst

BaseGNN

Architectures
"""""""""""""
.. autosummary::
:toctree: autosummary
:template: custom-class-template.rst

SchNetModel
GVPModel


Loss
----
This module implements the loss fucntions that can be used to optimize CV models.

.. currentmodule:: mlcolvar.core.loss

Expand All @@ -28,20 +56,40 @@ These are the building blocks which are used to construct the CVs.
ReduceEigenvaluesLoss
TDALoss

.. rubric:: Stats

Stats
-----
This module implements statistical methods with learnable weights that can be used in CV models.

Base class
^^^^^^^^^^
.. currentmodule:: mlcolvar.core.stats

.. autosummary::
:toctree: autosummary
:template: custom-class-template.rst

Stats

Linear methods
^^^^^^^^^^^^^^
.. currentmodule:: mlcolvar.core.stats

.. autosummary::
:toctree: autosummary
:template: custom-class-template.rst

PCA
LDA
TICA

.. rubric:: Transform

Transform
---------
This module implements **non-learnable** pre/postprocessing tools

Base class
^^^^^^^^^^

.. currentmodule:: mlcolvar.core.transform

Expand All @@ -52,7 +100,9 @@ These are the building blocks which are used to construct the CVs.
Transform


.. rubric:: Transform.descriptors
Descriptors
^^^^^^^^^^^
This submodule implements several descriptors that can be computed starting from atomic positions.

.. currentmodule:: mlcolvar.core.transform.descriptors

Expand All @@ -66,7 +116,9 @@ These are the building blocks which are used to construct the CVs.
EigsAdjMat
MultipleDescriptors

.. rubric:: Transform.tools
Tools
^^^^^
This submodule implements pre/postporcessing tools.

.. currentmodule:: mlcolvar.core.transform.tools

Expand Down
20 changes: 19 additions & 1 deletion docs/api_data.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Data
----

General: dataset, module and loader
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. currentmodule:: mlcolvar.data

This module contains the classes used for handling datasets and for feeding them to the Lightning trainer.
Expand All @@ -11,4 +14,19 @@ This module contains the classes used for handling datasets and for feeding them

DictDataset
DictLoader
DictModule
DictModule

Graph specific tools
^^^^^^^^^^^^^^^^^^^^
.. currentmodule:: mlcolvar.data.graph

This module contains the classes used for handling and creating graphs.

.. autosummary::
:toctree: autosummary
:template: custom-class-template.rst

AtomicNumberTable
Configuration
get_neighborhood
create_dataset_from_configurations
20 changes: 18 additions & 2 deletions docs/api_explain.rst
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
Explain
-------

.. rubric:: Sensitivity analysis
Sensitivity analysis
^^^^^^^^^^^^^^^^^^^^

Perform sensitivity analysis to identify feature relevances

.. currentmodule:: mlcolvar.explain.sensitivity

Descriptors-based
""""""""""""""""""

.. autosummary::
:toctree: autosummary
:template: custom-class-template.rst

sensitivity_analysis
plot_sensitivity

.. rubric:: Sparse linear model
Graph-based
"""""""""""
.. currentmodule:: mlcolvar.explain.graph_sensitivity

.. autosummary::
:toctree: autosummary
:template: custom-class-template.rst

graph_node_sensitivity


Sparse linear models
^^^^^^^^^^^^^^^^^^^^

Use sparse models to approximate classification/regression tasks

Expand Down
32 changes: 20 additions & 12 deletions docs/api_utils.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
Utils
-----

.. rubric:: Input/Output

Input/Output
^^^^^^^^^^^^

Helper functions for loading dataframes (incl. PLUMED files) and directly creating datasets from them.

Expand All @@ -14,7 +16,9 @@ Helper functions for loading dataframes (incl. PLUMED files) and directly creati
load_dataframe
create_dataset_from_files

.. rubric:: Time-lagged datasets

Time-lagged datasets
^^^^^^^^^^^^^^^^^^^^

Create a dataset of pairs of time-lagged configurations.

Expand All @@ -26,31 +30,35 @@ Create a dataset of pairs of time-lagged configurations.

create_timelagged_dataset

.. rubric:: FES

.. rubric:: Trainer

Functions used in conjunction with the lightning Trainer (e.g. logging, metrics...).
FES
^^^
Compute (and plot) the free energy surface along the CVs.

.. currentmodule:: mlcolvar.utils.trainer
.. currentmodule:: mlcolvar.utils.fes

.. autosummary::
:toctree: autosummary
:template: custom-class-template.rst

MetricsCallback
compute_fes

Compute (and plot) the free energy surface along the CVs.

.. currentmodule:: mlcolvar.utils.fes
Trainer
^^^^^^^
Functions used in conjunction with the lightning Trainer (e.g. logging, metrics...).

.. currentmodule:: mlcolvar.utils.trainer

.. autosummary::
:toctree: autosummary
:template: custom-class-template.rst

compute_fes
MetricsCallback


Plotting utils
Plot
^^^^

.. currentmodule:: mlcolvar.utils.plot

Expand Down
19 changes: 1 addition & 18 deletions docs/autosummary/mlcolvar.core.nn.FeedForward.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
.. autosummary::

~FeedForward.__init__
~FeedForward.backward
~FeedForward.forward


Expand All @@ -29,27 +30,9 @@

.. autosummary::

~FeedForward.CHECKPOINT_HYPER_PARAMS_KEY
~FeedForward.CHECKPOINT_HYPER_PARAMS_NAME
~FeedForward.CHECKPOINT_HYPER_PARAMS_TYPE
~FeedForward.T_destination
~FeedForward.automatic_optimization
~FeedForward.call_super_init
~FeedForward.current_epoch
~FeedForward.device
~FeedForward.dtype
~FeedForward.dump_patches
~FeedForward.example_input_array
~FeedForward.fabric
~FeedForward.global_rank
~FeedForward.global_step
~FeedForward.hparams
~FeedForward.hparams_initial
~FeedForward.local_rank
~FeedForward.logger
~FeedForward.loggers
~FeedForward.on_gpu
~FeedForward.trainer
~FeedForward.training


Expand Down
41 changes: 41 additions & 0 deletions docs/autosummary/mlcolvar.core.nn.graph.BaseGNN.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
mlcolvar.core.nn.graph.BaseGNN
==============================

.. currentmodule:: mlcolvar.core.nn.graph

.. autoclass:: BaseGNN
:members:
:show-inheritance:
:inherited-members: Module,LightningModule


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~BaseGNN.__init__
~BaseGNN.embed_edge




..


.. rubric:: Attributes

.. autosummary::

~BaseGNN.T_destination
~BaseGNN.call_super_init
~BaseGNN.dump_patches
~BaseGNN.in_features
~BaseGNN.out_features
~BaseGNN.training




Loading
Loading