pyCLINE 0.1.11__py3-none-any.whl → 0.1.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyCLINE/example.py +6 -1
- {pycline-0.1.11.dist-info → pycline-0.1.12.dist-info}/METADATA +2 -2
- {pycline-0.1.11.dist-info → pycline-0.1.12.dist-info}/RECORD +6 -6
- {pycline-0.1.11.dist-info → pycline-0.1.12.dist-info}/WHEEL +1 -1
- {pycline-0.1.11.dist-info → pycline-0.1.12.dist-info}/licenses/LICENSE +0 -0
- {pycline-0.1.11.dist-info → pycline-0.1.12.dist-info}/top_level.txt +0 -0
pyCLINE/example.py
CHANGED
@@ -15,7 +15,7 @@ class ExampleCallable:
|
|
15
15
|
|
16
16
|
sys.modules[__name__]= ExampleCallable()
|
17
17
|
|
18
|
-
def example(example_model, plot):
|
18
|
+
def example(example_model, plot, epochs=3000, batch_size=64, lr=1e-4, Nlayers=3, Nnodes=64):
|
19
19
|
"""
|
20
20
|
This function runs multiple examples, depending on the choice of the example model.
|
21
21
|
It should be used as a guideline how to run pyCLINE for synthetic data.
|
@@ -24,6 +24,11 @@ def example(example_model, plot):
|
|
24
24
|
Args:
|
25
25
|
example_model (str): Selection of model to run the example on. Chose from 'FHN', 'Bicubic', 'GeneExpression', 'DelayOscillator'.
|
26
26
|
plot (bool): If True, the function will plot the data and the predictions.
|
27
|
+
epochs (int, optional): Number of epochs for training the model. Defaults to 3000.
|
28
|
+
batch_size (int, optional): Batch size for training the model. Defaults to 64.
|
29
|
+
lr (float, optional): Learning rate for training the model. Defaults to 1e-4.
|
30
|
+
Nlayers (int, optional): Number of layers in the neural network. Defaults to 3.
|
31
|
+
Nnodes (int, optional): Number of nodes in each layer of the neural network. Defaults to 64.
|
27
32
|
|
28
33
|
Raises:
|
29
34
|
ValueError: In case no example model string is provided.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pyCLINE
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.12
|
4
4
|
Summary: This package is the Python implementation of the CLINE method
|
5
5
|
Author-email: Bartosz Prokop <bartosz.prokop@kuleuven.be>, Nikita Frolov <nikita.frolov@kuleuven.be>, Lendert Gelens <lendert.gelens@kuleuven.be>
|
6
6
|
Project-URL: Homepage, https://pycline-ec8369.pages.gitlab.kuleuven.be/
|
@@ -9,7 +9,7 @@ Keywords: model,model identification,nullcline,data-driven,machine learning,deep
|
|
9
9
|
Classifier: Development Status :: 3 - Alpha
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
11
11
|
Classifier: Operating System :: OS Independent
|
12
|
-
Requires-Python:
|
12
|
+
Requires-Python: <3.12,>=3.10
|
13
13
|
Description-Content-Type: text/markdown
|
14
14
|
License-File: LICENSE
|
15
15
|
Requires-Dist: matplotlib>=3.6.2
|
@@ -1,12 +1,12 @@
|
|
1
1
|
pyCLINE/__init__.py,sha256=Z38oxkRTnb_EiU31_03Ba2bUKs1S2PEajMMGtlUOlf8,726
|
2
|
-
pyCLINE/example.py,sha256=
|
2
|
+
pyCLINE/example.py,sha256=LN__aDBoche7lwvNlMmN44KpSXAcIZOWJnmAaAClHPE,8900
|
3
3
|
pyCLINE/generate_data.py,sha256=9aZvluLiBAmc9FFQ_9USBxlVGWdoDr_RUezEcdGGgFo,3614
|
4
4
|
pyCLINE/model.py,sha256=Qq5sQd7bXmI7efoN_IidWjfHAB--ZskEzGDkZYKsE38,35337
|
5
5
|
pyCLINE/recovery_methods/__init__.py,sha256=MQ9ZF_SVZNBJkZ0cyM5zXimiug9yu42lHBCnOMYw080,488
|
6
6
|
pyCLINE/recovery_methods/data_preparation.py,sha256=4XDV-Rc0NpA3f10NlRRhGV7IfhSbZBeepySAMgaxcuo,19690
|
7
7
|
pyCLINE/recovery_methods/nn_training.py,sha256=jRiiG-EBRr_O8bdEpxvQRJ4rVPtbJePWR1260q5ETPI,21049
|
8
|
-
pycline-0.1.
|
9
|
-
pycline-0.1.
|
10
|
-
pycline-0.1.
|
11
|
-
pycline-0.1.
|
12
|
-
pycline-0.1.
|
8
|
+
pycline-0.1.12.dist-info/licenses/LICENSE,sha256=6XV86fklwr93DuwtgX05Jg3n25_0c726oBhoSMn1aoc,1245
|
9
|
+
pycline-0.1.12.dist-info/METADATA,sha256=A_vOBJY2tDHIIDGX9CVuhUP09bWOg3N-2YwqqLpvipc,6329
|
10
|
+
pycline-0.1.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
11
|
+
pycline-0.1.12.dist-info/top_level.txt,sha256=w0zzQfaPH2RNTWfJ_lsPf-EbkvT6m3quM69exCTMBvU,8
|
12
|
+
pycline-0.1.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|