Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
trajanov committed Oct 5, 2023
1 parent 133fcbd commit cbfbc71
Show file tree
Hide file tree
Showing 3 changed files with 336 additions and 376 deletions.
30 changes: 15 additions & 15 deletions Notebooks/Spark-Example-21-Mllib-Regression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@
"</div>"
],
"text/plain": [
" Country_Code Country Total_Library_Size Num_TV_Shows Num_Movies \n",
"0 ar Argentina 4760 3154 1606 \\\n",
" Country_Code Country Total_Library_Size Num_TV_Shows Num_Movies \\\n",
"0 ar Argentina 4760 3154 1606 \n",
"1 au Australia 6114 4050 2064 \n",
"2 at Austria 5640 3779 1861 \n",
"3 be Belgium 4990 3374 1616 \n",
Expand Down Expand Up @@ -347,15 +347,15 @@
"</div>"
],
"text/plain": [
" Country_Code Country Total_Library_Size Num_TV_Shows Num_Movies \n",
"0 ar Argentina 4760 3154 1606 \\\n",
" Country_Code Country Total_Library_Size Num_TV_Shows Num_Movies \\\n",
"0 ar Argentina 4760 3154 1606 \n",
"1 au Australia 6114 4050 2064 \n",
"2 at Austria 5640 3779 1861 \n",
"3 be Belgium 4990 3374 1616 \n",
"4 bo Bolivia 4991 3155 1836 \n",
"\n",
" Cost_Per_Month_Basic Cost_Per_Month_Standard Cost_Per_Month_Premium \n",
"0 3.74 6.30 9.26 \\\n",
" Cost_Per_Month_Basic Cost_Per_Month_Standard Cost_Per_Month_Premium \\\n",
"0 3.74 6.30 9.26 \n",
"1 7.84 12.12 16.39 \n",
"2 9.03 14.67 20.32 \n",
"3 10.16 15.24 20.32 \n",
Expand Down Expand Up @@ -405,7 +405,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 12,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -520,15 +520,15 @@
"</div>"
],
"text/plain": [
" Country_Code Country Total_Library_Size Num_TV_Shows Num_Movies \n",
"0 at Austria 5640 3779 1861 \\\n",
" Country_Code Country Total_Library_Size Num_TV_Shows Num_Movies \\\n",
"0 at Austria 5640 3779 1861 \n",
"1 be Belgium 4990 3374 1616 \n",
"2 br Brazil 4972 3162 1810 \n",
"3 ca Canada 6239 4311 1928 \n",
"4 ch Switzerland 5506 3654 1852 \n",
"\n",
" Cost_Per_Month_Basic Cost_Per_Month_Standard Cost_Per_Month_Premium \n",
"0 9.03 14.67 20.32 \\\n",
" Cost_Per_Month_Basic Cost_Per_Month_Standard Cost_Per_Month_Premium \\\n",
"0 9.03 14.67 20.32 \n",
"1 10.16 15.24 20.32 \n",
"2 4.61 7.11 9.96 \n",
"3 7.91 11.87 15.03 \n",
Expand All @@ -542,7 +542,7 @@
"4 [5506.0, 3654.0, 1852.0] 15.197567 "
]
},
"execution_count": 13,
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -565,7 +565,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 13,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -597,7 +597,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -612,7 +612,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand Down
101 changes: 39 additions & 62 deletions Notebooks/Spark-Example-22-Mllib-Clustering.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit cbfbc71

Please sign in to comment.