Skip to content

Commit

Permalink
Merge pull request #112 from wilsonrljr/v0.3.1
Browse files Browse the repository at this point in the history
V0.3.1
  • Loading branch information
wilsonrljr authored May 18, 2023
2 parents 663b7f3 + f2b95c6 commit 255e97a
Show file tree
Hide file tree
Showing 31 changed files with 8,826 additions and 8,325 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov scikit-learn black isort>=5.0.6
if [ -f requirements.txt ]; then pip install .["dev"]; fi
if [ -f requirements.txt ]; then pip install ."[dev, all]"; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@ File for tracking changes in SysIdentPy
Changes in SysIdentPy
=====================

v0.3.1
------

CONTRIBUTORS
~~~~~~~~~~~~

- wilsonrljr

CHANGES
~~~~~~~

- The update **v0.3.1** has been released with API changes and fixes.

- API Change:
- 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.

- 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.

- 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.

- TESTS: Added tests for Neural NARX class. The issue with pytorch was fixed and now we have the tests for every model class.

- Remove unused code and comments.

v0.3.0
------

Expand Down
22 changes: 22 additions & 0 deletions docs/changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,28 @@ template: overrides/main.html

# Changes in SysIdentPy

## v0.3.1

### CONTRIBUTORS

- wilsonrljr

### CHANGES

- The update **v0.3.1** has been released with API changes and fixes.

- API Change:
- 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.

- 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.

- 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.

- TESTS: Added tests for Neural NARX class. The issue with pytorch was fixed and now we have the tests for every model class.

- Remove unused code and comments.


## v0.3.0

### CONTRIBUTORS
Expand Down
22 changes: 22 additions & 0 deletions docs/changelog/changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,28 @@ template: overrides/main.html

# Changes in SysIdentPy

## v0.3.1

### CONTRIBUTORS

- wilsonrljr

### CHANGES

- The update **v0.3.1** has been released with API changes and fixes.

- API Change:
- 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.

- 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.

- 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.

- TESTS: Added tests for Neural NARX class. The issue with pytorch was fixed and now we have the tests for every model class.

- Remove unused code and comments.


## v0.3.0

### CONTRIBUTORS
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog/changelog/index.html

Large diffs are not rendered by default.

1,340 changes: 643 additions & 697 deletions docs/code/aols/index.html

Large diffs are not rendered by default.

2,744 changes: 1,346 additions & 1,398 deletions docs/code/entropic-regression/index.html

Large diffs are not rendered by default.

2,258 changes: 1,242 additions & 1,016 deletions docs/code/frols/index.html

Large diffs are not rendered by default.

1,372 changes: 633 additions & 739 deletions docs/code/general-estimators/index.html

Large diffs are not rendered by default.

2,046 changes: 1,001 additions & 1,045 deletions docs/code/metamss/index.html

Large diffs are not rendered by default.

2,435 changes: 1,220 additions & 1,215 deletions docs/code/narmax-base/index.html

Large diffs are not rendered by default.

2,194 changes: 1,094 additions & 1,100 deletions docs/code/neural-narx/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/code/parameter-estimation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@
<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>
<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>
<a id="__codelineno-0-159" name="__codelineno-0-159"></a>
<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>
<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>
<a id="__codelineno-0-161" name="__codelineno-0-161"></a>
<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>
<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>
Expand Down
Loading

0 comments on commit 255e97a

Please sign in to comment.