File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 " The dataset under CC0, with the underlying comment text being governed by Wikipedia's CC-SA-3.0"
2525 ]
2626 },
27+ {
28+ "cell_type" : " code" ,
29+ "execution_count" : 1 ,
30+ "metadata" : {},
31+ "outputs" : [
32+ {
33+ "name" : " stdout" ,
34+ "output_type" : " stream" ,
35+ "text" : [
36+ " Requirement already satisfied: xgboost in c:\\ python\\ python37\\ lib\\ site-packages (0.82)\n " ,
37+ " Requirement already satisfied: numpy in c:\\ python\\ python37\\ lib\\ site-packages (from xgboost) (1.16.2)\n " ,
38+ " Requirement already satisfied: scipy in c:\\ python\\ python37\\ lib\\ site-packages (from xgboost) (1.2.1)\n " ,
39+ " Note: you may need to restart the kernel to use updated packages.\n "
40+ ]
41+ }
42+ ],
43+ "source" : [
44+ " pip install xgboost"
45+ ]
46+ },
2747 {
2848 "cell_type" : " code" ,
2949 "execution_count" : 1 ,
955975 "name" : " python" ,
956976 "nbconvert_exporter" : " python" ,
957977 "pygments_lexer" : " ipython3" ,
958- "version" : " 3.7.1 "
978+ "version" : " 3.7.3 "
959979 }
960980 },
961981 "nbformat" : 4 ,
Original file line number Diff line number Diff line change 88 " Create four clusters from text documents of sklearn's “The 20 newsgroups text dataset” using K-means clustering. Compare it with their actual categories. Use elbow method to obtain the optimal number of clusters."
99 ]
1010 },
11+ {
12+ "cell_type" : " code" ,
13+ "execution_count" : null ,
14+ "metadata" : {},
15+ "outputs" : [],
16+ "source" : [
17+ " pip install seaborn"
18+ ]
19+ },
1120 {
1221 "cell_type" : " code" ,
1322 "execution_count" : 5 ,
525534 "name" : " python" ,
526535 "nbconvert_exporter" : " python" ,
527536 "pygments_lexer" : " ipython3" ,
528- "version" : " 3.7.1 "
537+ "version" : " 3.7.3 "
529538 }
530539 },
531540 "nbformat" : 4 ,
Original file line number Diff line number Diff line change 1717 " 3) Multi-stage sampling<br>"
1818 ]
1919 },
20+ {
21+ "cell_type" : " code" ,
22+ "execution_count" : 1 ,
23+ "metadata" : {},
24+ "outputs" : [
25+ {
26+ "name" : " stdout" ,
27+ "output_type" : " stream" ,
28+ "text" : [
29+ " Requirement already satisfied: xlrd in c:\\ python\\ python37\\ lib\\ site-packages (1.2.0)\n " ,
30+ " Note: you may need to restart the kernel to use updated packages.\n "
31+ ]
32+ }
33+ ],
34+ "source" : [
35+ " pip install xlrd"
36+ ]
37+ },
2038 {
2139 "cell_type" : " code" ,
2240 "execution_count" : 6 ,
508526 "name" : " python" ,
509527 "nbconvert_exporter" : " python" ,
510528 "pygments_lexer" : " ipython3" ,
511- "version" : " 3.7.1 "
529+ "version" : " 3.7.3 "
512530 }
513531 },
514532 "nbformat" : 4 ,
Original file line number Diff line number Diff line change 1919 "metadata" : {},
2020 "outputs" : [],
2121 "source" : [
22- " #! pip install joblib"
22+ " pip install joblib"
2323 ]
2424 },
2525 {
188188 "name" : " python" ,
189189 "nbconvert_exporter" : " python" ,
190190 "pygments_lexer" : " ipython3" ,
191- "version" : " 3.7.1 "
191+ "version" : " 3.7.3 "
192192 }
193193 },
194194 "nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments