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

tonegas / nnodely / 20034705957

08 Dec 2025 04:10PM UTC coverage: 96.746% (-0.006%) from 96.752%
20034705957

push

github

tonegas
Merge branch 'develop' of github.com:tonegas/nnodely into develop

73 of 80 new or added lines in 4 files covered. (91.25%)

26 existing lines in 3 files now uncovered.

13021 of 13459 relevant lines covered (96.75%)

0.97 hits per line

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

93.94
/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
from nnodely.layers.rungekutta import ForwardEuler, RK2, RK4
1✔
23

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

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

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

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

39
__version__ = '1.5.2'
1✔
40

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

50

51
__all__ = [
1✔
52
    'nnodely', 'Modely', 'clearNames',
53
    'Input', 'Connect', 'ClosedLoop',
54
    'Parameter', 'Constant', 'SampleTime',
55
    'Output',
56
    'Relu', 'ELU', 'Softmax', 'Sigmoid', 'Identity',
57
    'Fir',
58
    'Linear',
59
    'Add', 'Sum', 'Sub', 'Mul', 'Div', 'Pow', 'Neg', 'Sign',
60
    'Sin', 'Cos', 'Tan', 'Cosh', 'Tanh', 'Sech',
61
    'ParamFun',
62
    'Fuzzify',
63
    'Part',  'Select',  'Concatenate',
64
    'SamplePart',  'SampleSelect',
65
    'TimePart',  'TimeConcatenate',
66
    'LocalModel',
67
    'EquationLearner',
68
    'Integrate',  'Derivate',
69
    'Interpolation',
70
    'ForwardEuler', 'RK2', 'RK4',
71
    'TextVisualizer', 'MPLVisualizer', 'MPLNotebookVisualizer',
72
    'StandardExporter',
73
    'SGD', 'Adam', 'Optimizer',
74
    'init_negexp', 'init_lin', 'init_constant', 'init_exp',
75
    # Main nnodely classes
76
    '__version__'
77
]
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