Skip to content

Commit ec88a56

Browse files
authored
Merge pull request #158 from wilsonrljr/fix/152
Fix/152
2 parents 2defc7a + fea7781 commit ec88a56

36 files changed

+126
-125
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changes in SysIdentPy
22

3+
## v0.5.1
4+
5+
### CONTRIBUTORS
6+
7+
- wilsonrljr
8+
9+
### CHANGES
10+
11+
This update addresses a critical bug related to the unbiased estimator. The issue previously impacted all basis functions but has now been resolved. This release keep providing crucial groundwork for the future development of SysIdentPy, making easier to add new features and improve the code, setting the stage for a robust and feature-complete 1.0.0 release in the feature.
12+
13+
- **Documentation:**
14+
- Remove unnecessary code when importing basis functions in many examples.
15+
16+
- **API Changes:**
17+
- Fix unbiased estimator for every basis function.
18+
319
## v0.5.0
420

521
### CONTRIBUTORS

docs/changelog/changelog.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ template: overrides/main.html
55

66
# Changes in SysIdentPy
77

8+
## v0.5.1
9+
10+
### CONTRIBUTORS
11+
12+
- wilsonrljr
13+
14+
### CHANGES
15+
16+
This update addresses a critical bug related to the unbiased estimator. The issue previously impacted all basis functions but has now been resolved. This release keep providing crucial groundwork for the future development of SysIdentPy, making easier to add new features and improve the code, setting the stage for a robust and feature-complete 1.0.0 release in the feature.
17+
18+
- **Documentation:**
19+
- Remove unnecessary code when importing basis functions in many examples.
20+
21+
- **API Changes:**
22+
- Fix unbiased estimator for every basis function.
23+
24+
825
## v0.5.0
926

1027
### CONTRIBUTORS

docs/examples/NFIR.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"import numpy as np\n",
4848
"from sysidentpy.utils.generate_data import get_siso_data\n",
4949
"from sysidentpy.metrics import root_relative_squared_error\n",
50-
"from sysidentpy.basis_function._basis_function import Polynomial\n",
50+
"from sysidentpy.basis_function import Polynomial\n",
5151
"from sysidentpy.parameter_estimation import LeastSquares, RecursiveLeastSquares\n",
5252
"from sysidentpy.utils.display_results import results\n",
5353
"from sysidentpy.utils.plotting import plot_results\n",

docs/examples/aols.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"import pandas as pd\n",
1919
"from sysidentpy.utils.generate_data import get_siso_data\n",
2020
"from sysidentpy.metrics import root_relative_squared_error\n",
21-
"from sysidentpy.basis_function._basis_function import Polynomial\n",
21+
"from sysidentpy.basis_function import Polynomial\n",
2222
"from sysidentpy.utils.display_results import results\n",
2323
"from sysidentpy.utils.plotting import plot_residues_correlation, plot_results\n",
2424
"from sysidentpy.residues.residues_correlation import (\n",

docs/examples/basic_steps.ipynb

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"import pandas as pd\n",
3636
"import matplotlib.pyplot as plt\n",
3737
"from sysidentpy.model_structure_selection import FROLS\n",
38-
"from sysidentpy.basis_function._basis_function import Polynomial\n",
38+
"from sysidentpy.basis_function import Polynomial\n",
3939
"from sysidentpy.parameter_estimation import LeastSquares\n",
4040
"from sysidentpy.metrics import root_relative_squared_error\n",
4141
"from sysidentpy.utils.generate_data import get_siso_data\n",
@@ -51,7 +51,7 @@
5151
"cell_type": "markdown",
5252
"metadata": {},
5353
"source": [
54-
"## Generating 1 input 1 output sample data \n",
54+
"## Generating 1 input 1 output sample data\n",
5555
"\n",
5656
"The data is generated by simulating the following model:\n",
5757
"\n",
@@ -400,9 +400,9 @@
400400
"source": [
401401
"```{note}\n",
402402
" Here we are creating random samples with white noise and letting the algorithm choose\n",
403-
" the number of terms based on the minimum value of information criteria. \n",
404-
" This is not the best approach in System Identification, but serves as a simple example. \n",
405-
" The information criteria must be used as an __auxiliary tool__ to select *n_terms*. \n",
403+
" the number of terms based on the minimum value of information criteria.\n",
404+
" This is not the best approach in System Identification, but serves as a simple example.\n",
405+
" The information criteria must be used as an __auxiliary tool__ to select *n_terms*.\n",
406406
" Plot the information values to help you on that!\n",
407407
"\n",
408408
" If you run the example above several times you might find some cases where the\n",
@@ -416,18 +416,6 @@
416416
"```"
417417
]
418418
},
419-
{
420-
"cell_type": "markdown",
421-
"metadata": {},
422-
"source": [
423-
"```{note}\n",
424-
"This documentation and the examples below are written with MyST Markdown, a form\n",
425-
"of markdown that works with Sphinx. For more information about MyST markdown, and\n",
426-
"to use MyST markdown with your Sphinx website,\n",
427-
"see [the MyST-parser documentation](https://myst-parser.readthedocs.io/)\n",
428-
"```"
429-
]
430-
},
431419
{
432420
"cell_type": "markdown",
433421
"metadata": {},

docs/examples/defining_lags.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"outputs": [],
3333
"source": [
3434
"from sysidentpy.model_structure_selection import FROLS\n",
35-
"from sysidentpy.basis_function._basis_function import Polynomial"
35+
"from sysidentpy.basis_function import Polynomial"
3636
]
3737
},
3838
{

docs/examples/entropic_regression.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"import numpy as np\n",
3333
"import pandas as pd\n",
3434
"from sysidentpy.model_structure_selection import ER\n",
35-
"from sysidentpy.basis_function._basis_function import Polynomial\n",
35+
"from sysidentpy.basis_function import Polynomial\n",
3636
"from sysidentpy.parameter_estimation import RecursiveLeastSquares\n",
3737
"from sysidentpy.metrics import root_relative_squared_error\n",
3838
"from sysidentpy.utils.display_results import results\n",

docs/examples/extended_least_squares.ipynb

Lines changed: 10 additions & 12 deletions
Large diffs are not rendered by default.

docs/examples/f_16_benchmark.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"import pandas as pd\n",
5454
"import matplotlib.pyplot as plt\n",
5555
"from sysidentpy.model_structure_selection import FROLS\n",
56-
"from sysidentpy.basis_function._basis_function import Polynomial\n",
56+
"from sysidentpy.basis_function import Polynomial\n",
5757
"from sysidentpy.parameter_estimation import LeastSquares\n",
5858
"from sysidentpy.metrics import root_relative_squared_error\n",
5959
"from sysidentpy.utils.display_results import results\n",

docs/examples/general_estimators.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"from sklearn.ensemble import GradientBoostingRegressor\n",
4040
"from catboost import CatBoostRegressor\n",
4141
"\n",
42-
"from sysidentpy.basis_function._basis_function import Polynomial, Fourier\n",
42+
"from sysidentpy.basis_function import Polynomial, Fourier\n",
4343
"from sysidentpy.utils.plotting import plot_residues_correlation, plot_results\n",
4444
"from sysidentpy.residues.residues_correlation import (\n",
4545
" compute_residues_autocorrelation,\n",

0 commit comments

Comments
 (0)