• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tonegas / nnodely / 16502811447

24 Jul 2025 04:44PM UTC coverage: 97.767% (+0.1%) from 97.651%
16502811447

push

github

web-flow
New version 1.5.0

This pull request introduces version 1.5.0 of **nnodely**, featuring several updates:
1. Improved clarity of documentation and examples.
2. Support for managing multi-dataset features is now available.
3. DataFrames can now be used to create datasets.
4. Datasets can now be resampled.
5. Random data training has been fixed for both classic and recurrent training.
6. The `state` variable has been removed.
7. It is now possible to add or remove a connection or a closed loop.
8. Partial models can now be exported.
9. The `train` function and the result analysis have been separated.
10. A new function, `trainAndAnalyse`, is now available.
11. The report now works across all network types.
12. The training function code has been reorganized.

2901 of 2967 new or added lines in 53 files covered. (97.78%)

16 existing lines in 6 files now uncovered.

12652 of 12941 relevant lines covered (97.77%)

0.98 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.75
/nnodely/__init__.py
1
import sys
1✔
2
import logging
1✔
3

4
# Network input, outputs and parameters
5
from nnodely.layers.input import Input, Connect, ClosedLoop
1✔
6
from nnodely.layers.parameter import Parameter, Constant, SampleTime
1✔
7
from nnodely.layers.output import Output
1✔
8

9
# Network elements
10
from nnodely.layers.activation import Relu, ELU, Softmax, Sigmoid, Identity
1✔
11
from nnodely.layers.fir import Fir
1✔
12
from nnodely.layers.linear import Linear
1✔
13
from nnodely.layers.arithmetic import Add, Sum, Sub, Mul, Div, Pow, Neg, Sign
1✔
14
from nnodely.layers.trigonometric import Sin, Cos, Tan, Cosh, Tanh, Sech
1✔
15
from nnodely.layers.parametricfunction import ParamFun
1✔
16
from nnodely.layers.fuzzify import Fuzzify
1✔
17
from nnodely.layers.part import Part, Select, Concatenate, SamplePart, SampleSelect, TimePart, TimeConcatenate
1✔
18
from nnodely.layers.localmodel import LocalModel
1✔
19
from nnodely.layers.equationlearner import EquationLearner
1✔
20
from nnodely.layers.timeoperation import Integrate, Derivate
1✔
21
from nnodely.layers.interpolation import Interpolation
1✔
22

23
# Main nnodely classes
24
from nnodely.nnodely import nnodely, Modely, clearNames
1✔
25
from nnodely.visualizer import TextVisualizer, MPLVisualizer, MPLNotebookVisualizer
1✔
26
from nnodely.exporter import StandardExporter
1✔
27

28
# Basic nnodely
29
from nnodely.basic.optimizer import Optimizer, SGD, Adam
1✔
30

31
# Support functions
32
from nnodely.support.initializer import init_negexp, init_lin, init_constant, init_exp
1✔
33
from nnodely.support import logger
1✔
34

35
major, minor = sys.version_info.major, sys.version_info.minor
1✔
36
logger.LOG_LEVEL = logging.INFO
1✔
37

38
__version__ = '1.5.0'
1✔
39

40
if major < 3:
1✔
NEW
41
    sys.exit("Sorry, Python 2 is not supported. You need Python >= 3.10 for "+__package__+".")
×
42
elif minor < 9:
1✔
NEW
43
    sys.exit("Sorry, You need Python >= 3.10 for "+__package__+".")
×
44
else:
45
    print('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>' +
1✔
46
          f' {__package__}_v{__version__} '.center(20, '-') +
47
          '<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<')
48

49

50
__all__ = [
1✔
51
    'nnodely', 'Modely', 'clearNames',
52
    'Input', 'Connect', 'ClosedLoop',
53
    'Parameter', 'Constant', 'SampleTime',
54
    'Output',
55
    'Relu', 'ELU', 'Softmax', 'Sigmoid', 'Identity',
56
    'Fir',
57
    'Linear',
58
    'Add', 'Sum', 'Sub', 'Mul', 'Div', 'Pow', 'Neg', 'Sign',
59
    'Sin', 'Cos', 'Tan', 'Cosh', 'Tanh', 'Sech',
60
    'ParamFun',
61
    'Fuzzify',
62
    'Part',  'Select',  'Concatenate',
63
    'SamplePart',  'SampleSelect',
64
    'TimePart',  'TimeConcatenate',
65
    'LocalModel',
66
    'EquationLearner',
67
    'Integrate',  'Derivate',
68
    'Interpolation',
69
    'TextVisualizer', 'MPLVisualizer', 'MPLNotebookVisualizer',
70
    'StandardExporter',
71
    'SGD', 'Adam', 'Optimizer',
72
    'init_negexp', 'init_lin', 'init_constant', 'init_exp',
73
    # Main nnodely classes
74
    '__version__'
75
]
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc