{ "cells": [ { "cell_type": "code", "execution_count": 42, "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "import pandas as pd\n", "from sklearn.model_selection import train_test_split\n", "from sklearn.preprocessing import MinMaxScaler\n", "from collections import Counter" ] }, { "cell_type": "code", "execution_count": 34, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "Found cached dataset liver (/Users/natalia.szymczyk/.cache/huggingface/datasets/mstz___liver/liver/1.0.0/3115a4001e742dc2c89457a3906d35982a649915f71f35fc5e6d025c786eeacf)\n", "100%|██████████| 1/1 [00:00<00:00, 684.45it/s]\n" ] } ], "source": [ "from datasets import load_dataset\n", "\n", "dataset = load_dataset(\"mstz/liver\")['train']" ] }, { "cell_type": "code", "execution_count": 35, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "Dataset({\n", " features: ['age', 'is_male', 'total_bilirubin', 'direct_ribilubin', 'alkaline_phosphotase', 'alamine_aminotransferasi', 'aspartate_aminotransferase', 'total_proteins', 'albumin', 'albumin_to_globulin_ratio', 'class'],\n", " num_rows: 583\n", "})" ] }, "execution_count": 35, "metadata": {}, "output_type": "execute_result" } ], "source": [ "dataset" ] }, { "cell_type": "code", "execution_count": 36, "metadata": {}, "outputs": [], "source": [ "dataset = dataset.to_pandas()" ] }, { "cell_type": "code", "execution_count": 37, "metadata": {}, "outputs": [], "source": [ "train, test = train_test_split(dataset, test_size=0.2, random_state=42)\n", "train, val = train_test_split(train, test_size=0.2, random_state=42)" ] }, { "cell_type": "code", "execution_count": 48, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | age | \n", "is_male | \n", "total_bilirubin | \n", "direct_ribilubin | \n", "alkaline_phosphotase | \n", "alamine_aminotransferasi | \n", "aspartate_aminotransferase | \n", "total_proteins | \n", "albumin | \n", "albumin_to_globulin_ratio | \n", "class | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|
107 | \n", "36 | \n", "True | \n", "0.8 | \n", "0.2 | \n", "158 | \n", "29 | \n", "39 | \n", "6.0 | \n", "2.2 | \n", "0.50 | \n", "1 | \n", "
33 | \n", "38 | \n", "False | \n", "2.6 | \n", "1.2 | \n", "410 | \n", "59 | \n", "57 | \n", "5.6 | \n", "3.0 | \n", "0.80 | \n", "1 | \n", "
534 | \n", "39 | \n", "True | \n", "1.6 | \n", "0.8 | \n", "230 | \n", "88 | \n", "74 | \n", "8.0 | \n", "4.0 | \n", "1.00 | \n", "1 | \n", "
204 | \n", "21 | \n", "True | \n", "0.7 | \n", "0.2 | \n", "135 | \n", "27 | \n", "26 | \n", "6.4 | \n", "3.3 | \n", "1.00 | \n", "1 | \n", "
48 | \n", "32 | \n", "False | \n", "0.6 | \n", "0.1 | \n", "176 | \n", "39 | \n", "28 | \n", "6.0 | \n", "3.0 | \n", "1.00 | \n", "0 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
42 | \n", "42 | \n", "True | \n", "6.8 | \n", "3.2 | \n", "630 | \n", "25 | \n", "47 | \n", "6.1 | \n", "2.3 | \n", "0.60 | \n", "1 | \n", "
179 | \n", "75 | \n", "True | \n", "8.0 | \n", "4.6 | \n", "386 | \n", "30 | \n", "25 | \n", "5.5 | \n", "1.8 | \n", "0.48 | \n", "0 | \n", "
430 | \n", "53 | \n", "False | \n", "0.7 | \n", "0.1 | \n", "182 | \n", "20 | \n", "33 | \n", "4.8 | \n", "1.9 | \n", "0.60 | \n", "0 | \n", "
475 | \n", "38 | \n", "True | \n", "2.2 | \n", "1.0 | \n", "310 | \n", "119 | \n", "42 | \n", "7.9 | \n", "4.1 | \n", "1.00 | \n", "1 | \n", "
425 | \n", "58 | \n", "True | \n", "0.4 | \n", "0.1 | \n", "100 | \n", "59 | \n", "126 | \n", "4.3 | \n", "2.5 | \n", "1.40 | \n", "0 | \n", "
372 rows × 11 columns
\n", "\n", " | age | \n", "is_male | \n", "total_bilirubin | \n", "direct_ribilubin | \n", "alkaline_phosphotase | \n", "alamine_aminotransferasi | \n", "aspartate_aminotransferase | \n", "total_proteins | \n", "albumin | \n", "albumin_to_globulin_ratio | \n", "class | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|
582 | \n", "38 | \n", "True | \n", "1.0 | \n", "0.3 | \n", "216 | \n", "21 | \n", "24 | \n", "7.3 | \n", "4.4 | \n", "1.50 | \n", "1 | \n", "
453 | \n", "46 | \n", "True | \n", "0.7 | \n", "0.2 | \n", "224 | \n", "40 | \n", "23 | \n", "7.1 | \n", "3.0 | \n", "0.70 | \n", "0 | \n", "
89 | \n", "60 | \n", "True | \n", "4.0 | \n", "1.9 | \n", "238 | \n", "119 | \n", "350 | \n", "7.1 | \n", "3.3 | \n", "0.80 | \n", "0 | \n", "
71 | \n", "75 | \n", "False | \n", "0.8 | \n", "0.2 | \n", "188 | \n", "20 | \n", "29 | \n", "4.4 | \n", "1.8 | \n", "0.60 | \n", "0 | \n", "
124 | \n", "28 | \n", "True | \n", "0.6 | \n", "0.1 | \n", "177 | \n", "36 | \n", "29 | \n", "6.9 | \n", "4.1 | \n", "1.40 | \n", "1 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
236 | \n", "22 | \n", "True | \n", "0.8 | \n", "0.2 | \n", "300 | \n", "57 | \n", "40 | \n", "7.9 | \n", "3.8 | \n", "0.90 | \n", "1 | \n", "
487 | \n", "32 | \n", "True | \n", "0.7 | \n", "0.2 | \n", "276 | \n", "102 | \n", "190 | \n", "6.0 | \n", "2.9 | \n", "0.93 | \n", "0 | \n", "
27 | \n", "34 | \n", "True | \n", "6.2 | \n", "3.0 | \n", "240 | \n", "1680 | \n", "850 | \n", "7.2 | \n", "4.0 | \n", "1.20 | \n", "0 | \n", "
307 | \n", "30 | \n", "True | \n", "0.8 | \n", "0.2 | \n", "174 | \n", "21 | \n", "47 | \n", "4.6 | \n", "2.3 | \n", "1.00 | \n", "0 | \n", "
512 | \n", "56 | \n", "True | \n", "1.0 | \n", "0.3 | \n", "195 | \n", "22 | \n", "28 | \n", "5.8 | \n", "2.6 | \n", "0.80 | \n", "1 | \n", "
94 rows × 11 columns
\n", "\n", " | age | \n", "is_male | \n", "total_bilirubin | \n", "direct_ribilubin | \n", "alkaline_phosphotase | \n", "alamine_aminotransferasi | \n", "aspartate_aminotransferase | \n", "total_proteins | \n", "albumin | \n", "albumin_to_globulin_ratio | \n", "class | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|
355 | \n", "19 | \n", "True | \n", "1.4 | \n", "0.8 | \n", "178 | \n", "13 | \n", "26 | \n", "8.0 | \n", "4.6 | \n", "1.30 | \n", "1 | \n", "
407 | \n", "12 | \n", "True | \n", "1.0 | \n", "0.2 | \n", "719 | \n", "157 | \n", "108 | \n", "7.2 | \n", "3.7 | \n", "1.00 | \n", "0 | \n", "
90 | \n", "60 | \n", "True | \n", "5.7 | \n", "2.8 | \n", "214 | \n", "412 | \n", "850 | \n", "7.3 | \n", "3.2 | \n", "0.78 | \n", "0 | \n", "
402 | \n", "42 | \n", "False | \n", "0.5 | \n", "0.1 | \n", "162 | \n", "155 | \n", "108 | \n", "8.1 | \n", "4.0 | \n", "0.90 | \n", "0 | \n", "
268 | \n", "40 | \n", "True | \n", "14.5 | \n", "6.4 | \n", "358 | \n", "50 | \n", "75 | \n", "5.7 | \n", "2.1 | \n", "0.50 | \n", "0 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
516 | \n", "60 | \n", "True | \n", "0.9 | \n", "0.3 | \n", "168 | \n", "16 | \n", "24 | \n", "6.7 | \n", "3.0 | \n", "0.80 | \n", "0 | \n", "
305 | \n", "54 | \n", "False | \n", "1.4 | \n", "0.7 | \n", "195 | \n", "36 | \n", "16 | \n", "7.9 | \n", "3.7 | \n", "0.90 | \n", "1 | \n", "
167 | \n", "47 | \n", "False | \n", "3.0 | \n", "1.5 | \n", "292 | \n", "64 | \n", "67 | \n", "5.6 | \n", "1.8 | \n", "0.47 | \n", "0 | \n", "
312 | \n", "27 | \n", "True | \n", "1.3 | \n", "0.6 | \n", "106 | \n", "25 | \n", "54 | \n", "8.5 | \n", "4.8 | \n", "NaN | \n", "1 | \n", "
329 | \n", "21 | \n", "True | \n", "0.7 | \n", "0.2 | \n", "211 | \n", "14 | \n", "23 | \n", "7.3 | \n", "4.1 | \n", "1.20 | \n", "1 | \n", "
117 rows × 11 columns
\n", "\n", " | age | \n", "total_bilirubin | \n", "direct_ribilubin | \n", "alkaline_phosphotase | \n", "alamine_aminotransferasi | \n", "aspartate_aminotransferase | \n", "total_proteins | \n", "albumin | \n", "albumin_to_globulin_ratio | \n", "
---|---|---|---|---|---|---|---|---|---|
count | \n", "372.000000 | \n", "372.000000 | \n", "372.000000 | \n", "372.000000 | \n", "372.000000 | \n", "372.000000 | \n", "372.000000 | \n", "372.000000 | \n", "371.000000 | \n", "
mean | \n", "44.680108 | \n", "3.415860 | \n", "1.494355 | \n", "286.473118 | \n", "72.986559 | \n", "110.147849 | \n", "6.500269 | \n", "3.150806 | \n", "0.959515 | \n", "
std | \n", "16.054568 | \n", "6.736683 | \n", "2.877245 | \n", "242.459927 | \n", "147.472734 | \n", "306.425153 | \n", "1.100049 | \n", "0.806994 | \n", "0.336514 | \n", "
min | \n", "4.000000 | \n", "0.400000 | \n", "0.100000 | \n", "63.000000 | \n", "10.000000 | \n", "11.000000 | \n", "2.700000 | \n", "0.900000 | \n", "0.300000 | \n", "
25% | \n", "32.000000 | \n", "0.800000 | \n", "0.200000 | \n", "170.000000 | \n", "24.000000 | \n", "25.000000 | \n", "5.775000 | \n", "2.575000 | \n", "0.700000 | \n", "
50% | \n", "45.000000 | \n", "1.000000 | \n", "0.300000 | \n", "205.500000 | \n", "35.000000 | \n", "42.000000 | \n", "6.600000 | \n", "3.100000 | \n", "1.000000 | \n", "
75% | \n", "58.000000 | \n", "2.625000 | \n", "1.300000 | \n", "298.000000 | \n", "60.000000 | \n", "86.250000 | \n", "7.200000 | \n", "3.800000 | \n", "1.100000 | \n", "
max | \n", "85.000000 | \n", "75.000000 | \n", "19.700000 | \n", "2110.000000 | \n", "1350.000000 | \n", "4929.000000 | \n", "9.600000 | \n", "5.500000 | \n", "2.800000 | \n", "
\n", " | age | \n", "is_male | \n", "total_bilirubin | \n", "direct_ribilubin | \n", "alkaline_phosphotase | \n", "alamine_aminotransferasi | \n", "aspartate_aminotransferase | \n", "total_proteins | \n", "albumin | \n", "albumin_to_globulin_ratio | \n", "class | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|
107 | \n", "0.395062 | \n", "True | \n", "0.005362 | \n", "0.005102 | \n", "0.046409 | \n", "0.014179 | \n", "0.005693 | \n", "0.478261 | \n", "0.282609 | \n", "0.080 | \n", "1 | \n", "
33 | \n", "0.419753 | \n", "False | \n", "0.029491 | \n", "0.056122 | \n", "0.169516 | \n", "0.036567 | \n", "0.009353 | \n", "0.420290 | \n", "0.456522 | \n", "0.200 | \n", "1 | \n", "
534 | \n", "0.432099 | \n", "True | \n", "0.016086 | \n", "0.035714 | \n", "0.081583 | \n", "0.058209 | \n", "0.012810 | \n", "0.768116 | \n", "0.673913 | \n", "0.280 | \n", "1 | \n", "
204 | \n", "0.209877 | \n", "True | \n", "0.004021 | \n", "0.005102 | \n", "0.035173 | \n", "0.012687 | \n", "0.003050 | \n", "0.536232 | \n", "0.521739 | \n", "0.280 | \n", "1 | \n", "
48 | \n", "0.345679 | \n", "False | \n", "0.002681 | \n", "0.000000 | \n", "0.055203 | \n", "0.021642 | \n", "0.003457 | \n", "0.478261 | \n", "0.456522 | \n", "0.280 | \n", "0 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
42 | \n", "0.469136 | \n", "True | \n", "0.085791 | \n", "0.158163 | \n", "0.276991 | \n", "0.011194 | \n", "0.007320 | \n", "0.492754 | \n", "0.304348 | \n", "0.120 | \n", "1 | \n", "
179 | \n", "0.876543 | \n", "True | \n", "0.101877 | \n", "0.229592 | \n", "0.157792 | \n", "0.014925 | \n", "0.002847 | \n", "0.405797 | \n", "0.195652 | \n", "0.072 | \n", "0 | \n", "
430 | \n", "0.604938 | \n", "False | \n", "0.004021 | \n", "0.000000 | \n", "0.058134 | \n", "0.007463 | \n", "0.004473 | \n", "0.304348 | \n", "0.217391 | \n", "0.120 | \n", "0 | \n", "
475 | \n", "0.419753 | \n", "True | \n", "0.024129 | \n", "0.045918 | \n", "0.120664 | \n", "0.081343 | \n", "0.006303 | \n", "0.753623 | \n", "0.695652 | \n", "0.280 | \n", "1 | \n", "
425 | \n", "0.666667 | \n", "True | \n", "0.000000 | \n", "0.000000 | \n", "0.018075 | \n", "0.036567 | \n", "0.023383 | \n", "0.231884 | \n", "0.347826 | \n", "0.440 | \n", "0 | \n", "
371 rows × 11 columns
\n", "\n", " | age | \n", "is_male | \n", "total_bilirubin | \n", "direct_ribilubin | \n", "alkaline_phosphotase | \n", "alamine_aminotransferasi | \n", "aspartate_aminotransferase | \n", "total_proteins | \n", "albumin | \n", "albumin_to_globulin_ratio | \n", "class | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|
107 | \n", "0.395062 | \n", "True | \n", "0.005362 | \n", "0.005102 | \n", "0.046409 | \n", "0.014179 | \n", "0.005693 | \n", "0.478261 | \n", "0.282609 | \n", "0.080 | \n", "1 | \n", "
33 | \n", "0.419753 | \n", "False | \n", "0.029491 | \n", "0.056122 | \n", "0.169516 | \n", "0.036567 | \n", "0.009353 | \n", "0.420290 | \n", "0.456522 | \n", "0.200 | \n", "1 | \n", "
534 | \n", "0.432099 | \n", "True | \n", "0.016086 | \n", "0.035714 | \n", "0.081583 | \n", "0.058209 | \n", "0.012810 | \n", "0.768116 | \n", "0.673913 | \n", "0.280 | \n", "1 | \n", "
204 | \n", "0.209877 | \n", "True | \n", "0.004021 | \n", "0.005102 | \n", "0.035173 | \n", "0.012687 | \n", "0.003050 | \n", "0.536232 | \n", "0.521739 | \n", "0.280 | \n", "1 | \n", "
48 | \n", "0.345679 | \n", "False | \n", "0.002681 | \n", "0.000000 | \n", "0.055203 | \n", "0.021642 | \n", "0.003457 | \n", "0.478261 | \n", "0.456522 | \n", "0.280 | \n", "0 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
42 | \n", "0.469136 | \n", "True | \n", "0.085791 | \n", "0.158163 | \n", "0.276991 | \n", "0.011194 | \n", "0.007320 | \n", "0.492754 | \n", "0.304348 | \n", "0.120 | \n", "1 | \n", "
179 | \n", "0.876543 | \n", "True | \n", "0.101877 | \n", "0.229592 | \n", "0.157792 | \n", "0.014925 | \n", "0.002847 | \n", "0.405797 | \n", "0.195652 | \n", "0.072 | \n", "0 | \n", "
430 | \n", "0.604938 | \n", "False | \n", "0.004021 | \n", "0.000000 | \n", "0.058134 | \n", "0.007463 | \n", "0.004473 | \n", "0.304348 | \n", "0.217391 | \n", "0.120 | \n", "0 | \n", "
475 | \n", "0.419753 | \n", "True | \n", "0.024129 | \n", "0.045918 | \n", "0.120664 | \n", "0.081343 | \n", "0.006303 | \n", "0.753623 | \n", "0.695652 | \n", "0.280 | \n", "1 | \n", "
425 | \n", "0.666667 | \n", "True | \n", "0.000000 | \n", "0.000000 | \n", "0.018075 | \n", "0.036567 | \n", "0.023383 | \n", "0.231884 | \n", "0.347826 | \n", "0.440 | \n", "0 | \n", "
371 rows × 11 columns
\n", "\n", " | age | \n", "is_male | \n", "total_bilirubin | \n", "direct_ribilubin | \n", "alkaline_phosphotase | \n", "alamine_aminotransferasi | \n", "aspartate_aminotransferase | \n", "total_proteins | \n", "albumin | \n", "albumin_to_globulin_ratio | \n", "class | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|
355 | \n", "0.174419 | \n", "True | \n", "0.030000 | \n", "0.049645 | \n", "0.069831 | \n", "0.002567 | \n", "0.015385 | \n", "0.909091 | \n", "0.947368 | \n", "0.666667 | \n", "1 | \n", "
407 | \n", "0.093023 | \n", "True | \n", "0.016667 | \n", "0.007092 | \n", "0.436610 | \n", "0.187420 | \n", "0.094231 | \n", "0.763636 | \n", "0.710526 | \n", "0.466667 | \n", "0 | \n", "
90 | \n", "0.651163 | \n", "True | \n", "0.173333 | \n", "0.191489 | \n", "0.094237 | \n", "0.514763 | \n", "0.807692 | \n", "0.781818 | \n", "0.578947 | \n", "0.320000 | \n", "0 | \n", "
402 | \n", "0.441860 | \n", "False | \n", "0.000000 | \n", "0.000000 | \n", "0.058983 | \n", "0.184852 | \n", "0.094231 | \n", "0.927273 | \n", "0.789474 | \n", "0.400000 | \n", "0 | \n", "
268 | \n", "0.418605 | \n", "True | \n", "0.466667 | \n", "0.446809 | \n", "0.191864 | \n", "0.050064 | \n", "0.062500 | \n", "0.490909 | \n", "0.289474 | \n", "0.133333 | \n", "0 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
109 | \n", "0.372093 | \n", "True | \n", "0.013333 | \n", "0.000000 | \n", "0.278644 | \n", "0.017972 | \n", "0.023077 | \n", "0.527273 | \n", "0.473684 | \n", "0.400000 | \n", "1 | \n", "
516 | \n", "0.651163 | \n", "True | \n", "0.013333 | \n", "0.014184 | \n", "0.063051 | \n", "0.006418 | \n", "0.013462 | \n", "0.672727 | \n", "0.526316 | \n", "0.333333 | \n", "0 | \n", "
305 | \n", "0.581395 | \n", "False | \n", "0.030000 | \n", "0.042553 | \n", "0.081356 | \n", "0.032092 | \n", "0.005769 | \n", "0.890909 | \n", "0.710526 | \n", "0.400000 | \n", "1 | \n", "
167 | \n", "0.500000 | \n", "False | \n", "0.083333 | \n", "0.099291 | \n", "0.147119 | \n", "0.068036 | \n", "0.054808 | \n", "0.472727 | \n", "0.210526 | \n", "0.113333 | \n", "0 | \n", "
329 | \n", "0.197674 | \n", "True | \n", "0.006667 | \n", "0.007092 | \n", "0.092203 | \n", "0.003851 | \n", "0.012500 | \n", "0.781818 | \n", "0.815789 | \n", "0.600000 | \n", "1 | \n", "
115 rows × 11 columns
\n", "\n", " | age | \n", "is_male | \n", "total_bilirubin | \n", "direct_ribilubin | \n", "alkaline_phosphotase | \n", "alamine_aminotransferasi | \n", "aspartate_aminotransferase | \n", "total_proteins | \n", "albumin | \n", "albumin_to_globulin_ratio | \n", "class | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|
582 | \n", "0.403226 | \n", "True | \n", "0.018100 | \n", "0.017094 | \n", "0.069175 | \n", "0.005528 | \n", "0.004090 | \n", "0.725490 | \n", "0.731707 | \n", "0.846154 | \n", "1 | \n", "
453 | \n", "0.532258 | \n", "True | \n", "0.004525 | \n", "0.008547 | \n", "0.074029 | \n", "0.015075 | \n", "0.003749 | \n", "0.686275 | \n", "0.390244 | \n", "0.230769 | \n", "0 | \n", "
89 | \n", "0.758065 | \n", "True | \n", "0.153846 | \n", "0.153846 | \n", "0.082524 | \n", "0.054774 | \n", "0.115201 | \n", "0.686275 | \n", "0.463415 | \n", "0.307692 | \n", "0 | \n", "
71 | \n", "1.000000 | \n", "False | \n", "0.009050 | \n", "0.008547 | \n", "0.052184 | \n", "0.005025 | \n", "0.005794 | \n", "0.156863 | \n", "0.097561 | \n", "0.153846 | \n", "0 | \n", "
124 | \n", "0.241935 | \n", "True | \n", "0.000000 | \n", "0.000000 | \n", "0.045510 | \n", "0.013065 | \n", "0.005794 | \n", "0.647059 | \n", "0.658537 | \n", "0.769231 | \n", "1 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
236 | \n", "0.145161 | \n", "True | \n", "0.009050 | \n", "0.008547 | \n", "0.120146 | \n", "0.023618 | \n", "0.009543 | \n", "0.843137 | \n", "0.585366 | \n", "0.384615 | \n", "1 | \n", "
487 | \n", "0.306452 | \n", "True | \n", "0.004525 | \n", "0.008547 | \n", "0.105583 | \n", "0.046231 | \n", "0.060668 | \n", "0.470588 | \n", "0.365854 | \n", "0.407692 | \n", "0 | \n", "
27 | \n", "0.338710 | \n", "True | \n", "0.253394 | \n", "0.247863 | \n", "0.083738 | \n", "0.839196 | \n", "0.285617 | \n", "0.705882 | \n", "0.634146 | \n", "0.615385 | \n", "0 | \n", "
307 | \n", "0.274194 | \n", "True | \n", "0.009050 | \n", "0.008547 | \n", "0.043689 | \n", "0.005528 | \n", "0.011929 | \n", "0.196078 | \n", "0.219512 | \n", "0.461538 | \n", "0 | \n", "
512 | \n", "0.693548 | \n", "True | \n", "0.018100 | \n", "0.017094 | \n", "0.056432 | \n", "0.006030 | \n", "0.005453 | \n", "0.431373 | \n", "0.292683 | \n", "0.307692 | \n", "1 | \n", "
93 rows × 11 columns
\n", "