Skip to content

Commit c08e83d

Browse files
committed
Version upgrade from 5.0.1 to 5.1.0
1 parent 7dbf427 commit c08e83d

4 files changed

Lines changed: 95 additions & 16 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Read the documentation at **[Nyoka Documentation](https://softwareag.github.io/n
8585

8686

8787
* [`tsa.arima_model.ARIMA`](https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/arima_model.py#L1026)
88-
* [`tsa.arima.model.ARIMA`](https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/arima/model.py#L26) _(In statespace form)_
88+
* [`tsa.arima.model.ARIMA`](https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/arima/model.py#L26) _(Extension of SARIMAX)_
8989
* [`tsa.statespace.SARIMAX`](https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/statespace/sarimax.py#L31)
9090
* [`tsa.statespace.VARMAX`](https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/statespace/varmax.py#L33)
9191
* [`tsa.statespace.ExponentialSmoothing`](https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/statespace/exponential_smoothing.py#L31)

examples/lgbm/1_lgbm.ipynb

Lines changed: 92 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,7 @@
3636
{
3737
"data": {
3838
"text/plain": [
39-
"Pipeline(memory=None,\n",
40-
" steps=[('lgbmc', LGBMClassifier(boosting_type='gbdt', class_weight=None, colsample_bytree=1.0,\n",
41-
" learning_rate=0.1, max_depth=-1, min_child_samples=20,\n",
42-
" min_child_weight=0.001, min_split_gain=0.0, n_estimators=100,\n",
43-
" n_jobs=-1, num_leaves=31, objective=None, random_state=None,\n",
44-
" reg_alpha=0.0, reg_lambda=0.0, silent=True, subsample=1.0,\n",
45-
" subsample_for_bin=200000, subsample_freq=0))])"
39+
"Pipeline(steps=[('lgbmc', LGBMClassifier())])"
4640
]
4741
},
4842
"execution_count": 1,
@@ -71,6 +65,73 @@
7165
"pipeline_obj.fit(irisd[features],irisd[target])"
7266
]
7367
},
68+
{
69+
"cell_type": "code",
70+
"execution_count": 13,
71+
"metadata": {},
72+
"outputs": [],
73+
"source": [
74+
"irisd.to_csv(\"iris.csv\")"
75+
]
76+
},
77+
{
78+
"cell_type": "code",
79+
"execution_count": 5,
80+
"metadata": {},
81+
"outputs": [],
82+
"source": [
83+
"import nyoka"
84+
]
85+
},
86+
{
87+
"cell_type": "code",
88+
"execution_count": 6,
89+
"metadata": {},
90+
"outputs": [
91+
{
92+
"data": {
93+
"text/plain": [
94+
"'5.0.1'"
95+
]
96+
},
97+
"execution_count": 6,
98+
"metadata": {},
99+
"output_type": "execute_result"
100+
}
101+
],
102+
"source": [
103+
"nyoka.__version__"
104+
]
105+
},
106+
{
107+
"cell_type": "code",
108+
"execution_count": 10,
109+
"metadata": {},
110+
"outputs": [],
111+
"source": [
112+
"import lightgbm"
113+
]
114+
},
115+
{
116+
"cell_type": "code",
117+
"execution_count": 11,
118+
"metadata": {},
119+
"outputs": [
120+
{
121+
"data": {
122+
"text/plain": [
123+
"'3.2.1'"
124+
]
125+
},
126+
"execution_count": 11,
127+
"metadata": {},
128+
"output_type": "execute_result"
129+
}
130+
],
131+
"source": [
132+
"lightgbm.__version__"
133+
]
134+
},
74135
{
75136
"cell_type": "markdown",
76137
"metadata": {},
@@ -80,7 +141,7 @@
80141
},
81142
{
82143
"cell_type": "code",
83-
"execution_count": 2,
144+
"execution_count": 7,
84145
"metadata": {
85146
"ExecuteTime": {
86147
"end_time": "2018-08-13T17:10:46.702727Z",
@@ -103,9 +164,20 @@
103164
},
104165
{
105166
"cell_type": "code",
106-
"execution_count": null,
167+
"execution_count": 8,
107168
"metadata": {},
108-
"outputs": [],
169+
"outputs": [
170+
{
171+
"data": {
172+
"text/plain": [
173+
"Pipeline(steps=[('lgbmr', LGBMRegressor())])"
174+
]
175+
},
176+
"execution_count": 8,
177+
"metadata": {},
178+
"output_type": "execute_result"
179+
}
180+
],
109181
"source": [
110182
"auto = pd.read_csv('auto-mpg.csv')\n",
111183
"X = auto.drop(['mpg','car name'], axis=1)\n",
@@ -130,17 +202,24 @@
130202
},
131203
{
132204
"cell_type": "code",
133-
"execution_count": null,
205+
"execution_count": 9,
134206
"metadata": {},
135207
"outputs": [],
136208
"source": [
137209
"lgb_to_pmml(pipeline_obj,feature_names,target_name,\"lgbmr_pmml.pmml\")"
138210
]
211+
},
212+
{
213+
"cell_type": "code",
214+
"execution_count": null,
215+
"metadata": {},
216+
"outputs": [],
217+
"source": []
139218
}
140219
],
141220
"metadata": {
142221
"kernelspec": {
143-
"display_name": "Python 3",
222+
"display_name": "Python 3 (ipykernel)",
144223
"language": "python",
145224
"name": "python3"
146225
},
@@ -154,7 +233,7 @@
154233
"name": "python",
155234
"nbconvert_exporter": "python",
156235
"pygments_lexer": "ipython3",
157-
"version": "3.6.6"
236+
"version": "3.7.10"
158237
},
159238
"latex_envs": {
160239
"LaTeX_envs_menu_present": true,

nyoka/base/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class HEADER_INFO:
2121
COPYRIGHT = "Copyright (c) 2021 Software AG"
2222
APPLICATION_NAME = "Nyoka"
23-
APPLICATION_VERSION = "5.0.0"
23+
APPLICATION_VERSION = "5.1.0"
2424
DEFAULT_DESCRIPTION = "Default description"
2525

2626
class MISSING_VALUE_TREATMENT_METHOD:

nyoka/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
See the License for the specific language governing permissions and
1717
limitations under the License.
1818
"""
19-
__version__ = '5.0.1'
19+
__version__ = '5.1.0'
2020
__license__ = "Apache Software License"
2121

0 commit comments

Comments
 (0)