Created
March 31, 2018 08:41
-
-
Save inigoreiriz/51efb14e2e19303ad844dd006f6b7392 to your computer and use it in GitHub Desktop.
Analysis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"Data cleaning step" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"import pandas as pd\n", | |
"import numpy as np\n", | |
"from __future__ import division\n", | |
"\n", | |
"import matplotlib.pyplot as plt\n", | |
"% matplotlib inline\n", | |
"\n", | |
"df = pd.read_csv('../data/Datos_Completos_semanales.csv', decimal=\",\")\n", | |
"\n", | |
"# drop metabolomic attributes\n", | |
"indices = np.arange(21,725,1)\n", | |
"df = df.drop(df.columns[indices],axis=1)\n", | |
"\n", | |
"# drop irrelevant columns\n", | |
"df = df.drop(['BORG', 'sum 6', 'pierna(1)'], axis=1)\n", | |
"\n", | |
"# treat RS & DHJ independently\n", | |
"df_RS = df[df.Tipo == 'RS']\n", | |
"df_DHJ = df[df.Tipo == 'DHJ']\n", | |
"\n", | |
"# For each player within team, drop replicated weeks (Neg/Pos). \n", | |
"# No effect in antropometric variables.\n", | |
"df_RS = df_RS.drop_duplicates(subset=['Codigo','Week'])\n", | |
"df_RS.index = np.arange(0,len(df_RS),1)\n", | |
"\n", | |
"df_DHJ = df_DHJ.drop_duplicates(subset=['Codigo', 'Week'])\n", | |
"df_DHJ.index = np.arange(0,len(df_DHJ),1)\n", | |
"\n", | |
"## Add L/NotL column to dataframe based on mode(BORG)\n", | |
"\n", | |
"# RS case\n", | |
"label = ['NL' if mode!= 'L' else 'L' for mode in df_RS['mode(BORG)'].values]\n", | |
"df_RS['label'] = label\n", | |
"\n", | |
"# DHJ case\n", | |
"label = ['NL' if mode!='L' else 'L' for mode in df_DHJ['mode(BORG)'].values]\n", | |
"df_DHJ['label'] = label\n", | |
"\n", | |
"## Re-arrange columns\n", | |
"cols = df_RS.columns.tolist()\n", | |
"cols = cols[18:] + cols[0:18]\n", | |
"df_RS = df_RS[cols]\n", | |
"df_DHJ = df_DHJ[cols]" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Codigo</th>\n", | |
" <th>Week</th>\n", | |
" <th>Tipo</th>\n", | |
" <th>Tipomet</th>\n", | |
" <th>mode(BORG)</th>\n", | |
" <th>label</th>\n", | |
" <th>edad</th>\n", | |
" <th>talla</th>\n", | |
" <th>peso</th>\n", | |
" <th>IMC</th>\n", | |
" <th>...</th>\n", | |
" <th>biceps</th>\n", | |
" <th>triceps</th>\n", | |
" <th>subes</th>\n", | |
" <th>abdo</th>\n", | |
" <th>supra</th>\n", | |
" <th>crest il</th>\n", | |
" <th>muslo ant</th>\n", | |
" <th>peso Musc</th>\n", | |
" <th>Musc</th>\n", | |
" <th>grasa Yuh</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>1</td>\n", | |
" <td>S01</td>\n", | |
" <td>RS</td>\n", | |
" <td>Neg</td>\n", | |
" <td>6</td>\n", | |
" <td>NL</td>\n", | |
" <td>20.055</td>\n", | |
" <td>173.2</td>\n", | |
" <td>71.7</td>\n", | |
" <td>23.901</td>\n", | |
" <td>...</td>\n", | |
" <td>5.5</td>\n", | |
" <td>11.2</td>\n", | |
" <td>12.7</td>\n", | |
" <td>13.3</td>\n", | |
" <td>7.7</td>\n", | |
" <td>11.5</td>\n", | |
" <td>11.3</td>\n", | |
" <td>32.853</td>\n", | |
" <td>0.458</td>\n", | |
" <td>9.480</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>1</td>\n", | |
" <td>S02</td>\n", | |
" <td>RS</td>\n", | |
" <td>Neg</td>\n", | |
" <td>6</td>\n", | |
" <td>NL</td>\n", | |
" <td>20.074</td>\n", | |
" <td>173.2</td>\n", | |
" <td>71.5</td>\n", | |
" <td>23.835</td>\n", | |
" <td>...</td>\n", | |
" <td>5.2</td>\n", | |
" <td>10.5</td>\n", | |
" <td>11.8</td>\n", | |
" <td>11.4</td>\n", | |
" <td>7.6</td>\n", | |
" <td>9.7</td>\n", | |
" <td>10.5</td>\n", | |
" <td>33.686</td>\n", | |
" <td>0.471</td>\n", | |
" <td>8.933</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>1</td>\n", | |
" <td>S03</td>\n", | |
" <td>RS</td>\n", | |
" <td>Neg</td>\n", | |
" <td>6</td>\n", | |
" <td>NL</td>\n", | |
" <td>20.096</td>\n", | |
" <td>173.2</td>\n", | |
" <td>70.8</td>\n", | |
" <td>23.601</td>\n", | |
" <td>...</td>\n", | |
" <td>5.5</td>\n", | |
" <td>10.7</td>\n", | |
" <td>9.9</td>\n", | |
" <td>6.9</td>\n", | |
" <td>7.7</td>\n", | |
" <td>7.9</td>\n", | |
" <td>9.5</td>\n", | |
" <td>33.518</td>\n", | |
" <td>0.473</td>\n", | |
" <td>8.050</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>1</td>\n", | |
" <td>S04</td>\n", | |
" <td>RS</td>\n", | |
" <td>Neg</td>\n", | |
" <td>6</td>\n", | |
" <td>NL</td>\n", | |
" <td>20.112</td>\n", | |
" <td>173.2</td>\n", | |
" <td>70.7</td>\n", | |
" <td>23.568</td>\n", | |
" <td>...</td>\n", | |
" <td>5.0</td>\n", | |
" <td>10.1</td>\n", | |
" <td>10.7</td>\n", | |
" <td>8.9</td>\n", | |
" <td>7.2</td>\n", | |
" <td>8.5</td>\n", | |
" <td>9.5</td>\n", | |
" <td>33.463</td>\n", | |
" <td>0.473</td>\n", | |
" <td>8.281</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>1</td>\n", | |
" <td>S05</td>\n", | |
" <td>RS</td>\n", | |
" <td>Neg</td>\n", | |
" <td>8</td>\n", | |
" <td>NL</td>\n", | |
" <td>20.134</td>\n", | |
" <td>173.2</td>\n", | |
" <td>70.5</td>\n", | |
" <td>23.501</td>\n", | |
" <td>...</td>\n", | |
" <td>5.6</td>\n", | |
" <td>9.4</td>\n", | |
" <td>9.7</td>\n", | |
" <td>8.9</td>\n", | |
" <td>6.7</td>\n", | |
" <td>7.5</td>\n", | |
" <td>9.0</td>\n", | |
" <td>34.004</td>\n", | |
" <td>0.482</td>\n", | |
" <td>7.924</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"<p>5 rows × 24 columns</p>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Codigo Week Tipo Tipomet mode(BORG) label edad talla peso IMC \\\n", | |
"0 1 S01 RS Neg 6 NL 20.055 173.2 71.7 23.901 \n", | |
"1 1 S02 RS Neg 6 NL 20.074 173.2 71.5 23.835 \n", | |
"2 1 S03 RS Neg 6 NL 20.096 173.2 70.8 23.601 \n", | |
"3 1 S04 RS Neg 6 NL 20.112 173.2 70.7 23.568 \n", | |
"4 1 S05 RS Neg 8 NL 20.134 173.2 70.5 23.501 \n", | |
"\n", | |
" ... biceps triceps subes abdo supra crest il muslo ant \\\n", | |
"0 ... 5.5 11.2 12.7 13.3 7.7 11.5 11.3 \n", | |
"1 ... 5.2 10.5 11.8 11.4 7.6 9.7 10.5 \n", | |
"2 ... 5.5 10.7 9.9 6.9 7.7 7.9 9.5 \n", | |
"3 ... 5.0 10.1 10.7 8.9 7.2 8.5 9.5 \n", | |
"4 ... 5.6 9.4 9.7 8.9 6.7 7.5 9.0 \n", | |
"\n", | |
" peso Musc Musc grasa Yuh \n", | |
"0 32.853 0.458 9.480 \n", | |
"1 33.686 0.471 8.933 \n", | |
"2 33.518 0.473 8.050 \n", | |
"3 33.463 0.473 8.281 \n", | |
"4 34.004 0.482 7.924 \n", | |
"\n", | |
"[5 rows x 24 columns]" | |
] | |
}, | |
"execution_count": 2, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"df_RS.head()" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"#### Disponibilidad de cada jugador con respecto a las 15 semanas de actividad?" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 3, | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"def compute_availability(df):\n", | |
" \"\"\"\n", | |
" Computes availability ratio \n", | |
" for each player<\n", | |
" \"\"\"\n", | |
" av = {}\n", | |
" for i in list(set(df['Codigo'].values)):\n", | |
" counts = df[df['Codigo'] == i]['label'].value_counts().values\n", | |
" if len(counts) > 1:\n", | |
" ratio = counts[1] / counts[0]\n", | |
" av[i] = ratio\n", | |
" else:\n", | |
" av[i] = 1\n", | |
" \n", | |
" av_key = []\n", | |
" av_val = []\n", | |
" for key in av:\n", | |
" av_key.append(key)\n", | |
" av_val.append(av[key])\n", | |
" \n", | |
" return av_key, av_val\n", | |
"\n", | |
"rs_av_key, rs_av_val = compute_availability(df_RS)\n", | |
"dhj_av_key, dhj_av_val = compute_availability(df_DHJ)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"Show availability ratios for RS players" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 4, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEWCAYAAACJ0YulAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmYXGWZ9/HvjwACSSBAgrIkJMgiGWQNm4OIIEgQDKKDLOL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jrWlvAzIjo6LKknyIVkn2Ab0v6cLx7oRuzWviYgg1ETwFjJb0vN8vslsc/AmyQf/QBPl9aZjVgbn4oIVbdAAABA0lEQVR8aGn8rcBBAPm6F5vn8X8FPiZpeD6YfCCpmai9R4ARyteqlrSCpH+QtBwwMiJuAk7Izz+kuZdrVp33FGzAyP3dvxURsyVdTuqt8wlSr7RExJuSjgauk/Q6cHdp8R+Rmo/+A7i2NP4c0pXkHiJ1uz0tx5on6UTS9TAEXBsR7+kCOyLelvQ54Eyly5UuT7pi3qPAxXmcgDOj55cuNeuSe0m1AUPSFsAvIqLTi5ZIGhIRr+W+7s8CHouI0/ssSbMWc/ORDQiSjiQdOP6PLmb9stL1sWeSmmx+XnduZksT7ymYmVnBewpmZlZwUTAzs4KLgpmZFVwUzMys4KJgZmaF/w9dYlQ8Mo9XCQAAAABJRU5ErkJggg==\n", | |
"text/plain": [ | |
"<matplotlib.figure.Figure at 0x11b7eb4d0>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
} | |
], | |
"source": [ | |
"y_pos = np.arange(len(rs_av_key))\n", | |
"plt.bar(y_pos, rs_av_val, align='center', alpha=0.5)\n", | |
"plt.xticks(y_pos, rs_av_key)\n", | |
"plt.xlabel('Jugadores')\n", | |
"plt.ylabel('Ratio disponibilidad')\n", | |
"plt.title('Ratio disponibilidad Jugadores RS')\n", | |
"\n", | |
"plt.show()" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"Show availability ratios for DHJ players" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 5, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEWCAYAAACJ0YulAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAH9NJREFUeJzt3Xu8FXW9//HXWwQ1EU3BUgTRUpNjaoq3HpaX0sQy1MrrqbTMo2aZx07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UzMws56JgZmY5FwUzM8v9LzAY6CXV6disAAAAAElFTkSuQmCC\n", | |
"text/plain": [ | |
"<matplotlib.figure.Figure at 0x11be819d0>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
} | |
], | |
"source": [ | |
"y_pos = np.arange(len(dhj_av_key))\n", | |
"plt.bar(y_pos, dhj_av_val, align='center', alpha=0.5)\n", | |
"plt.xticks(y_pos, dhj_av_key)\n", | |
"plt.xlabel('Jugadores')\n", | |
"plt.ylabel('Ratio disponibilidad')\n", | |
"plt.title('Ratio disponibilidad Jugadores DHJ')\n", | |
"\n", | |
"plt.show()" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"Create .csv files for powerbi" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 6, | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"dt_RS = pd.DataFrame()\n", | |
"dt_RS['Codigo'] = rs_av_key\n", | |
"dt_RS['Ratio'] = rs_av_val\n", | |
"dt_RS.to_csv('../data/Ratio_Disponibilidad_Jugadores_RS.csv', index=False)\n", | |
"\n", | |
"dt_DHJ = pd.DataFrame()\n", | |
"dt_DHJ['Codigo'] = dhj_av_key\n", | |
"dt_DHJ['Ratio'] = dhj_av_val\n", | |
"dt_DHJ.to_csv('../data/Ratio_Disponibilidad_Jugadores_RHJ.csv', index=False)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"#### Variables antropométricas que contribuyen más a la predicción de la lesión?" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"Check first how imbalanced each dataset is in terms of classes (L/NL)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 7, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"NL 227\n", | |
"L 37\n", | |
"Name: label, dtype: int64\n", | |
"\n", | |
"\n", | |
"NL 168\n", | |
"L 32\n", | |
"Name: label, dtype: int64\n" | |
] | |
} | |
], | |
"source": [ | |
"print df_RS['label'].value_counts()\n", | |
"print \"\\n\"\n", | |
"print df_DHJ['label'].value_counts()" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"Build classifer for RS" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 8, | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"y = [1 if label=='L' else 0 for label in df_RS['label'].values] \n", | |
"\n", | |
"X_columns = df_RS.columns[6:].values\n", | |
"X_columns[5] = 'Torax'\n", | |
"X = df_RS.as_matrix()\n", | |
"X = X[:,6:]\n", | |
"X = X.astype(float)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 9, | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"from collections import Counter, defaultdict\n", | |
"from sklearn.ensemble import RandomForestClassifier, GradientBoostingClassifier\n", | |
"from sklearn import tree\n", | |
"from sklearn import metrics\n", | |
"from sklearn.metrics import roc_auc_score, confusion_matrix\n", | |
"from sklearn.model_selection import cross_val_score, StratifiedKFold, KFold\n", | |
"\n", | |
"from confusion_matrix_pp import *\n", | |
"import pprint\n", | |
"pp = pprint.PrettyPrinter(indent=2)\n", | |
"from IPython.display import display\n", | |
"\n", | |
"def upsampling(y):\n", | |
" \"\"\"\n", | |
" Given y, returns indices of rebalanced y\n", | |
" \"\"\"\n", | |
" class_count = Counter(y).most_common()\n", | |
" to_match = class_count[0][1]\n", | |
" indices = np.nonzero(y==class_count[0][0])[0]\n", | |
" new_indices = []\n", | |
" new_indices.append(indices)\n", | |
" for class_ in class_count[1:]:\n", | |
" indices = np.nonzero(y ==class_[0])[0]\n", | |
" n_indices = np.random.choice(indices, to_match, replace=True)\n", | |
" new_indices.append(n_indices)\n", | |
" \n", | |
" new_indices = np.concatenate(new_indices)\n", | |
" return new_indices\n", | |
"\n", | |
"def standardize(X):\n", | |
" \"\"\"\n", | |
" Standardizes feature matrix X\n", | |
" \"\"\"\n", | |
" X_mean = X.mean(axis=0)\n", | |
" X_std = X.std(axis=0)\n", | |
" X = (X - X_mean) / X_std\n", | |
" \n", | |
" return X\n", | |
"\n", | |
"def train_test(X, y):\n", | |
" \n", | |
" X = standardize(X)\n", | |
" X = np.array(X)\n", | |
" y = np.array(y)\n", | |
" \n", | |
" importances = []\n", | |
" train_accs = []\n", | |
" test_accs = []\n", | |
" train_f1s = []\n", | |
" test_f1s = []\n", | |
" \n", | |
" matrix = None\n", | |
" \n", | |
" skf = StratifiedKFold(5, shuffle=True)\n", | |
" \n", | |
" fold_count = 0\n", | |
" for train_idx, test_idx, in skf.split(X,y):\n", | |
" print(\"Processing fold %s\" % fold_count)\n", | |
" \n", | |
" y_train = y[train_idx]\n", | |
" train_idx_resample = upsampling(y_train)\n", | |
" y_train = y_train[train_idx_resample]\n", | |
" \n", | |
" y_test = y[test_idx]\n", | |
" test_idx_resample = upsampling(y_test)\n", | |
" y_test = y_test[test_idx_resample]\n", | |
" \n", | |
" X_train = X[train_idx][train_idx_resample]\n", | |
" X_test = X[test_idx][test_idx_resample]\n", | |
" \n", | |
" clf = RandomForestClassifier(n_estimators=50, n_jobs=-1,\n", | |
" criterion='gini',\n", | |
" max_features='auto',\n", | |
" max_depth=None) \n", | |
" clf.fit(X_train, y_train)\n", | |
" importances.append(clf.feature_importances_)\n", | |
" \n", | |
" y_train_pred = clf.predict(X_train)\n", | |
" y_test_pred = clf.predict(X_test)\n", | |
" \n", | |
" train_accs.append(metrics.accuracy_score(y_train, y_train_pred))\n", | |
" train_f1s.append(metrics.f1_score(y_train, y_train_pred))\n", | |
" \n", | |
" test_accs.append(metrics.accuracy_score(y_test, y_test_pred))\n", | |
" test_f1s.append(metrics.f1_score(y_test, y_test_pred))\n", | |
" \n", | |
" if matrix is None:\n", | |
" conf_matrix = confusion_matrix(y_test, y_test_pred)\n", | |
" else:\n", | |
" conf_matrix += confusion_matrix(y_test, y_test_pred)\n", | |
" \n", | |
" fold_count += 1\n", | |
" \n", | |
" print \"\\n EVALUATION METRICS:\"\n", | |
" \n", | |
" df = pd.DataFrame()\n", | |
" df['Train Accuracy'] = [np.mean(np.array(train_accs))]\n", | |
" df['Test Accuracy'] = [np.mean(np.array(test_accs))]\n", | |
" df['Train F1'] = [np.mean(np.array(train_f1s))]\n", | |
" df['Test F1'] = [np.mean(np.array(test_f1s))]\n", | |
" \n", | |
" display(df)\n", | |
" \n", | |
" print \"\\n CONFUSION MATRIX:\"\n", | |
" print_confusion_matrix(conf_matrix, [\"Lesion\", \"No Lesion\"])\n", | |
"\n", | |
" print \"\\n FEATURE WEIGHTS:\" \n", | |
" mean_feature_weights = np.mean(np.array(importances), axis=0)\n", | |
" feature_names = X_columns[np.argsort(mean_feature_weights)[::-1]]\n", | |
" feature_weights = mean_feature_weights[np.argsort(mean_feature_weights)[::-1]]\n", | |
" \n", | |
" weights = {}\n", | |
" for feature_name, feature_weight in (zip(feature_names, feature_weights)):\n", | |
" weights[feature_name] = feature_weight\n", | |
" \n", | |
" ## Write weights to CSV\n", | |
" \n", | |
" dt_weights = pd.DataFrame()\n", | |
" dt_weights['Variables Antropometricas'] = [key for key in weights]\n", | |
" dt_weights['Importancia'] = [weights[key] for key in weights] \n", | |
" dt_weights = dt_weights.sort_values(by=['Importancia'], ascending=False) \n", | |
" dt_weights.index = np.arange(0,len(dt_weights),1)\n", | |
" \n", | |
" display(dt_weights)\n", | |
" \n", | |
" dt_weights.to_csv('../data/Importancia_Variables_Antropometricas.csv', index=False)\n", | |
" \n", | |
" return clf, dt_weights\n", | |
" \n", | |
"def plot_weights(dt_weights):\n", | |
" \n", | |
" plt.figure(figsize=(18,5))\n", | |
"\n", | |
" y_pos = np.arange(len(dt_weights))\n", | |
" plt.bar(y_pos, dt_weights.Importancia.values, align='center', alpha=0.5)\n", | |
" plt.xticks(y_pos, dt_weights['Variables Antropometricas'].values)\n", | |
" plt.xlabel('Variables Antropometricas')\n", | |
" plt.ylabel('Peso')\n", | |
" plt.title('Peso de Variables Antropometricas')\n", | |
"\n", | |
" plt.show()" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 10, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"Processing fold 0\n", | |
"Processing fold 1\n", | |
"Processing fold 2\n", | |
"Processing fold 3\n", | |
"Processing fold 4\n", | |
"\n", | |
" EVALUATION METRICS:\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Train Accuracy</th>\n", | |
" <th>Test Accuracy</th>\n", | |
" <th>Train F1</th>\n", | |
" <th>Test F1</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>1.0</td>\n", | |
" <td>0.717778</td>\n", | |
" <td>1.0</td>\n", | |
" <td>0.5723</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Train Accuracy Test Accuracy Train F1 Test F1\n", | |
"0 1.0 0.717778 1.0 0.5723" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
}, | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"\n", | |
" CONFUSION MATRIX:\n" | |
] | |
}, | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmEAAAHWCAYAAAA/0l4bAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xd0VHX6x/HPpEISQmhBBAkJoUMQFEVE0BALIIJILxIVWZpUWYoQQl1YkI6CsIK0RQSlI22Rokj/0RFMAAUhYKhJSJuZ3x8uoyzCEAxzmZv3yzPnJFPuPMk5YT4+z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Q3b155ePy2yiUxMVHDhw/Xu+++q379+ql58+YKCgrSzp07dfDgQXXo0EGPPvqohg8frvz586ty5cp0npHjsFkrTOXkyZMKDQ11/GOekJCgCRMm6P3331fr1q117do1rVu3TnPmzNHo0aPVt29fjRw5UgsWLJC3t7eaNm3KBwGQRQsWLNC6des0ZcoUxzYv6enpunjxoh599FHH8xo1aiSr1arx48drz549aty4sTw8PFSxYkX+7pAjsTAfprF48WKNHz9eycnJstlskqSrV68qIyNDNWvWlCQFBgbqlVdeUYsWLfTtt98qLi5Offv21XPPPacaNWrwQQDchyZNmmjo0KEKCAjQpUuXlJGRIYvFIi8vL127dk2SlJmZKUl644035O/vr82bN0v6LZiFh4cbVjtgJEIYTCMsLEx9+vSRv7+/Y5sJPz8/paWl6eDBg47nBQQE6KWXXtLZs2e1c+dOeXp6ql+/fuyaD9wHq9UqHx8fFS9eXAcOHFDHjh313Xff6ZFHHlG1atU0atQonThxQl5evw1eMjIyFBwcrLCwMIMrB4zHOBKmUbVqVUnS4cOHNWHCBLVp00a1a9dW+fLltWbNGhUvXlwRERGSfuuIVahQQYULF5bEdSOB++Xp6en4ukyZMvL09NRHH32k3LlzKyYmRt27d9dbb72l7t27K0+ePDp8+LBOnDjh+HsFcjJ2zIfp7NixQ9OnT5ePj4+6deumPHny6L333lOxYsVUq1YtVapUSStWrNCyZcu0aNEiFS1a1OiSAbd0839eLly4oKSkJIWFhSk9PV2dOnXS9evX1atXL1WvXl0jR47U/v37deXKFeXLl08xMTEqX7680eUDhiOEwe3d/CC4dOmSfH19lTt3bv3www+aOnWqUlNT1adPHwUGBmrixInatWuXvLy85OPjo9GjR/NBANynm39369at0+TJk3XmzBm1b99eXbp0UVpamjp37qzLly+rX79+euqpp5ScnKzU1FT5+PgoT548RpcPPBQIYXBrNz8INmzYoI8++kjJyclq2bKloqOjtXPnTn322WdKTU1Vjx49VKlSJSUlJSkxMVH58uVTYGCg0eUDbm379u3q3Lmz+vfvr7Jlyypv3rwqUqSIfHx8l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9Pz1ue7+3tLZvNps8++8zxXgkJCSpYsKA2bNhwx/cBkLMwjgRgqKefflrr169XYmKi7Ha7YmNj9dlnn+mJJ57Q/v37lZCQIJvNptWrV9/22mrVqmnNmjWy2+1KTExUmzZtlJ6eLk9PT1mtVuXJk0clSpRwhLBvv/1WrVu3liTVqFFDy5cvlyStW7dO6enpd6zx4MGDCgkJUXR0tCpXrqwtW7bcsvB/xYoVkqT169crLCxMuXPnVvXq1R0jyx9//FGvvfaabty4kT2/NACmQCcMgKHKli2rrl27ql27drLZbCpXrpw6dOggX19fDRw4UNHR0cqdO7fCw8Nve22rVq00fPhwvfbaa5KkQYMGKSAgQM8995wGDx6s0aNHa8yYMYqNjdXMmTPl7e2t8ePHy2KxKCYmRn369NHChQtVqVIl+fv737HGZ599Vv/+979Vr149+fj4KCIiQidOnHA8furUKTVs2FD+/v4aNWqUJGngwIGKiYlRgwYNJEn//Oc/FRAQkJ2/OgBuzmK/2Y8HAACAyzCOBAAAMAAhDAAAwACEMAAAAAMQwgAAAAxACAMAADAAIQwAAMAAhDAAAAADEMIAAAAM8P+KTBhfchPP4wAAAABJRU5ErkJggg==\n", | |
"text/plain": [ | |
"<matplotlib.figure.Figure at 0x12000f390>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
}, | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"\n", | |
" FEATURE WEIGHTS:\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Variables Antropometricas</th>\n", | |
" <th>Importancia</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>IMC</td>\n", | |
" <td>0.123970</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>Musc</td>\n", | |
" <td>0.103292</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>pierna</td>\n", | |
" <td>0.097094</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>talla</td>\n", | |
" <td>0.073268</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>brazo rel</td>\n", | |
" <td>0.065889</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>edad</td>\n", | |
" <td>0.060770</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>Torax</td>\n", | |
" <td>0.054610</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>crest il</td>\n", | |
" <td>0.051739</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>grasa Yuh</td>\n", | |
" <td>0.049047</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>muslo ant</td>\n", | |
" <td>0.046693</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>peso Musc</td>\n", | |
" <td>0.043655</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>11</th>\n", | |
" <td>peso</td>\n", | |
" <td>0.040566</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>12</th>\n", | |
" <td>triceps</td>\n", | |
" <td>0.040371</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>13</th>\n", | |
" <td>supra</td>\n", | |
" <td>0.034766</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>14</th>\n", | |
" <td>abdo</td>\n", | |
" <td>0.034740</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>15</th>\n", | |
" <td>subes</td>\n", | |
" <td>0.028824</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>16</th>\n", | |
" <td>muslo</td>\n", | |
" <td>0.028786</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>17</th>\n", | |
" <td>biceps</td>\n", | |
" <td>0.021918</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Variables Antropometricas Importancia\n", | |
"0 IMC 0.123970\n", | |
"1 Musc 0.103292\n", | |
"2 pierna 0.097094\n", | |
"3 talla 0.073268\n", | |
"4 brazo rel 0.065889\n", | |
"5 edad 0.060770\n", | |
"6 Torax 0.054610\n", | |
"7 crest il 0.051739\n", | |
"8 grasa Yuh 0.049047\n", | |
"9 muslo ant 0.046693\n", | |
"10 peso Musc 0.043655\n", | |
"11 peso 0.040566\n", | |
"12 triceps 0.040371\n", | |
"13 supra 0.034766\n", | |
"14 abdo 0.034740\n", | |
"15 subes 0.028824\n", | |
"16 muslo 0.028786\n", | |
"17 biceps 0.021918" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
}, | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAABCMAAAFKCAYAAAAnjJX9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAIABJREFUeJzs3XlYlPX+//EXMIIKKGpolktBodXJEPJri5iSelzwZGFCJtrJk1mmuaSSopkL4pL7VpanovLglkez7bgcNTNTk1IzLVLcUFFBBZRt7t8f/pgjCkg1cw9Oz8d1eV3O3Pf9ud/vueee5cV93+NmGIYhAAAAAAAAk7g7uwAAAAAAAPDnQhgBAAAAAABMRRgBAAAAAABMRRgBAAAAAABMRRgBAAAAAABMRRgBAAAAAABMRRgBAEAJjh49qrvuukuPPfaY7d/f/vY3LVu2zPRann/+ea1YsaLc83/88cdq3779NfefPn1aTZs2VXp6ernH2r17twYMGHDd+Ro1aqSzZ89ec/+KFSv0/PPPl3t95bF+/Xo1atRIa9asKfcyc+bM0dq1a+1ahyOVVe/MmTO1cuVKkysCAMC+LM4uAACAiqpy5cr697//bbt98uRJRURE6C9/+YsaN27sxMrK1rFjRyUkJGjnzp0KDQ213b98+XKFh4fL39+/3GPde++9mjVrliPK/N0WL16szp0767333lOnTp3Ktcy2bdt0xx13OLgy+ymr3pdfftnkagAAsD/CCAAAyqlOnTpq2LChDh06pMaNG2vp0qVavHixrFar/Pz8NGrUKAUGBmrHjh1KSEiQ1WqVdPnIhr/+9a+6cOGCXn/9df30009yc3NTWFiYBg8eLIul+NvxyZMnFRsbq1OnTumWW27RmTNnbNNSUlI0YcIEZWZmqrCwUDExMeratWux5b28vBQZGanly5fbwgjDMLR06VJNmjRJkrRhwwa9+eabysvL09mzZ9WlSxcNHDhQ27Zt04QJE1S1alXl5ORo6NChmjRpkj755BMdPHhQY8eOVU5Ojk6dOqXGjRtrxowZ8vLykiTNmDFDu3fvltVq1cCBA9W6detidV24cEETJkzQgQMHlJ+frwcffFDDhg2TxWLRrFmz9J///EeVKlVSjRo1NHHiRNWuXfuabXDkyBFt27ZNGzZsUMeOHbVr1y41bdpUkhQbGysfHx/t379fJ06cUEBAgKZNm6aVK1dqz549mjx5sjw8PLRu3TplZmbqyJEjatWqlfr27Vvqdrn77rvVq1cvbdu2TTk5ORo8eLDatWsnSZo7d67WrFkjDw8P3X777Ro1apT8/f0VExOje+65R998843OnDmjnj176syZM/r222918eJFzZgxQ40aNSr18UhKSiqz3jNnzujOO+9U79699f3332v8+PG6ePGiKlWqpGHDhunBBx/UsmXLlJSUpPz8fJ07d07PPfecunfvrvT0dA0fPlwZGRmSpEceeUQDBw78fTsEAAB/hAEAAK5x5MgRIzg4uNh93333ndGsWTPj+PHjxrZt24zu3bsbOTk5hmEYxubNm40OHToYhmEYPXv2ND755BPDMAxj3759xpgxYwzDMIxhw4YZ48aNM6xWq5Gbm2s8++yzxptvvnnNul988UVj+vTphmEYxqFDh4zg4GBj+fLlRn5+vtGxY0djz549hmEYxvnz540OHToYu3btumaMw4cPGyEhIUZWVpZhGIbx1VdfGY899ph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bt2po+fbrc3c35e/T1Xr9fe+01u792O8rVnz/Hjh2rzz77TGlpaYqLi1N+fr4qV66s6dOnKzc3t8TvBS+//LL8/f118uRJtWzZUoMGDXLq9qkICCNuQE2aNNGXX36pnJwcJScnq3nz5rZD0E6dOmU7SqKIt7e3M8osUbt27fTll1/qiSee0A8//KDnnntOaWlpJc779ddfq0mTJho6dKh27NihCxcuaM+ePcrIyNCyZct07tw5/fOf/zQtjJCkixcv6p///KfOnj2rJ598UoWFhZIuH6ocExOjRx55RFu3btXUqVM1aNAgpaena/ny5fL09NSmTZvUpEkTjRw5UtOnT9eaNWvUvXt3VatWTf/85z9ltVrVqVMnnTx5UnXq1DGtpyJ9+/bVgQMHFBISombNmql58+b67rvvNHv27BIf49TUVHXq1Ent2rXTyZMnFRMTY0oYUaVKFb311lu2bdCyZUvl5OToxRdf1N13362vv/5af//736+pPzExUYZhaOjQoXr88cdVr1499erVS4sXL1adOnX03nvvaf78+Ro+fHix9QUEBCguLk6//PKLPv30U3300UeSpL///e9q0aKFQ3tdunSpatSoofj4eGVkZKhHjx7KycnRihUr5OfnZ/vAmpaWpuDgYD355JPKzc21vcFNnjxZAwYM0MMPP6y33npLv/76q0PrLa+1a9fq1KlTWrJkifLz8xUdHa0HHnhA0uUPWjExMTpy5IhCQ0PVtWtXXbp0Sa1atVL//v01fvx49ejRQxs3blSPHj1M+6D4r3/9S7feequmT5+uQ4cO6b///a+qVaumatWqaf78+crMzFT37t21fPlyValSRUOHDtWWLVv01VdfqUOHDurVq5fWr1+v8+fP2/a1kr60/lFJSUmqV6+eZs2apZSUFEVERNimRUREqG3bttq7d2+J++6KFSv02muvqUmTJvroo49UUFCgX375RcOHD1ejRo20evVqrVixolgYIUn33HOPOnfurGeeeUbvvvuuvLy8yqwxJydHgwYNUr169RQTE6N9+/apSZMmZS6TnZ2tRYsWac2aNXr33Xe1ZMkSbdu2Te+//36p7wElvYcUycjI0OzZs/Xxxx/Lx8dH8fHxSkpKUo8ePWzzlNb7kSNH9N5776lu3bqKjo7W7t27y7VNr37/CA8P16hRo/TRRx+pVq1amjFjhj7++GPl5+dfU/dPP/2ko0ePasmSJSooKFD37t31wAMPqFGjRsXWER4eruHDh+uVV17RF198ofbt29tes0qzevVqvf/++6pdu7bttK/Ro0dr2rRpCgwM1NKlS5WSkqJ77rmnzHHK4+rHwN3dXUuWLLFb/45StH3DwsJ07tw5xcXF2U59KSgo0Lhx47R06VLVqlVLCxcuVFpaWonb1mKxXPMYPProoyVuAzNcvY+UdTpD/fr1NWnSJG3cuFFTpkxRXFxcsc84H374oaZMmaI6depowYIF+vzzz/XCCy+Y1otU8ueSOnXqqF27durUqZM+/PBDvfnmm2ratKlyc3O1ZMkSHT9+XF988YUkafLkyerZs6fatGmjffv2acSIEaZuD+m3bZOQkBD16dPHtk0GDhxY4ueUTz75RL1791b79u21cuVKZWVlFfvDi6OV9fpdkj/62u0oV3/+tFqtki5/B+jTp49atmypdevW6ccff9SyZctK/F5w7NgxvfPOO/L19VX37t21d+9ep28fZyOMuEE9+uijWrdunb7++mu9+OKLmjZtmiTplltu0Y8//lhs3iNHjujEiRNq1qyZM0otpnPnzhozZozq16+v+++/v8R5iq5v0bVrVy1cuFD/+Mc/5Ovrq0GDBungwYMKDg6WJFWvXl0DBw40rXZJatasmdzd3XXTTTepWrVqtjeJAwcO6M0339Tbb78twzBksVzeterVq1fsEK67775bknTzzTfr9OnT8vLy0tmzZzV48GBVrVpVOTk5ys/PN7Wnq/n7+2v+/PlatmyZ3NzcVFBQUOJ8N910k9577z19+eWX8vHxKXU+ewsNDZWbm5tq1aolX19fZWZmSpLtLzBl1T9u3Djdfvvt6tatm86ePSsfHx9b8NOsWTPbfnSlonEPHDig48eP65lnnpEknTt3TqmpqY5sVQcOHNDOnTv1ww8/SLp8pISbm5tq1KghSWratKkkyc/PT7t379Y333wjHx8f2195Dh06ZPuSFxISUmHCiJSUFN1///1yc3OTp6en7rvvPtu+VPR4+/n5KTk5WVu3bpWvr69tv/Dz81PHjh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CCGEEAYlyQghhBBCCCGEEEIYlCQjhBBCCCGEEEIIYVCSjBBCCCGEEEIIIYRBSTJCCCGEEEIIIYQQBiXJCCGEEEIIIYQQQhjUfwBazFSuDYZ68gAAAABJRU5ErkJggg==\n", | |
"text/plain": [ | |
"<matplotlib.figure.Figure at 0x11b741e10>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
} | |
], | |
"source": [ | |
"clf, dt_weights = train_test(X, y)\n", | |
"plot_weights(dt_weights)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 11, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/svg+xml": [ | |
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n", | |
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n", | |
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n", | |
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n", | |
" -->\n", | |
"<!-- Title: Tree Pages: 1 -->\n", | |
"<svg width=\"1368pt\" height=\"984pt\"\n", | |
" viewBox=\"0.00 0.00 1368.00 984.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n", | |
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 980)\">\n", | |
"<title>Tree</title>\n", | |
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-980 1364,-980 1364,4 -4,4\"/>\n", | |
"<!-- 0 -->\n", | |
"<g id=\"node1\" class=\"node\"><title>0</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.223529\" stroke=\"black\" d=\"M671.253,-976C671.253,-976 567.854,-976 567.854,-976 561.854,-976 555.854,-970 555.854,-964 555.854,-964 555.854,-910 555.854,-910 555.854,-904 561.854,-898 567.854,-898 567.854,-898 671.253,-898 671.253,-898 677.253,-898 683.253,-904 683.253,-910 683.253,-910 683.253,-964 683.253,-964 683.253,-970 677.253,-976 671.253,-976\"/>\n", | |
"<text text-anchor=\"start\" x=\"574.846\" y=\"-960.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">pierna ≤ 0.323</text>\n", | |
"<text text-anchor=\"start\" x=\"583.162\" y=\"-946.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.492</text>\n", | |
"<text text-anchor=\"start\" x=\"573.831\" y=\"-932.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 229</text>\n", | |
"<text text-anchor=\"start\" x=\"563.704\" y=\"-918.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [159, 205]</text>\n", | |
"<text text-anchor=\"start\" x=\"564.107\" y=\"-904.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 1 -->\n", | |
"<g id=\"node2\" class=\"node\"><title>1</title>\n", | |
"<path fill=\"#e58139\" fill-opacity=\"0.662745\" stroke=\"black\" d=\"M570.359,-862C570.359,-862 464.747,-862 464.747,-862 458.747,-862 452.747,-856 452.747,-850 452.747,-850 452.747,-796 452.747,-796 452.747,-790 458.747,-784 464.747,-784 464.747,-784 570.359,-784 570.359,-784 576.359,-784 582.359,-790 582.359,-796 582.359,-796 582.359,-850 582.359,-850 582.359,-856 576.359,-862 570.359,-862\"/>\n", | |
"<text text-anchor=\"start\" x=\"460.9\" y=\"-846.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">grasa Yuh ≤ 1.462</text>\n", | |
"<text text-anchor=\"start\" x=\"481.162\" y=\"-832.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.377</text>\n", | |
"<text text-anchor=\"start\" x=\"475.724\" y=\"-818.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 92</text>\n", | |
"<text text-anchor=\"start\" x=\"466.113\" y=\"-804.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [110, 37]</text>\n", | |
"<text text-anchor=\"start\" x=\"473\" y=\"-790.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 0->1 -->\n", | |
"<g id=\"edge1\" class=\"edge\"><title>0->1</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M584.736,-897.769C576.448,-888.669 567.524,-878.87 558.972,-869.48\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"561.535,-867.095 552.214,-862.058 556.359,-871.809 561.535,-867.095\"/>\n", | |
"<text text-anchor=\"middle\" x=\"551.047\" y=\"-882.831\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">True</text>\n", | |
"</g>\n", | |
"<!-- 20 -->\n", | |
"<g id=\"node21\" class=\"node\"><title>20</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.709804\" stroke=\"black\" d=\"M772.946,-862C772.946,-862 670.161,-862 670.161,-862 664.161,-862 658.161,-856 658.161,-850 658.161,-850 658.161,-796 658.161,-796 658.161,-790 664.161,-784 670.161,-784 670.161,-784 772.946,-784 772.946,-784 778.946,-784 784.946,-790 784.946,-796 784.946,-796 784.946,-850 784.946,-850 784.946,-856 778.946,-862 772.946,-862\"/>\n", | |
"<text text-anchor=\"start\" x=\"683.463\" y=\"-846.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">talla ≤ 0.622</text>\n", | |
"<text text-anchor=\"start\" x=\"689.055\" y=\"-832.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.35</text>\n", | |
"<text text-anchor=\"start\" x=\"675.831\" y=\"-818.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 137</text>\n", | |
"<text text-anchor=\"start\" x=\"669.597\" y=\"-804.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [49, 168]</text>\n", | |
"<text text-anchor=\"start\" x=\"666.107\" y=\"-790.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 0->20 -->\n", | |
"<g id=\"edge20\" class=\"edge\"><title>0->20</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M654.371,-897.769C662.659,-888.669 671.583,-878.87 680.134,-869.48\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"682.747,-871.809 686.893,-862.058 677.572,-867.095 682.747,-871.809\"/>\n", | |
"<text text-anchor=\"middle\" x=\"688.06\" y=\"-882.831\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">False</text>\n", | |
"</g>\n", | |
"<!-- 2 -->\n", | |
"<g id=\"node3\" class=\"node\"><title>2</title>\n", | |
"<path fill=\"#e58139\" fill-opacity=\"0.835294\" stroke=\"black\" d=\"M366.466,-748C366.466,-748 270.64,-748 270.64,-748 264.64,-748 258.64,-742 258.64,-736 258.64,-736 258.64,-682 258.64,-682 258.64,-676 264.64,-670 270.64,-670 270.64,-670 366.466,-670 366.466,-670 372.466,-670 378.466,-676 378.466,-682 378.466,-682 378.466,-736 378.466,-736 378.466,-742 372.466,-748 366.466,-748\"/>\n", | |
"<text text-anchor=\"start\" x=\"270.356\" y=\"-732.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">triceps ≤ -1.029</text>\n", | |
"<text text-anchor=\"start\" x=\"282.162\" y=\"-718.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.242</text>\n", | |
"<text text-anchor=\"start\" x=\"276.724\" y=\"-704.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 79</text>\n", | |
"<text text-anchor=\"start\" x=\"266.597\" y=\"-690.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [104, 17]</text>\n", | |
"<text text-anchor=\"start\" x=\"274\" y=\"-676.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 1->2 -->\n", | |
"<g id=\"edge2\" class=\"edge\"><title>1->2</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M452.669,-785.482C431.827,-773.752 408.671,-760.72 387.546,-748.83\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"389.061,-745.667 378.63,-743.812 385.628,-751.767 389.061,-745.667\"/>\n", | |
"</g>\n", | |
"<!-- 15 -->\n", | |
"<g id=\"node16\" class=\"node\"><title>15</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.701961\" stroke=\"black\" d=\"M568.946,-748C568.946,-748 466.161,-748 466.161,-748 460.161,-748 454.161,-742 454.161,-736 454.161,-736 454.161,-682 454.161,-682 454.161,-676 460.161,-670 466.161,-670 466.161,-670 568.946,-670 568.946,-670 574.946,-670 580.946,-676 580.946,-682 580.946,-682 580.946,-736 580.946,-736 580.946,-742 574.946,-748 568.946,-748\"/>\n", | |
"<text text-anchor=\"start\" x=\"471.301\" y=\"-732.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">muslo ≤ -0.451</text>\n", | |
"<text text-anchor=\"start\" x=\"481.162\" y=\"-718.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.355</text>\n", | |
"<text text-anchor=\"start\" x=\"475.724\" y=\"-704.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 13</text>\n", | |
"<text text-anchor=\"start\" x=\"473.383\" y=\"-690.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [6, 20]</text>\n", | |
"<text text-anchor=\"start\" x=\"462.107\" y=\"-676.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 1->15 -->\n", | |
"<g id=\"edge15\" class=\"edge\"><title>1->15</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M517.553,-783.769C517.553,-775.57 517.553,-766.803 517.553,-758.28\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"521.053,-758.058 517.553,-748.058 514.053,-758.059 521.053,-758.058\"/>\n", | |
"</g>\n", | |
"<!-- 3 -->\n", | |
"<g id=\"node4\" class=\"node\"><title>3</title>\n", | |
"<path fill=\"#e58139\" fill-opacity=\"0.262745\" stroke=\"black\" d=\"M230.68,-634C230.68,-634 142.426,-634 142.426,-634 136.426,-634 130.426,-628 130.426,-622 130.426,-622 130.426,-568 130.426,-568 130.426,-562 136.426,-556 142.426,-556 142.426,-556 230.68,-556 230.68,-556 236.68,-556 242.68,-562 242.68,-568 242.68,-568 242.68,-622 242.68,-622 242.68,-628 236.68,-634 230.68,-634\"/>\n", | |
"<text text-anchor=\"start\" x=\"143.401\" y=\"-618.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">abdo ≤ -0.075</text>\n", | |
"<text text-anchor=\"start\" x=\"150.162\" y=\"-604.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.489</text>\n", | |
"<text text-anchor=\"start\" x=\"144.724\" y=\"-590.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 30</text>\n", | |
"<text text-anchor=\"start\" x=\"138.49\" y=\"-576.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [23, 17]</text>\n", | |
"<text text-anchor=\"start\" x=\"142\" y=\"-562.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 2->3 -->\n", | |
"<g id=\"edge3\" class=\"edge\"><title>2->3</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M273.496,-669.769C262.451,-660.398 250.534,-650.287 239.17,-640.644\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"241.297,-637.86 231.408,-634.058 236.769,-643.197 241.297,-637.86\"/>\n", | |
"</g>\n", | |
"<!-- 14 -->\n", | |
"<g id=\"node15\" class=\"node\"><title>14</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M359.16,-627C359.16,-627 277.947,-627 277.947,-627 271.947,-627 265.947,-621 265.947,-615 265.947,-615 265.947,-575 265.947,-575 265.947,-569 271.947,-563 277.947,-563 277.947,-563 359.16,-563 359.16,-563 365.16,-563 371.16,-569 371.16,-575 371.16,-575 371.16,-615 371.16,-615 371.16,-621 365.16,-627 359.16,-627\"/>\n", | |
"<text text-anchor=\"start\" x=\"289.948\" y=\"-611.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"276.724\" y=\"-597.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 49</text>\n", | |
"<text text-anchor=\"start\" x=\"274.383\" y=\"-583.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [81, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"274\" y=\"-569.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 2->14 -->\n", | |
"<g id=\"edge14\" class=\"edge\"><title>2->14</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M318.553,-669.769C318.553,-659.313 318.553,-647.935 318.553,-637.315\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"322.053,-637.01 318.553,-627.01 315.053,-637.01 322.053,-637.01\"/>\n", | |
"</g>\n", | |
"<!-- 4 -->\n", | |
"<g id=\"node5\" class=\"node\"><title>4</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M93.1597,-513C93.1597,-513 11.9467,-513 11.9467,-513 5.94672,-513 -0.0532766,-507 -0.0532766,-501 -0.0532766,-501 -0.0532766,-461 -0.0532766,-461 -0.0532766,-455 5.94672,-449 11.9467,-449 11.9467,-449 93.1597,-449 93.1597,-449 99.1597,-449 105.16,-455 105.16,-461 105.16,-461 105.16,-501 105.16,-501 105.16,-507 99.1597,-513 93.1597,-513\"/>\n", | |
"<text text-anchor=\"start\" x=\"23.9482\" y=\"-497.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"10.7241\" y=\"-483.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 12</text>\n", | |
"<text text-anchor=\"start\" x=\"8.38281\" y=\"-469.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [13, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"8\" y=\"-455.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 3->4 -->\n", | |
"<g id=\"edge4\" class=\"edge\"><title>3->4</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M140.813,-555.769C126.869,-544.115 111.556,-531.315 97.6548,-519.697\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"99.572,-516.738 89.6545,-513.01 95.0828,-522.109 99.572,-516.738\"/>\n", | |
"</g>\n", | |
"<!-- 5 -->\n", | |
"<g id=\"node6\" class=\"node\"><title>5</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.411765\" stroke=\"black\" d=\"M237.946,-520C237.946,-520 135.161,-520 135.161,-520 129.161,-520 123.161,-514 123.161,-508 123.161,-508 123.161,-454 123.161,-454 123.161,-448 129.161,-442 135.161,-442 135.161,-442 237.946,-442 237.946,-442 243.946,-442 249.946,-448 249.946,-454 249.946,-454 249.946,-508 249.946,-508 249.946,-514 243.946,-520 237.946,-520\"/>\n", | |
"<text text-anchor=\"start\" x=\"145.732\" y=\"-504.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">abdo ≤ 0.081</text>\n", | |
"<text text-anchor=\"start\" x=\"150.162\" y=\"-490.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.466</text>\n", | |
"<text text-anchor=\"start\" x=\"144.724\" y=\"-476.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 18</text>\n", | |
"<text text-anchor=\"start\" x=\"138.49\" y=\"-462.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [10, 17]</text>\n", | |
"<text text-anchor=\"start\" x=\"131.107\" y=\"-448.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 3->5 -->\n", | |
"<g id=\"edge5\" class=\"edge\"><title>3->5</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M186.553,-555.769C186.553,-547.57 186.553,-538.803 186.553,-530.28\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"190.053,-530.058 186.553,-520.058 183.053,-530.059 190.053,-530.058\"/>\n", | |
"</g>\n", | |
"<!-- 6 -->\n", | |
"<g id=\"node7\" class=\"node\"><title>6</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.823529\" stroke=\"black\" d=\"M170.946,-406C170.946,-406 68.1606,-406 68.1606,-406 62.1606,-406 56.1606,-400 56.1606,-394 56.1606,-394 56.1606,-340 56.1606,-340 56.1606,-334 62.1606,-328 68.1606,-328 68.1606,-328 170.946,-328 170.946,-328 176.946,-328 182.946,-334 182.946,-340 182.946,-340 182.946,-394 182.946,-394 182.946,-400 176.946,-406 170.946,-406\"/>\n", | |
"<text text-anchor=\"start\" x=\"78.3564\" y=\"-390.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">supra ≤ -0.28</text>\n", | |
"<text text-anchor=\"start\" x=\"83.1621\" y=\"-376.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.255</text>\n", | |
"<text text-anchor=\"start\" x=\"77.7241\" y=\"-362.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 14</text>\n", | |
"<text text-anchor=\"start\" x=\"75.3828\" y=\"-348.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [3, 17]</text>\n", | |
"<text text-anchor=\"start\" x=\"64.1069\" y=\"-334.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 5->6 -->\n", | |
"<g id=\"edge6\" class=\"edge\"><title>5->6</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M163.683,-441.769C158.508,-433.119 152.956,-423.838 147.596,-414.877\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"150.458,-412.843 142.32,-406.058 144.45,-416.437 150.458,-412.843\"/>\n", | |
"</g>\n", | |
"<!-- 13 -->\n", | |
"<g id=\"node14\" class=\"node\"><title>13</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M294.16,-399C294.16,-399 212.947,-399 212.947,-399 206.947,-399 200.947,-393 200.947,-387 200.947,-387 200.947,-347 200.947,-347 200.947,-341 206.947,-335 212.947,-335 212.947,-335 294.16,-335 294.16,-335 300.16,-335 306.16,-341 306.16,-347 306.16,-347 306.16,-387 306.16,-387 306.16,-393 300.16,-399 294.16,-399\"/>\n", | |
"<text text-anchor=\"start\" x=\"224.948\" y=\"-383.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"215.617\" y=\"-369.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 4</text>\n", | |
"<text text-anchor=\"start\" x=\"213.276\" y=\"-355.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [7, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"209\" y=\"-341.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 5->13 -->\n", | |
"<g id=\"edge13\" class=\"edge\"><title>5->13</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M209.423,-441.769C216.004,-430.769 223.195,-418.747 229.827,-407.662\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"232.872,-409.389 235.003,-399.01 226.865,-405.795 232.872,-409.389\"/>\n", | |
"</g>\n", | |
"<!-- 7 -->\n", | |
"<g id=\"node8\" class=\"node\"><title>7</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M93.1597,-285C93.1597,-285 11.9467,-285 11.9467,-285 5.94672,-285 -0.0532766,-279 -0.0532766,-273 -0.0532766,-273 -0.0532766,-233 -0.0532766,-233 -0.0532766,-227 5.94672,-221 11.9467,-221 11.9467,-221 93.1597,-221 93.1597,-221 99.1597,-221 105.16,-227 105.16,-233 105.16,-233 105.16,-273 105.16,-273 105.16,-279 99.1597,-285 93.1597,-285\"/>\n", | |
"<text text-anchor=\"start\" x=\"23.9482\" y=\"-269.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"14.6172\" y=\"-255.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 1</text>\n", | |
"<text text-anchor=\"start\" x=\"12.2759\" y=\"-241.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [1, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"8\" y=\"-227.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 6->7 -->\n", | |
"<g id=\"edge7\" class=\"edge\"><title>6->7</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M96.683,-327.769C90.1023,-316.769 82.911,-304.747 76.2796,-293.662\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"79.2412,-291.795 71.1039,-285.01 73.234,-295.389 79.2412,-291.795\"/>\n", | |
"</g>\n", | |
"<!-- 8 -->\n", | |
"<g id=\"node9\" class=\"node\"><title>8</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.882353\" stroke=\"black\" d=\"M237.946,-292C237.946,-292 135.161,-292 135.161,-292 129.161,-292 123.161,-286 123.161,-280 123.161,-280 123.161,-226 123.161,-226 123.161,-220 129.161,-214 135.161,-214 135.161,-214 237.946,-214 237.946,-214 243.946,-214 249.946,-220 249.946,-226 249.946,-226 249.946,-280 249.946,-280 249.946,-286 243.946,-292 237.946,-292\"/>\n", | |
"<text text-anchor=\"start\" x=\"131.739\" y=\"-276.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">brazo rel ≤ -0.276</text>\n", | |
"<text text-anchor=\"start\" x=\"150.162\" y=\"-262.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.188</text>\n", | |
"<text text-anchor=\"start\" x=\"144.724\" y=\"-248.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 13</text>\n", | |
"<text text-anchor=\"start\" x=\"142.383\" y=\"-234.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [2, 17]</text>\n", | |
"<text text-anchor=\"start\" x=\"131.107\" y=\"-220.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 6->8 -->\n", | |
"<g id=\"edge8\" class=\"edge\"><title>6->8</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M142.423,-327.769C147.598,-319.119 153.15,-309.838 158.511,-300.877\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"161.656,-302.437 163.786,-292.058 155.649,-298.843 161.656,-302.437\"/>\n", | |
"</g>\n", | |
"<!-- 9 -->\n", | |
"<g id=\"node10\" class=\"node\"><title>9</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M160.16,-171C160.16,-171 78.9467,-171 78.9467,-171 72.9467,-171 66.9467,-165 66.9467,-159 66.9467,-159 66.9467,-119 66.9467,-119 66.9467,-113 72.9467,-107 78.9467,-107 78.9467,-107 160.16,-107 160.16,-107 166.16,-107 172.16,-113 172.16,-119 172.16,-119 172.16,-159 172.16,-159 172.16,-165 166.16,-171 160.16,-171\"/>\n", | |
"<text text-anchor=\"start\" x=\"90.9482\" y=\"-155.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"81.6172\" y=\"-141.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 1</text>\n", | |
"<text text-anchor=\"start\" x=\"79.2759\" y=\"-127.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [1, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"75\" y=\"-113.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 8->9 -->\n", | |
"<g id=\"edge9\" class=\"edge\"><title>8->9</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M163.683,-213.769C157.102,-202.769 149.911,-190.747 143.28,-179.662\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"146.241,-177.795 138.104,-171.01 140.234,-181.389 146.241,-177.795\"/>\n", | |
"</g>\n", | |
"<!-- 10 -->\n", | |
"<g id=\"node11\" class=\"node\"><title>10</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.941176\" stroke=\"black\" d=\"M304.946,-178C304.946,-178 202.161,-178 202.161,-178 196.161,-178 190.161,-172 190.161,-166 190.161,-166 190.161,-112 190.161,-112 190.161,-106 196.161,-100 202.161,-100 202.161,-100 304.946,-100 304.946,-100 310.946,-100 316.946,-106 316.946,-112 316.946,-112 316.946,-166 316.946,-166 316.946,-172 310.946,-178 304.946,-178\"/>\n", | |
"<text text-anchor=\"start\" x=\"210.401\" y=\"-162.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">edad ≤ -0.423</text>\n", | |
"<text text-anchor=\"start\" x=\"217.162\" y=\"-148.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.105</text>\n", | |
"<text text-anchor=\"start\" x=\"211.724\" y=\"-134.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 12</text>\n", | |
"<text text-anchor=\"start\" x=\"209.383\" y=\"-120.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [1, 17]</text>\n", | |
"<text text-anchor=\"start\" x=\"198.107\" y=\"-106.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 8->10 -->\n", | |
"<g id=\"edge10\" class=\"edge\"><title>8->10</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M209.423,-213.769C214.598,-205.119 220.15,-195.838 225.511,-186.877\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"228.656,-188.437 230.786,-178.058 222.649,-184.843 228.656,-188.437\"/>\n", | |
"</g>\n", | |
"<!-- 11 -->\n", | |
"<g id=\"node12\" class=\"node\"><title>11</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M227.16,-64C227.16,-64 145.947,-64 145.947,-64 139.947,-64 133.947,-58 133.947,-52 133.947,-52 133.947,-12 133.947,-12 133.947,-6 139.947,-0 145.947,-0 145.947,-0 227.16,-0 227.16,-0 233.16,-0 239.16,-6 239.16,-12 239.16,-12 239.16,-52 239.16,-52 239.16,-58 233.16,-64 227.16,-64\"/>\n", | |
"<text text-anchor=\"start\" x=\"157.948\" y=\"-48.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"148.617\" y=\"-34.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 1</text>\n", | |
"<text text-anchor=\"start\" x=\"146.276\" y=\"-20.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [1, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"142\" y=\"-6.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 10->11 -->\n", | |
"<g id=\"edge11\" class=\"edge\"><title>10->11</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M229.175,-99.7956C223.563,-91 217.581,-81.625 211.927,-72.765\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"214.739,-70.6645 206.409,-64.1172 208.838,-74.4299 214.739,-70.6645\"/>\n", | |
"</g>\n", | |
"<!-- 12 -->\n", | |
"<g id=\"node13\" class=\"node\"><title>12</title>\n", | |
"<path fill=\"#399de5\" stroke=\"black\" d=\"M371.946,-64C371.946,-64 269.161,-64 269.161,-64 263.161,-64 257.161,-58 257.161,-52 257.161,-52 257.161,-12 257.161,-12 257.161,-6 263.161,-0 269.161,-0 269.161,-0 371.946,-0 371.946,-0 377.946,-0 383.946,-6 383.946,-12 383.946,-12 383.946,-52 383.946,-52 383.946,-58 377.946,-64 371.946,-64\"/>\n", | |
"<text text-anchor=\"start\" x=\"291.948\" y=\"-48.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"279.24\" y=\"-34.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 11</text>\n", | |
"<text text-anchor=\"start\" x=\"276.383\" y=\"-20.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [0, 17]</text>\n", | |
"<text text-anchor=\"start\" x=\"265.107\" y=\"-6.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 10->12 -->\n", | |
"<g id=\"edge12\" class=\"edge\"><title>10->12</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M277.931,-99.7956C283.544,-91 289.526,-81.625 295.179,-72.765\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"298.269,-74.4299 300.698,-64.1172 292.368,-70.6645 298.269,-74.4299\"/>\n", | |
"</g>\n", | |
"<!-- 16 -->\n", | |
"<g id=\"node17\" class=\"node\"><title>16</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.949020\" stroke=\"black\" d=\"M507.946,-634C507.946,-634 405.161,-634 405.161,-634 399.161,-634 393.161,-628 393.161,-622 393.161,-622 393.161,-568 393.161,-568 393.161,-562 399.161,-556 405.161,-556 405.161,-556 507.946,-556 507.946,-556 513.946,-556 519.946,-562 519.946,-568 519.946,-568 519.946,-622 519.946,-622 519.946,-628 513.946,-634 507.946,-634\"/>\n", | |
"<text text-anchor=\"start\" x=\"407.687\" y=\"-618.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">grasa Yuh ≤ 2.0</text>\n", | |
"<text text-anchor=\"start\" x=\"420.162\" y=\"-604.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.091</text>\n", | |
"<text text-anchor=\"start\" x=\"414.724\" y=\"-590.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 10</text>\n", | |
"<text text-anchor=\"start\" x=\"412.383\" y=\"-576.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [1, 20]</text>\n", | |
"<text text-anchor=\"start\" x=\"401.107\" y=\"-562.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 15->16 -->\n", | |
"<g id=\"edge16\" class=\"edge\"><title>15->16</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M496.731,-669.769C492.02,-661.119 486.965,-651.838 482.085,-642.877\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"485.138,-641.166 477.282,-634.058 478.991,-644.515 485.138,-641.166\"/>\n", | |
"</g>\n", | |
"<!-- 19 -->\n", | |
"<g id=\"node20\" class=\"node\"><title>19</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M631.16,-627C631.16,-627 549.947,-627 549.947,-627 543.947,-627 537.947,-621 537.947,-615 537.947,-615 537.947,-575 537.947,-575 537.947,-569 543.947,-563 549.947,-563 549.947,-563 631.16,-563 631.16,-563 637.16,-563 643.16,-569 643.16,-575 643.16,-575 643.16,-615 643.16,-615 643.16,-621 637.16,-627 631.16,-627\"/>\n", | |
"<text text-anchor=\"start\" x=\"561.948\" y=\"-611.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"552.617\" y=\"-597.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 3</text>\n", | |
"<text text-anchor=\"start\" x=\"550.276\" y=\"-583.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [5, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"546\" y=\"-569.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 15->19 -->\n", | |
"<g id=\"edge19\" class=\"edge\"><title>15->19</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M542.472,-669.769C549.642,-658.769 557.477,-646.747 564.702,-635.662\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"567.813,-637.299 570.341,-627.01 561.949,-633.476 567.813,-637.299\"/>\n", | |
"</g>\n", | |
"<!-- 17 -->\n", | |
"<g id=\"node18\" class=\"node\"><title>17</title>\n", | |
"<path fill=\"#399de5\" stroke=\"black\" d=\"M382.946,-513C382.946,-513 280.161,-513 280.161,-513 274.161,-513 268.161,-507 268.161,-501 268.161,-501 268.161,-461 268.161,-461 268.161,-455 274.161,-449 280.161,-449 280.161,-449 382.946,-449 382.946,-449 388.946,-449 394.946,-455 394.946,-461 394.946,-461 394.946,-501 394.946,-501 394.946,-507 388.946,-513 382.946,-513\"/>\n", | |
"<text text-anchor=\"start\" x=\"302.948\" y=\"-497.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"293.617\" y=\"-483.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 9</text>\n", | |
"<text text-anchor=\"start\" x=\"287.383\" y=\"-469.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [0, 20]</text>\n", | |
"<text text-anchor=\"start\" x=\"276.107\" y=\"-455.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 16->17 -->\n", | |
"<g id=\"edge17\" class=\"edge\"><title>16->17</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M413.885,-555.769C400.878,-544.115 386.593,-531.315 373.626,-519.697\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"375.946,-517.077 366.163,-513.01 371.275,-522.29 375.946,-517.077\"/>\n", | |
"</g>\n", | |
"<!-- 18 -->\n", | |
"<g id=\"node19\" class=\"node\"><title>18</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M506.16,-513C506.16,-513 424.947,-513 424.947,-513 418.947,-513 412.947,-507 412.947,-501 412.947,-501 412.947,-461 412.947,-461 412.947,-455 418.947,-449 424.947,-449 424.947,-449 506.16,-449 506.16,-449 512.16,-449 518.16,-455 518.16,-461 518.16,-461 518.16,-501 518.16,-501 518.16,-507 512.16,-513 506.16,-513\"/>\n", | |
"<text text-anchor=\"start\" x=\"436.948\" y=\"-497.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"427.617\" y=\"-483.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 1</text>\n", | |
"<text text-anchor=\"start\" x=\"425.276\" y=\"-469.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [1, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"421\" y=\"-455.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 16->18 -->\n", | |
"<g id=\"edge18\" class=\"edge\"><title>16->18</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M459.625,-555.769C460.474,-545.204 461.399,-533.698 462.26,-522.983\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"465.749,-523.258 463.061,-513.01 458.772,-522.698 465.749,-523.258\"/>\n", | |
"</g>\n", | |
"<!-- 21 -->\n", | |
"<g id=\"node22\" class=\"node\"><title>21</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.819608\" stroke=\"black\" d=\"M772.946,-748C772.946,-748 670.161,-748 670.161,-748 664.161,-748 658.161,-742 658.161,-736 658.161,-736 658.161,-682 658.161,-682 658.161,-676 664.161,-670 670.161,-670 670.161,-670 772.946,-670 772.946,-670 778.946,-670 784.946,-676 784.946,-682 784.946,-682 784.946,-736 784.946,-736 784.946,-742 778.946,-748 772.946,-748\"/>\n", | |
"<text text-anchor=\"start\" x=\"673.75\" y=\"-732.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">crest il ≤ -0.926</text>\n", | |
"<text text-anchor=\"start\" x=\"685.162\" y=\"-718.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.257</text>\n", | |
"<text text-anchor=\"start\" x=\"675.831\" y=\"-704.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 123</text>\n", | |
"<text text-anchor=\"start\" x=\"669.597\" y=\"-690.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [30, 168]</text>\n", | |
"<text text-anchor=\"start\" x=\"666.107\" y=\"-676.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 20->21 -->\n", | |
"<g id=\"edge21\" class=\"edge\"><title>20->21</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M721.553,-783.769C721.553,-775.57 721.553,-766.803 721.553,-758.28\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"725.053,-758.058 721.553,-748.058 718.053,-758.059 725.053,-758.058\"/>\n", | |
"</g>\n", | |
"<!-- 36 -->\n", | |
"<g id=\"node37\" class=\"node\"><title>36</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M896.16,-741C896.16,-741 814.947,-741 814.947,-741 808.947,-741 802.947,-735 802.947,-729 802.947,-729 802.947,-689 802.947,-689 802.947,-683 808.947,-677 814.947,-677 814.947,-677 896.16,-677 896.16,-677 902.16,-677 908.16,-683 908.16,-689 908.16,-689 908.16,-729 908.16,-729 908.16,-735 902.16,-741 896.16,-741\"/>\n", | |
"<text text-anchor=\"start\" x=\"826.948\" y=\"-725.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"813.724\" y=\"-711.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 14</text>\n", | |
"<text text-anchor=\"start\" x=\"811.383\" y=\"-697.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [19, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"811\" y=\"-683.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 20->36 -->\n", | |
"<g id=\"edge36\" class=\"edge\"><title>20->36</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M767.294,-783.769C781.237,-772.115 796.551,-759.315 810.452,-747.697\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"813.024,-750.109 818.452,-741.01 808.534,-744.738 813.024,-750.109\"/>\n", | |
"</g>\n", | |
"<!-- 22 -->\n", | |
"<g id=\"node23\" class=\"node\"><title>22</title>\n", | |
"<path fill=\"#e58139\" fill-opacity=\"0.462745\" stroke=\"black\" d=\"M762.16,-634C762.16,-634 680.947,-634 680.947,-634 674.947,-634 668.947,-628 668.947,-622 668.947,-622 668.947,-568 668.947,-568 668.947,-562 674.947,-556 680.947,-556 680.947,-556 762.16,-556 762.16,-556 768.16,-556 774.16,-562 774.16,-568 774.16,-568 774.16,-622 774.16,-622 774.16,-628 768.16,-634 762.16,-634\"/>\n", | |
"<text text-anchor=\"start\" x=\"679.581\" y=\"-618.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">Musc ≤ 0.034</text>\n", | |
"<text text-anchor=\"start\" x=\"685.162\" y=\"-604.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.455</text>\n", | |
"<text text-anchor=\"start\" x=\"679.724\" y=\"-590.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 14</text>\n", | |
"<text text-anchor=\"start\" x=\"677.383\" y=\"-576.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [13, 7]</text>\n", | |
"<text text-anchor=\"start\" x=\"677\" y=\"-562.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 21->22 -->\n", | |
"<g id=\"edge22\" class=\"edge\"><title>21->22</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M721.553,-669.769C721.553,-661.57 721.553,-652.803 721.553,-644.28\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"725.053,-644.058 721.553,-634.058 718.053,-644.059 725.053,-644.058\"/>\n", | |
"</g>\n", | |
"<!-- 25 -->\n", | |
"<g id=\"node26\" class=\"node\"><title>25</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.894118\" stroke=\"black\" d=\"M922.747,-634C922.747,-634 812.36,-634 812.36,-634 806.36,-634 800.36,-628 800.36,-622 800.36,-622 800.36,-568 800.36,-568 800.36,-562 806.36,-556 812.36,-556 812.36,-556 922.747,-556 922.747,-556 928.747,-556 934.747,-562 934.747,-568 934.747,-568 934.747,-622 934.747,-622 934.747,-628 928.747,-634 922.747,-634\"/>\n", | |
"<text text-anchor=\"start\" x=\"808.457\" y=\"-618.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">peso Musc ≤ 0.668</text>\n", | |
"<text text-anchor=\"start\" x=\"831.162\" y=\"-604.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.173</text>\n", | |
"<text text-anchor=\"start\" x=\"821.831\" y=\"-590.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 109</text>\n", | |
"<text text-anchor=\"start\" x=\"815.597\" y=\"-576.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [17, 161]</text>\n", | |
"<text text-anchor=\"start\" x=\"812.107\" y=\"-562.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 21->25 -->\n", | |
"<g id=\"edge25\" class=\"edge\"><title>21->25</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M771.39,-669.769C783.723,-660.308 797.04,-650.092 809.719,-640.366\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"812.137,-642.922 817.941,-634.058 807.877,-637.368 812.137,-642.922\"/>\n", | |
"</g>\n", | |
"<!-- 23 -->\n", | |
"<g id=\"node24\" class=\"node\"><title>23</title>\n", | |
"<path fill=\"#399de5\" stroke=\"black\" d=\"M650.946,-513C650.946,-513 548.161,-513 548.161,-513 542.161,-513 536.161,-507 536.161,-501 536.161,-501 536.161,-461 536.161,-461 536.161,-455 542.161,-449 548.161,-449 548.161,-449 650.946,-449 650.946,-449 656.946,-449 662.946,-455 662.946,-461 662.946,-461 662.946,-501 662.946,-501 662.946,-507 656.946,-513 650.946,-513\"/>\n", | |
"<text text-anchor=\"start\" x=\"570.948\" y=\"-497.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"561.617\" y=\"-483.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 6</text>\n", | |
"<text text-anchor=\"start\" x=\"559.276\" y=\"-469.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [0, 7]</text>\n", | |
"<text text-anchor=\"start\" x=\"544.107\" y=\"-455.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 22->23 -->\n", | |
"<g id=\"edge23\" class=\"edge\"><title>22->23</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M679.909,-555.769C667.333,-544.224 653.532,-531.555 640.971,-520.023\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"643.066,-517.194 633.332,-513.01 638.332,-522.351 643.066,-517.194\"/>\n", | |
"</g>\n", | |
"<!-- 24 -->\n", | |
"<g id=\"node25\" class=\"node\"><title>24</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M774.16,-513C774.16,-513 692.947,-513 692.947,-513 686.947,-513 680.947,-507 680.947,-501 680.947,-501 680.947,-461 680.947,-461 680.947,-455 686.947,-449 692.947,-449 692.947,-449 774.16,-449 774.16,-449 780.16,-449 786.16,-455 786.16,-461 786.16,-461 786.16,-501 786.16,-501 786.16,-507 780.16,-513 774.16,-513\"/>\n", | |
"<text text-anchor=\"start\" x=\"704.948\" y=\"-497.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"695.617\" y=\"-483.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 8</text>\n", | |
"<text text-anchor=\"start\" x=\"689.383\" y=\"-469.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [13, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"689\" y=\"-455.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 22->24 -->\n", | |
"<g id=\"edge24\" class=\"edge\"><title>22->24</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M725.649,-555.769C726.781,-545.204 728.014,-533.698 729.162,-522.983\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"732.645,-523.326 730.231,-513.01 725.685,-522.58 732.645,-523.326\"/>\n", | |
"</g>\n", | |
"<!-- 26 -->\n", | |
"<g id=\"node27\" class=\"node\"><title>26</title>\n", | |
"<path fill=\"#399de5\" stroke=\"black\" d=\"M918.946,-513C918.946,-513 816.161,-513 816.161,-513 810.161,-513 804.161,-507 804.161,-501 804.161,-501 804.161,-461 804.161,-461 804.161,-455 810.161,-449 816.161,-449 816.161,-449 918.946,-449 918.946,-449 924.946,-449 930.946,-455 930.946,-461 930.946,-461 930.946,-501 930.946,-501 930.946,-507 924.946,-513 918.946,-513\"/>\n", | |
"<text text-anchor=\"start\" x=\"838.948\" y=\"-497.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"825.724\" y=\"-483.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 59</text>\n", | |
"<text text-anchor=\"start\" x=\"823.383\" y=\"-469.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [0, 99]</text>\n", | |
"<text text-anchor=\"start\" x=\"812.107\" y=\"-455.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 25->26 -->\n", | |
"<g id=\"edge26\" class=\"edge\"><title>25->26</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M867.553,-555.769C867.553,-545.313 867.553,-533.935 867.553,-523.315\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"871.053,-523.01 867.553,-513.01 864.053,-523.01 871.053,-523.01\"/>\n", | |
"</g>\n", | |
"<!-- 27 -->\n", | |
"<g id=\"node28\" class=\"node\"><title>27</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.725490\" stroke=\"black\" d=\"M1063.95,-520C1063.95,-520 961.161,-520 961.161,-520 955.161,-520 949.161,-514 949.161,-508 949.161,-508 949.161,-454 949.161,-454 949.161,-448 955.161,-442 961.161,-442 961.161,-442 1063.95,-442 1063.95,-442 1069.95,-442 1075.95,-448 1075.95,-454 1075.95,-454 1075.95,-508 1075.95,-508 1075.95,-514 1069.95,-520 1063.95,-520\"/>\n", | |
"<text text-anchor=\"start\" x=\"960.07\" y=\"-504.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">brazo rel ≤ 0.566</text>\n", | |
"<text text-anchor=\"start\" x=\"976.162\" y=\"-490.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.338</text>\n", | |
"<text text-anchor=\"start\" x=\"970.724\" y=\"-476.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 50</text>\n", | |
"<text text-anchor=\"start\" x=\"964.49\" y=\"-462.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [17, 62]</text>\n", | |
"<text text-anchor=\"start\" x=\"957.107\" y=\"-448.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 25->27 -->\n", | |
"<g id=\"edge27\" class=\"edge\"><title>25->27</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M917.048,-555.769C929.297,-546.308 942.523,-536.092 955.115,-526.366\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"957.507,-528.941 963.281,-520.058 953.227,-523.402 957.507,-528.941\"/>\n", | |
"</g>\n", | |
"<!-- 28 -->\n", | |
"<g id=\"node29\" class=\"node\"><title>28</title>\n", | |
"<path fill=\"#e58139\" fill-opacity=\"0.223529\" stroke=\"black\" d=\"M980.16,-406C980.16,-406 898.947,-406 898.947,-406 892.947,-406 886.947,-400 886.947,-394 886.947,-394 886.947,-340 886.947,-340 886.947,-334 892.947,-328 898.947,-328 898.947,-328 980.16,-328 980.16,-328 986.16,-328 992.16,-334 992.16,-340 992.16,-340 992.16,-394 992.16,-394 992.16,-400 986.16,-406 980.16,-406\"/>\n", | |
"<text text-anchor=\"start\" x=\"898.739\" y=\"-390.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">pierna ≤ 2.25</text>\n", | |
"<text text-anchor=\"start\" x=\"903.162\" y=\"-376.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.492</text>\n", | |
"<text text-anchor=\"start\" x=\"898.24\" y=\"-362.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 11</text>\n", | |
"<text text-anchor=\"start\" x=\"899.276\" y=\"-348.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [9, 7]</text>\n", | |
"<text text-anchor=\"start\" x=\"895\" y=\"-334.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 27->28 -->\n", | |
"<g id=\"edge28\" class=\"edge\"><title>27->28</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M987.635,-441.769C981.938,-433.029 975.822,-423.645 969.925,-414.597\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"972.752,-412.525 964.359,-406.058 966.887,-416.347 972.752,-412.525\"/>\n", | |
"</g>\n", | |
"<!-- 31 -->\n", | |
"<g id=\"node32\" class=\"node\"><title>31</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.854902\" stroke=\"black\" d=\"M1136.25,-406C1136.25,-406 1032.86,-406 1032.86,-406 1026.86,-406 1020.86,-400 1020.86,-394 1020.86,-394 1020.86,-340 1020.86,-340 1020.86,-334 1026.86,-328 1032.86,-328 1032.86,-328 1136.25,-328 1136.25,-328 1142.25,-328 1148.25,-334 1148.25,-340 1148.25,-340 1148.25,-394 1148.25,-394 1148.25,-400 1142.25,-406 1136.25,-406\"/>\n", | |
"<text text-anchor=\"start\" x=\"1028.96\" y=\"-390.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">muslo ant ≤ 0.303</text>\n", | |
"<text text-anchor=\"start\" x=\"1048.16\" y=\"-376.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.222</text>\n", | |
"<text text-anchor=\"start\" x=\"1042.72\" y=\"-362.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 39</text>\n", | |
"<text text-anchor=\"start\" x=\"1040.38\" y=\"-348.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [8, 55]</text>\n", | |
"<text text-anchor=\"start\" x=\"1029.11\" y=\"-334.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 27->31 -->\n", | |
"<g id=\"edge31\" class=\"edge\"><title>27->31</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M1037.13,-441.769C1042.75,-433.029 1048.78,-423.645 1054.6,-414.597\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"1057.62,-416.363 1060.09,-406.058 1051.74,-412.578 1057.62,-416.363\"/>\n", | |
"</g>\n", | |
"<!-- 29 -->\n", | |
"<g id=\"node30\" class=\"node\"><title>29</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M846.16,-285C846.16,-285 764.947,-285 764.947,-285 758.947,-285 752.947,-279 752.947,-273 752.947,-273 752.947,-233 752.947,-233 752.947,-227 758.947,-221 764.947,-221 764.947,-221 846.16,-221 846.16,-221 852.16,-221 858.16,-227 858.16,-233 858.16,-233 858.16,-273 858.16,-273 858.16,-279 852.16,-285 846.16,-285\"/>\n", | |
"<text text-anchor=\"start\" x=\"776.948\" y=\"-269.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"767.617\" y=\"-255.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 6</text>\n", | |
"<text text-anchor=\"start\" x=\"765.276\" y=\"-241.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [9, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"761\" y=\"-227.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 28->29 -->\n", | |
"<g id=\"edge29\" class=\"edge\"><title>28->29</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M893.813,-327.769C879.869,-316.115 864.556,-303.315 850.655,-291.697\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"852.572,-288.738 842.655,-285.01 848.083,-294.109 852.572,-288.738\"/>\n", | |
"</g>\n", | |
"<!-- 30 -->\n", | |
"<g id=\"node31\" class=\"node\"><title>30</title>\n", | |
"<path fill=\"#399de5\" stroke=\"black\" d=\"M990.946,-285C990.946,-285 888.161,-285 888.161,-285 882.161,-285 876.161,-279 876.161,-273 876.161,-273 876.161,-233 876.161,-233 876.161,-227 882.161,-221 888.161,-221 888.161,-221 990.946,-221 990.946,-221 996.946,-221 1002.95,-227 1002.95,-233 1002.95,-233 1002.95,-273 1002.95,-273 1002.95,-279 996.946,-285 990.946,-285\"/>\n", | |
"<text text-anchor=\"start\" x=\"910.948\" y=\"-269.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"901.617\" y=\"-255.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 5</text>\n", | |
"<text text-anchor=\"start\" x=\"899.276\" y=\"-241.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [0, 7]</text>\n", | |
"<text text-anchor=\"start\" x=\"884.107\" y=\"-227.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 28->30 -->\n", | |
"<g id=\"edge30\" class=\"edge\"><title>28->30</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M939.553,-327.769C939.553,-317.313 939.553,-305.935 939.553,-295.315\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"943.053,-295.01 939.553,-285.01 936.053,-295.01 943.053,-295.01\"/>\n", | |
"</g>\n", | |
"<!-- 32 -->\n", | |
"<g id=\"node33\" class=\"node\"><title>32</title>\n", | |
"<path fill=\"#399de5\" stroke=\"black\" d=\"M1135.95,-285C1135.95,-285 1033.16,-285 1033.16,-285 1027.16,-285 1021.16,-279 1021.16,-273 1021.16,-273 1021.16,-233 1021.16,-233 1021.16,-227 1027.16,-221 1033.16,-221 1033.16,-221 1135.95,-221 1135.95,-221 1141.95,-221 1147.95,-227 1147.95,-233 1147.95,-233 1147.95,-273 1147.95,-273 1147.95,-279 1141.95,-285 1135.95,-285\"/>\n", | |
"<text text-anchor=\"start\" x=\"1055.95\" y=\"-269.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"1042.72\" y=\"-255.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 27</text>\n", | |
"<text text-anchor=\"start\" x=\"1040.38\" y=\"-241.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [0, 41]</text>\n", | |
"<text text-anchor=\"start\" x=\"1029.11\" y=\"-227.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 31->32 -->\n", | |
"<g id=\"edge32\" class=\"edge\"><title>31->32</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M1084.55,-327.769C1084.55,-317.313 1084.55,-305.935 1084.55,-295.315\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"1088.05,-295.01 1084.55,-285.01 1081.05,-295.01 1088.05,-295.01\"/>\n", | |
"</g>\n", | |
"<!-- 33 -->\n", | |
"<g id=\"node34\" class=\"node\"><title>33</title>\n", | |
"<path fill=\"#399de5\" fill-opacity=\"0.427451\" stroke=\"black\" d=\"M1280.95,-292C1280.95,-292 1178.16,-292 1178.16,-292 1172.16,-292 1166.16,-286 1166.16,-280 1166.16,-280 1166.16,-226 1166.16,-226 1166.16,-220 1172.16,-214 1178.16,-214 1178.16,-214 1280.95,-214 1280.95,-214 1286.95,-214 1292.95,-220 1292.95,-226 1292.95,-226 1292.95,-280 1292.95,-280 1292.95,-286 1286.95,-292 1280.95,-292\"/>\n", | |
"<text text-anchor=\"start\" x=\"1191.99\" y=\"-276.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">IMC ≤ 1.411</text>\n", | |
"<text text-anchor=\"start\" x=\"1193.16\" y=\"-262.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.463</text>\n", | |
"<text text-anchor=\"start\" x=\"1187.72\" y=\"-248.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 12</text>\n", | |
"<text text-anchor=\"start\" x=\"1185.38\" y=\"-234.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [8, 14]</text>\n", | |
"<text text-anchor=\"start\" x=\"1174.11\" y=\"-220.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 31->33 -->\n", | |
"<g id=\"edge33\" class=\"edge\"><title>31->33</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M1134.05,-327.769C1146.3,-318.308 1159.52,-308.092 1172.11,-298.366\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"1174.51,-300.941 1180.28,-292.058 1170.23,-295.402 1174.51,-300.941\"/>\n", | |
"</g>\n", | |
"<!-- 34 -->\n", | |
"<g id=\"node35\" class=\"node\"><title>34</title>\n", | |
"<path fill=\"#e58139\" stroke=\"black\" d=\"M1203.16,-171C1203.16,-171 1121.95,-171 1121.95,-171 1115.95,-171 1109.95,-165 1109.95,-159 1109.95,-159 1109.95,-119 1109.95,-119 1109.95,-113 1115.95,-107 1121.95,-107 1121.95,-107 1203.16,-107 1203.16,-107 1209.16,-107 1215.16,-113 1215.16,-119 1215.16,-119 1215.16,-159 1215.16,-159 1215.16,-165 1209.16,-171 1203.16,-171\"/>\n", | |
"<text text-anchor=\"start\" x=\"1133.95\" y=\"-155.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"1124.62\" y=\"-141.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 4</text>\n", | |
"<text text-anchor=\"start\" x=\"1122.28\" y=\"-127.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [8, 0]</text>\n", | |
"<text text-anchor=\"start\" x=\"1118\" y=\"-113.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = Lesion</text>\n", | |
"</g>\n", | |
"<!-- 33->34 -->\n", | |
"<g id=\"edge34\" class=\"edge\"><title>33->34</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M1206.68,-213.769C1200.1,-202.769 1192.91,-190.747 1186.28,-179.662\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"1189.24,-177.795 1181.1,-171.01 1183.23,-181.389 1189.24,-177.795\"/>\n", | |
"</g>\n", | |
"<!-- 35 -->\n", | |
"<g id=\"node36\" class=\"node\"><title>35</title>\n", | |
"<path fill=\"#399de5\" stroke=\"black\" d=\"M1347.95,-171C1347.95,-171 1245.16,-171 1245.16,-171 1239.16,-171 1233.16,-165 1233.16,-159 1233.16,-159 1233.16,-119 1233.16,-119 1233.16,-113 1239.16,-107 1245.16,-107 1245.16,-107 1347.95,-107 1347.95,-107 1353.95,-107 1359.95,-113 1359.95,-119 1359.95,-119 1359.95,-159 1359.95,-159 1359.95,-165 1353.95,-171 1347.95,-171\"/>\n", | |
"<text text-anchor=\"start\" x=\"1267.95\" y=\"-155.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">gini = 0.0</text>\n", | |
"<text text-anchor=\"start\" x=\"1258.62\" y=\"-141.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">samples = 8</text>\n", | |
"<text text-anchor=\"start\" x=\"1252.38\" y=\"-127.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">value = [0, 14]</text>\n", | |
"<text text-anchor=\"start\" x=\"1241.11\" y=\"-113.8\" font-family=\"Helvetica,sans-Serif\" font-size=\"14.00\">class = No Lesion</text>\n", | |
"</g>\n", | |
"<!-- 33->35 -->\n", | |
"<g id=\"edge35\" class=\"edge\"><title>33->35</title>\n", | |
"<path fill=\"none\" stroke=\"black\" d=\"M1252.42,-213.769C1259,-202.769 1266.2,-190.747 1272.83,-179.662\"/>\n", | |
"<polygon fill=\"black\" stroke=\"black\" points=\"1275.87,-181.389 1278,-171.01 1269.87,-177.795 1275.87,-181.389\"/>\n", | |
"</g>\n", | |
"</g>\n", | |
"</svg>\n" | |
], | |
"text/plain": [ | |
"<graphviz.files.Source at 0x11ff065d0>" | |
] | |
}, | |
"execution_count": 11, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"from inspect import getmembers\n", | |
"import graphviz \n", | |
"\n", | |
"def get_splitting_attributes(rf):\n", | |
" \"\"\"\n", | |
" Gets actual parameters of trees:\n", | |
" splitting attribute(feature)\n", | |
" splitting value (threshold)\n", | |
" ....\n", | |
" \"\"\"\n", | |
" i_tree = 0\n", | |
" for tree_in_forest in rf.estimators_:\n", | |
" getmembers(tree_in_forest.tree_)\n", | |
" tree_struct = zip(X_columns[tree_in_forest.tree_.feature], \n", | |
" tree_in_forest.tree_.threshold, \n", | |
" tree_in_forest.tree_.children_left, \n", | |
" tree_in_forest.tree_.children_right)\n", | |
" break\n", | |
"\n", | |
"def show_randomforest_graph(rf):\n", | |
" \"\"\"\n", | |
" Since Random Forest is an ensemble of trees, we just\n", | |
" pick one for showing its graph.\n", | |
" \"\"\"\n", | |
" rf_tree = rf.estimators_[0]\n", | |
"\n", | |
" dot_data = tree.export_graphviz(rf_tree, out_file=None, \n", | |
" feature_names=X_columns, \n", | |
" class_names=['Lesion', 'No Lesion'], \n", | |
" filled=True, rounded=True, \n", | |
" special_characters=True) \n", | |
" graph = graphviz.Source(dot_data) \n", | |
" return graph\n", | |
"\n", | |
"\n", | |
"get_splitting_attributes(clf)\n", | |
"\n", | |
"graph = show_randomforest_graph(clf)\n", | |
"graph" | |
] | |
} | |
], | |
"metadata": { | |
"gist": { | |
"data": { | |
"description": "analysis.ipynb", | |
"public": true | |
}, | |
"id": "" | |
}, | |
"kernelspec": { | |
"display_name": "Python [conda root]", | |
"language": "python", | |
"name": "conda-root-py" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 2 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython2", | |
"version": "2.7.14" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment