Skip to content

Commit 255e97a

Browse files
authored
Merge pull request #112 from wilsonrljr/v0.3.1
V0.3.1
2 parents 663b7f3 + f2b95c6 commit 255e97a

File tree

31 files changed

+8826
-8325
lines changed

31 files changed

+8826
-8325
lines changed

.github/workflows/python-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
python -m pip install --upgrade pip
2929
pip install flake8 pytest pytest-cov scikit-learn black isort>=5.0.6
30-
if [ -f requirements.txt ]; then pip install .["dev"]; fi
30+
if [ -f requirements.txt ]; then pip install ."[dev, all]"; fi
3131
- name: Lint with flake8
3232
run: |
3333
# stop the build if there are Python syntax errors or undefined names

CHANGELOG

+24
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@ File for tracking changes in SysIdentPy
55
Changes in SysIdentPy
66
=====================
77

8+
v0.3.1
9+
------
10+
11+
CONTRIBUTORS
12+
~~~~~~~~~~~~
13+
14+
- wilsonrljr
15+
16+
CHANGES
17+
~~~~~~~
18+
19+
- The update **v0.3.1** has been released with API changes and fixes.
20+
21+
- API Change:
22+
- MetaMSS was returning the max lag of the final model instead of the maximum lag related to the xlag and ylag. This is not wrong (its related to the issue #55), but this change will be made for all methods at the same time. In this respect, I'm reverted this to return the maximum lag of the xlag and ylag.
23+
24+
- API Change: Added build_matrix method in BaseMSS. This change improved overall code readability by rewriting if/elif/else clauses in every model structure selection algorithm.
25+
26+
- API Change: Added bic, aic, fpe, and lilc methods in FROLS. Now the method is selected by using a predefined dictionary with the available options. This change improved overall code readability by rewriting if/elif/else clauses in the FROLS algorithm.
27+
28+
- TESTS: Added tests for Neural NARX class. The issue with pytorch was fixed and now we have the tests for every model class.
29+
30+
- Remove unused code and comments.
31+
832
v0.3.0
933
------
1034

docs/changelog/changelog.md

+22
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,28 @@ template: overrides/main.html
55

66
# Changes in SysIdentPy
77

8+
## v0.3.1
9+
10+
### CONTRIBUTORS
11+
12+
- wilsonrljr
13+
14+
### CHANGES
15+
16+
- The update **v0.3.1** has been released with API changes and fixes.
17+
18+
- API Change:
19+
- MetaMSS was returning the max lag of the final model instead of the maximum lag related to the xlag and ylag. This is not wrong (its related to the issue #55), but this change will be made for all methods at the same time. In this respect, I'm reverted this to return the maximum lag of the xlag and ylag.
20+
21+
- API Change: Added build_matrix method in BaseMSS. This change improved overall code readability by rewriting if/elif/else clauses in every model structure selection algorithm.
22+
23+
- API Change: Added bic, aic, fpe, and lilc methods in FROLS. Now the method is selected by using a predefined dictionary with the available options. This change improved overall code readability by rewriting if/elif/else clauses in the FROLS algorithm.
24+
25+
- TESTS: Added tests for Neural NARX class. The issue with pytorch was fixed and now we have the tests for every model class.
26+
27+
- Remove unused code and comments.
28+
29+
830
## v0.3.0
931

1032
### CONTRIBUTORS

docs/changelog/changelog/changelog.md

+22
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,28 @@ template: overrides/main.html
55

66
# Changes in SysIdentPy
77

8+
## v0.3.1
9+
10+
### CONTRIBUTORS
11+
12+
- wilsonrljr
13+
14+
### CHANGES
15+
16+
- The update **v0.3.1** has been released with API changes and fixes.
17+
18+
- API Change:
19+
- MetaMSS was returning the max lag of the final model instead of the maximum lag related to the xlag and ylag. This is not wrong (its related to the issue #55), but this change will be made for all methods at the same time. In this respect, I'm reverted this to return the maximum lag of the xlag and ylag.
20+
21+
- API Change: Added build_matrix method in BaseMSS. This change improved overall code readability by rewriting if/elif/else clauses in every model structure selection algorithm.
22+
23+
- API Change: Added bic, aic, fpe, and lilc methods in FROLS. Now the method is selected by using a predefined dictionary with the available options. This change improved overall code readability by rewriting if/elif/else clauses in the FROLS algorithm.
24+
25+
- TESTS: Added tests for Neural NARX class. The issue with pytorch was fixed and now we have the tests for every model class.
26+
27+
- Remove unused code and comments.
28+
29+
830
## v0.3.0
931

1032
### CONTRIBUTORS

docs/changelog/changelog/index.html

+1-1
Large diffs are not rendered by default.

docs/code/aols/index.html

+643-697
Large diffs are not rendered by default.

docs/code/entropic-regression/index.html

+1,346-1,398
Large diffs are not rendered by default.

docs/code/frols/index.html

+1,242-1,016
Large diffs are not rendered by default.

docs/code/general-estimators/index.html

+633-739
Large diffs are not rendered by default.

docs/code/metamss/index.html

+1,001-1,045
Large diffs are not rendered by default.

docs/code/narmax-base/index.html

+1,220-1,215
Large diffs are not rendered by default.

docs/code/neural-narx/index.html

+1,094-1,100
Large diffs are not rendered by default.

docs/code/parameter-estimation/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@
10321032
<a id="__codelineno-0-157" name="__codelineno-0-157"></a> <span class="k">for</span> <span class="n">_</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">30</span><span class="p">):</span>
10331033
<a id="__codelineno-0-158" name="__codelineno-0-158"></a> <span class="n">e</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">concatenate</span><span class="p">([</span><span class="n">np</span><span class="o">.</span><span class="n">zeros</span><span class="p">([</span><span class="n">max_lag</span><span class="p">,</span> <span class="mi">1</span><span class="p">]),</span> <span class="n">e</span><span class="p">],</span> <span class="n">axis</span><span class="o">=</span><span class="mi">0</span><span class="p">)</span>
10341034
<a id="__codelineno-0-159" name="__codelineno-0-159"></a>
1035-
<a id="__codelineno-0-160" name="__codelineno-0-160"></a> <span class="n">lagged_data</span> <span class="o">=</span> <span class="n">im</span><span class="o">.</span><span class="n">build_output_matrix</span><span class="p">(</span><span class="n">e</span><span class="p">)</span>
1035+
<a id="__codelineno-0-160" name="__codelineno-0-160"></a> <span class="n">lagged_data</span> <span class="o">=</span> <span class="n">im</span><span class="o">.</span><span class="n">build_output_matrix</span><span class="p">(</span><span class="kc">None</span><span class="p">,</span> <span class="n">e</span><span class="p">)</span>
10361036
<a id="__codelineno-0-161" name="__codelineno-0-161"></a>
10371037
<a id="__codelineno-0-162" name="__codelineno-0-162"></a> <span class="n">e_regressors</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">basis_function</span><span class="o">.</span><span class="n">fit</span><span class="p">(</span>
10381038
<a id="__codelineno-0-163" name="__codelineno-0-163"></a> <span class="n">lagged_data</span><span class="p">,</span> <span class="n">max_lag</span><span class="p">,</span> <span class="n">predefined_regressors</span><span class="o">=</span><span class="kc">None</span>

0 commit comments

Comments
 (0)