Skip to content
Permalink
Browse files
Final Code - 4 Approaches
SVM with cost sensitive function
SVM with cost sensitive function - Popping/locking dropped
DT with sampling
DT without sampling - AdaBoost
  • Loading branch information
papurac committed Apr 16, 2023
1 parent 147b88b commit b97b64ea625925c13e8fc5cf794318d9b20ab1e8
Show file tree
Hide file tree
Showing 19 changed files with 3,067 additions and 39,451 deletions.

This file was deleted.

@@ -2576,7 +2576,7 @@
],
"source": [
"\"\"\"\n",
"MODEL 3: Decision Tree with AdaBoost\n",
"MODEL 1: Decision Tree with AdaBoost\n",
"\"\"\"\n",
"from sklearn.ensemble import AdaBoostClassifier\n",
"\n",
@@ -2620,7 +2620,7 @@
],
"source": [
"\"\"\"\n",
"MODEL 4: Decision Tree C4.5 and AdaBoost\n",
"MODEL 2: Decision Tree C4.5 and AdaBoost\n",
"\"\"\"\n",
"dt = DecisionTreeClassifier(criterion='entropy', max_depth=5)\n",
"ada = AdaBoostClassifier(base_estimator=dt)\n",
@@ -2690,7 +2690,7 @@
],
"source": [
"\"\"\"\n",
"MODEL 5: OVO with Decision Tree and AdaBoost\n",
"MODEL 3: OVO with Decision Tree and AdaBoost\n",
"\"\"\"\n",
"from sklearn.multiclass import OneVsOneClassifier\n",
"\n",
@@ -2763,7 +2763,7 @@
],
"source": [
"\"\"\"\n",
"MODEL 6: OVO with Decision Tree C4.5 and AdaBoost\n",
"MODEL 4: OVO with Decision Tree C4.5 and AdaBoost\n",
"\"\"\"\n",
"dt = DecisionTreeClassifier(criterion='entropy', max_depth=5)\n",
"ada = AdaBoostClassifier(base_estimator=dt)\n",

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

0 comments on commit b97b64e

Please sign in to comment.