Skip to content

Commit a402b29

Browse files
committed
Update environment
1 parent 2dcb9b6 commit a402b29

File tree

8 files changed

+407
-43
lines changed

8 files changed

+407
-43
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"uuid": "c56ab762-539c-4cce-9b1e-c4b00300ec6f", "gpu_support": false, "base_image": "orchest/base-kernel-py", "name": "Python 3", "language": "python"}
1+
{"gpu_support": false, "base_image": "orchest/base-kernel-py", "name": "Python 3", "language": "python", "uuid": "c56ab762-539c-4cce-9b1e-c4b00300ec6f"}

.orchest/environments/c56ab762-539c-4cce-9b1e-c4b00300ec6f/setup_script.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Install additional packages used throughout the pipeline. If
44
# you want more granularity, you can use different environments
55
# for each step.
6-
pip install vaex
6+
pip install --user vaex numpy==1.20

collect-results.ipynb

+17-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
{
1313
"cell_type": "code",
14-
"execution_count": null,
14+
"execution_count": 1,
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -20,7 +20,7 @@
2020
},
2121
{
2222
"cell_type": "code",
23-
"execution_count": null,
23+
"execution_count": 2,
2424
"metadata": {},
2525
"outputs": [],
2626
"source": [
@@ -29,9 +29,22 @@
2929
},
3030
{
3131
"cell_type": "code",
32-
"execution_count": null,
32+
"execution_count": 3,
3333
"metadata": {},
34-
"outputs": [],
34+
"outputs": [
35+
{
36+
"name": "stdout",
37+
"output_type": "stream",
38+
"text": [
39+
"\n",
40+
"linear-regression-rmse 0.7297641969632994\n",
41+
"\n",
42+
"decision-tree-regressor-rmse 0.7277118487138823\n",
43+
"\n",
44+
"svm-regressor-rmse 0.680488796037178\n"
45+
]
46+
}
47+
],
3548
"source": [
3649
"for name, value in data.items():\n",
3750
" if name != \"unnamed\":\n",

decision-tree.ipynb

+29-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": null,
12+
"execution_count": 1,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -21,7 +21,7 @@
2121
},
2222
{
2323
"cell_type": "code",
24-
"execution_count": null,
24+
"execution_count": 2,
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [
@@ -32,9 +32,32 @@
3232
},
3333
{
3434
"cell_type": "code",
35-
"execution_count": null,
35+
"execution_count": 3,
3636
"metadata": {},
37-
"outputs": [],
37+
"outputs": [
38+
{
39+
"name": "stdout",
40+
"output_type": "stream",
41+
"text": [
42+
"Fitting the model...\n"
43+
]
44+
},
45+
{
46+
"data": {
47+
"text/plain": [
48+
"DecisionTreeRegressor(ccp_alpha=0.0, criterion='mse', max_depth=None,\n",
49+
" max_features=None, max_leaf_nodes=None,\n",
50+
" min_impurity_decrease=0.0, min_impurity_split=None,\n",
51+
" min_samples_leaf=1, min_samples_split=2,\n",
52+
" min_weight_fraction_leaf=0.0, presort='deprecated',\n",
53+
" random_state=None, splitter='best')"
54+
]
55+
},
56+
"execution_count": 3,
57+
"metadata": {},
58+
"output_type": "execute_result"
59+
}
60+
],
3861
"source": [
3962
"print(\"Fitting the model...\")\n",
4063
"\n",
@@ -45,7 +68,7 @@
4568
},
4669
{
4770
"cell_type": "code",
48-
"execution_count": null,
71+
"execution_count": 4,
4972
"metadata": {},
5073
"outputs": [],
5174
"source": [
@@ -56,7 +79,7 @@
5679
},
5780
{
5881
"cell_type": "code",
59-
"execution_count": null,
82+
"execution_count": 5,
6083
"metadata": {},
6184
"outputs": [],
6285
"source": [

explore-data.ipynb

+297-14
Large diffs are not rendered by default.

linear-regression.ipynb

+24-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": null,
12+
"execution_count": 1,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -21,7 +21,7 @@
2121
},
2222
{
2323
"cell_type": "code",
24-
"execution_count": null,
24+
"execution_count": 2,
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [
@@ -32,9 +32,27 @@
3232
},
3333
{
3434
"cell_type": "code",
35-
"execution_count": null,
35+
"execution_count": 3,
3636
"metadata": {},
37-
"outputs": [],
37+
"outputs": [
38+
{
39+
"name": "stdout",
40+
"output_type": "stream",
41+
"text": [
42+
"Fitting the model...\n"
43+
]
44+
},
45+
{
46+
"data": {
47+
"text/plain": [
48+
"LinearRegression(copy_X=True, fit_intercept=True, n_jobs=None, normalize=False)"
49+
]
50+
},
51+
"execution_count": 3,
52+
"metadata": {},
53+
"output_type": "execute_result"
54+
}
55+
],
3856
"source": [
3957
"print(\"Fitting the model...\")\n",
4058
"\n",
@@ -45,7 +63,7 @@
4563
},
4664
{
4765
"cell_type": "code",
48-
"execution_count": null,
66+
"execution_count": 4,
4967
"metadata": {},
5068
"outputs": [],
5169
"source": [
@@ -56,7 +74,7 @@
5674
},
5775
{
5876
"cell_type": "code",
59-
"execution_count": null,
77+
"execution_count": 5,
6078
"metadata": {},
6179
"outputs": [],
6280
"source": [

pre-processing.ipynb

+13-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
{
1313
"cell_type": "code",
14-
"execution_count": null,
14+
"execution_count": 1,
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -23,7 +23,7 @@
2323
},
2424
{
2525
"cell_type": "code",
26-
"execution_count": null,
26+
"execution_count": 2,
2727
"metadata": {},
2828
"outputs": [],
2929
"source": [
@@ -34,9 +34,17 @@
3434
},
3535
{
3636
"cell_type": "code",
37-
"execution_count": null,
37+
"execution_count": 3,
3838
"metadata": {},
39-
"outputs": [],
39+
"outputs": [
40+
{
41+
"name": "stdout",
42+
"output_type": "stream",
43+
"text": [
44+
"Scaling the data...\n"
45+
]
46+
}
47+
],
4048
"source": [
4149
"# Print messages are useful when you are keeping an eye on the logs of\n",
4250
"# a pipeline step.\n",
@@ -51,7 +59,7 @@
5159
},
5260
{
5361
"cell_type": "code",
54-
"execution_count": null,
62+
"execution_count": 4,
5563
"metadata": {},
5664
"outputs": [],
5765
"source": [

svm.ipynb

+25-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": null,
12+
"execution_count": 1,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -21,7 +21,7 @@
2121
},
2222
{
2323
"cell_type": "code",
24-
"execution_count": null,
24+
"execution_count": 2,
2525
"metadata": {},
2626
"outputs": [],
2727
"source": [
@@ -32,9 +32,28 @@
3232
},
3333
{
3434
"cell_type": "code",
35-
"execution_count": null,
35+
"execution_count": 3,
3636
"metadata": {},
37-
"outputs": [],
37+
"outputs": [
38+
{
39+
"name": "stdout",
40+
"output_type": "stream",
41+
"text": [
42+
"Fitting the model...\n"
43+
]
44+
},
45+
{
46+
"data": {
47+
"text/plain": [
48+
"SVR(C=1.0, cache_size=200, coef0=0.0, degree=3, epsilon=0.1, gamma='scale',\n",
49+
" kernel='rbf', max_iter=-1, shrinking=True, tol=0.001, verbose=False)"
50+
]
51+
},
52+
"execution_count": 3,
53+
"metadata": {},
54+
"output_type": "execute_result"
55+
}
56+
],
3857
"source": [
3958
"print(\"Fitting the model...\")\n",
4059
"\n",
@@ -45,7 +64,7 @@
4564
},
4665
{
4766
"cell_type": "code",
48-
"execution_count": null,
67+
"execution_count": 4,
4968
"metadata": {},
5069
"outputs": [],
5170
"source": [
@@ -56,7 +75,7 @@
5675
},
5776
{
5877
"cell_type": "code",
59-
"execution_count": null,
78+
"execution_count": 5,
6079
"metadata": {},
6180
"outputs": [],
6281
"source": [

0 commit comments

Comments
 (0)