{ "cells": [ { "cell_type": "markdown", "source": [ "## IUM_02" ], "metadata": { "collapsed": false }, "id": "da5635319c1475f3" }, { "cell_type": "markdown", "source": [ "#### Wymagane zależności" ], "metadata": { "collapsed": false }, "id": "5c88bd65c24cfc75" }, { "cell_type": "code", "execution_count": 1, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Requirement already satisfied: kaggle in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (1.6.6)\n", "Requirement already satisfied: python-dateutil in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from kaggle) (2.9.0.post0)\n", "Requirement already satisfied: requests in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from kaggle) (2.31.0)\n", "Requirement already satisfied: tqdm in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from kaggle) (4.66.2)\n", "Requirement already satisfied: certifi in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from kaggle) (2024.2.2)\n", "Requirement already satisfied: urllib3 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from kaggle) (2.2.1)\n", "Requirement already satisfied: bleach in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from kaggle) (6.1.0)\n", "Requirement already satisfied: six>=1.10 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from kaggle) (1.16.0)\n", "Requirement already satisfied: python-slugify in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from kaggle) (8.0.4)\n", "Requirement already satisfied: webencodings in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from bleach->kaggle) (0.5.1)\n", "Requirement already satisfied: text-unidecode>=1.3 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from python-slugify->kaggle) (1.3)\n", "Requirement already satisfied: idna<4,>=2.5 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from requests->kaggle) (3.6)\n", "Requirement already satisfied: charset-normalizer<4,>=2 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from requests->kaggle) (3.3.2)\n", "Requirement already satisfied: colorama in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from tqdm->kaggle) (0.4.6)\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "\n", "[notice] A new release of pip available: 22.3.1 -> 24.0\n", "[notice] To update, run: python.exe -m pip install --upgrade pip\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Requirement already satisfied: pandas in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (2.2.1)\n", "Requirement already satisfied: python-dateutil>=2.8.2 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from pandas) (2.9.0.post0)\n", "Requirement already satisfied: tzdata>=2022.7 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from pandas) (2024.1)\n", "Requirement already satisfied: pytz>=2020.1 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from pandas) (2024.1)\n", "Requirement already satisfied: numpy<2,>=1.22.4 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from pandas) (1.26.4)\n", "Requirement already satisfied: six>=1.5 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from python-dateutil>=2.8.2->pandas) (1.16.0)\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "\n", "[notice] A new release of pip available: 22.3.1 -> 24.0\n", "[notice] To update, run: python.exe -m pip install --upgrade pip\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Requirement already satisfied: scikit-learn in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (1.4.1.post1)\n", "Requirement already satisfied: joblib>=1.2.0 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from scikit-learn) (1.3.2)\n", "Requirement already satisfied: numpy<2.0,>=1.19.5 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from scikit-learn) (1.26.4)\n", "Requirement already satisfied: threadpoolctl>=2.0.0 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from scikit-learn) (3.3.0)\n", "Requirement already satisfied: scipy>=1.6.0 in c:\\users\\broke\\pycharmprojects\\ium_464863\\venv\\lib\\site-packages (from scikit-learn) (1.12.0)\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "\n", "[notice] A new release of pip available: 22.3.1 -> 24.0\n", "[notice] To update, run: python.exe -m pip install --upgrade pip\n" ] } ], "source": [ "# Instalacja wymaganych zależności\n", "!pip install kaggle\n", "!pip install pandas\n", "!pip install scikit-learn" ], "metadata": { "collapsed": false, "ExecuteTime": { "end_time": "2024-03-27T11:20:58.698061Z", "start_time": "2024-03-27T11:20:54.216389900Z" } }, "id": "ae6cca2241835fba" }, { "cell_type": "markdown", "source": [ "#### Import bibliotek" ], "metadata": { "collapsed": false }, "id": "ba9581e73648e5c3" }, { "cell_type": "code", "execution_count": 2, "outputs": [], "source": [ "# Import bibliotek\n", "import pandas as pd\n", "\n", "from sklearn.model_selection import train_test_split\n", "from sklearn.preprocessing import MinMaxScaler" ], "metadata": { "collapsed": false, "ExecuteTime": { "end_time": "2024-03-27T11:20:59.612164600Z", "start_time": "2024-03-27T11:20:58.699325900Z" } }, "id": "5db08fde342b5463" }, { "cell_type": "markdown", "source": [ "#### 1. Pobieranie zbioru danych" ], "metadata": { "collapsed": false }, "id": "2000b14bbb95a446" }, { "cell_type": "code", "execution_count": 3, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "breast-cancer-wisconsin-data.zip: Skipping, found more recently modified local copy (use --force to force download)\n" ] } ], "source": [ "# Pobranie zbioru danych\n", "!kaggle datasets download -d uciml/breast-cancer-wisconsin-data\n", "\n", "# Wypakowanie archiwum\n", "!tar -xf breast-cancer-wisconsin-data.zip" ], "metadata": { "collapsed": false, "ExecuteTime": { "end_time": "2024-03-27T11:21:01.293628200Z", "start_time": "2024-03-27T11:20:59.612164600Z" } }, "id": "679faee0f0f27fa1" }, { "cell_type": "markdown", "source": [ "#### 2. Wczytanie danych oraz wstępne przetworzenie" ], "metadata": { "collapsed": false }, "id": "2aa06e9443f948c9" }, { "cell_type": "code", "execution_count": 4, "outputs": [], "source": [ "# Wczytanie danych, ustawienie kolumny 'id' jako indeks\n", "df = pd.read_csv('data.csv', index_col='id')\n", "\n", "# Usunięcie niepotrzebnych/błędnych kolumn\n", "df = df.drop(columns=['Unnamed: 32'])" ], "metadata": { "collapsed": false, "ExecuteTime": { "end_time": "2024-03-27T11:21:01.312651300Z", "start_time": "2024-03-27T11:21:01.294632700Z" } }, "id": "2bc8c4be37c8fa69" }, { "cell_type": "code", "execution_count": 5, "outputs": [ { "data": { "text/plain": "diagnosis 0\nradius_mean 0\ntexture_mean 0\nperimeter_mean 0\narea_mean 0\nsmoothness_mean 0\ncompactness_mean 0\nconcavity_mean 0\nconcave points_mean 0\nsymmetry_mean 0\nfractal_dimension_mean 0\nradius_se 0\ntexture_se 0\nperimeter_se 0\narea_se 0\nsmoothness_se 0\ncompactness_se 0\nconcavity_se 0\nconcave points_se 0\nsymmetry_se 0\nfractal_dimension_se 0\nradius_worst 0\ntexture_worst 0\nperimeter_worst 0\narea_worst 0\nsmoothness_worst 0\ncompactness_worst 0\nconcavity_worst 0\nconcave points_worst 0\nsymmetry_worst 0\nfractal_dimension_worst 0\ndtype: int64" }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# Sprawdzenie czy istnieją wartości brakujące (NaN)\n", "df.isnull().sum()" ], "metadata": { "collapsed": false, "ExecuteTime": { "end_time": "2024-03-27T11:21:01.335790100Z", "start_time": "2024-03-27T11:21:01.311644700Z" } }, "id": "abcf61d13e9b47f1" }, { "cell_type": "code", "execution_count": 6, "outputs": [ { "data": { "text/plain": " diagnosis radius_mean texture_mean perimeter_mean area_mean \\\nid \n842302 M 17.99 10.38 122.80 1001.0 \n842517 M 20.57 17.77 132.90 1326.0 \n84300903 M 19.69 21.25 130.00 1203.0 \n84348301 M 11.42 20.38 77.58 386.1 \n84358402 M 20.29 14.34 135.10 1297.0 \n\n smoothness_mean compactness_mean concavity_mean \\\nid \n842302 0.11840 0.27760 0.3001 \n842517 0.08474 0.07864 0.0869 \n84300903 0.10960 0.15990 0.1974 \n84348301 0.14250 0.28390 0.2414 \n84358402 0.10030 0.13280 0.1980 \n\n concave points_mean symmetry_mean ... radius_worst \\\nid ... \n842302 0.14710 0.2419 ... 25.38 \n842517 0.07017 0.1812 ... 24.99 \n84300903 0.12790 0.2069 ... 23.57 \n84348301 0.10520 0.2597 ... 14.91 \n84358402 0.10430 0.1809 ... 22.54 \n\n texture_worst perimeter_worst area_worst smoothness_worst \\\nid \n842302 17.33 184.60 2019.0 0.1622 \n842517 23.41 158.80 1956.0 0.1238 \n84300903 25.53 152.50 1709.0 0.1444 \n84348301 26.50 98.87 567.7 0.2098 \n84358402 16.67 152.20 1575.0 0.1374 \n\n compactness_worst concavity_worst concave points_worst \\\nid \n842302 0.6656 0.7119 0.2654 \n842517 0.1866 0.2416 0.1860 \n84300903 0.4245 0.4504 0.2430 \n84348301 0.8663 0.6869 0.2575 \n84358402 0.2050 0.4000 0.1625 \n\n symmetry_worst fractal_dimension_worst \nid \n842302 0.4601 0.11890 \n842517 0.2750 0.08902 \n84300903 0.3613 0.08758 \n84348301 0.6638 0.17300 \n84358402 0.2364 0.07678 \n\n[5 rows x 31 columns]", "text/html": "
\n | diagnosis | \nradius_mean | \ntexture_mean | \nperimeter_mean | \narea_mean | \nsmoothness_mean | \ncompactness_mean | \nconcavity_mean | \nconcave points_mean | \nsymmetry_mean | \n... | \nradius_worst | \ntexture_worst | \nperimeter_worst | \narea_worst | \nsmoothness_worst | \ncompactness_worst | \nconcavity_worst | \nconcave points_worst | \nsymmetry_worst | \nfractal_dimension_worst | \n
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | \n\n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n |
842302 | \nM | \n17.99 | \n10.38 | \n122.80 | \n1001.0 | \n0.11840 | \n0.27760 | \n0.3001 | \n0.14710 | \n0.2419 | \n... | \n25.38 | \n17.33 | \n184.60 | \n2019.0 | \n0.1622 | \n0.6656 | \n0.7119 | \n0.2654 | \n0.4601 | \n0.11890 | \n
842517 | \nM | \n20.57 | \n17.77 | \n132.90 | \n1326.0 | \n0.08474 | \n0.07864 | \n0.0869 | \n0.07017 | \n0.1812 | \n... | \n24.99 | \n23.41 | \n158.80 | \n1956.0 | \n0.1238 | \n0.1866 | \n0.2416 | \n0.1860 | \n0.2750 | \n0.08902 | \n
84300903 | \nM | \n19.69 | \n21.25 | \n130.00 | \n1203.0 | \n0.10960 | \n0.15990 | \n0.1974 | \n0.12790 | \n0.2069 | \n... | \n23.57 | \n25.53 | \n152.50 | \n1709.0 | \n0.1444 | \n0.4245 | \n0.4504 | \n0.2430 | \n0.3613 | \n0.08758 | \n
84348301 | \nM | \n11.42 | \n20.38 | \n77.58 | \n386.1 | \n0.14250 | \n0.28390 | \n0.2414 | \n0.10520 | \n0.2597 | \n... | \n14.91 | \n26.50 | \n98.87 | \n567.7 | \n0.2098 | \n0.8663 | \n0.6869 | \n0.2575 | \n0.6638 | \n0.17300 | \n
84358402 | \nM | \n20.29 | \n14.34 | \n135.10 | \n1297.0 | \n0.10030 | \n0.13280 | \n0.1980 | \n0.10430 | \n0.1809 | \n... | \n22.54 | \n16.67 | \n152.20 | \n1575.0 | \n0.1374 | \n0.2050 | \n0.4000 | \n0.1625 | \n0.2364 | \n0.07678 | \n
5 rows × 31 columns
\n\n | radius_mean | \ntexture_mean | \nperimeter_mean | \narea_mean | \nsmoothness_mean | \ncompactness_mean | \nconcavity_mean | \nconcave points_mean | \nsymmetry_mean | \nfractal_dimension_mean | \n... | \nradius_worst | \ntexture_worst | \nperimeter_worst | \narea_worst | \nsmoothness_worst | \ncompactness_worst | \nconcavity_worst | \nconcave points_worst | \nsymmetry_worst | \nfractal_dimension_worst | \n
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
count | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n... | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n569.000000 | \n
mean | \n0.338222 | \n0.323965 | \n0.332935 | \n0.216920 | \n0.394785 | \n0.260601 | \n0.208058 | \n0.243137 | \n0.379605 | \n0.270379 | \n... | \n0.296663 | \n0.363998 | \n0.283138 | \n0.170906 | \n0.404138 | \n0.220212 | \n0.217403 | \n0.393836 | \n0.263307 | \n0.189596 | \n
std | \n0.166787 | \n0.145453 | \n0.167915 | \n0.149274 | \n0.126967 | \n0.161992 | \n0.186785 | \n0.192857 | \n0.138456 | \n0.148702 | \n... | \n0.171940 | \n0.163813 | \n0.167352 | \n0.139932 | \n0.150779 | \n0.152649 | \n0.166633 | \n0.225884 | \n0.121954 | \n0.118466 | \n
min | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n... | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n
25% | \n0.223342 | \n0.218465 | \n0.216847 | \n0.117413 | \n0.304595 | \n0.139685 | \n0.069260 | \n0.100944 | \n0.282323 | \n0.163016 | \n... | \n0.180719 | \n0.241471 | \n0.167837 | \n0.081130 | \n0.300007 | \n0.116337 | \n0.091454 | \n0.223127 | \n0.185098 | \n0.107700 | \n
50% | \n0.302381 | \n0.308759 | \n0.293345 | \n0.172895 | \n0.390358 | \n0.224679 | \n0.144189 | \n0.166501 | \n0.369697 | \n0.243892 | \n... | \n0.250445 | \n0.356876 | \n0.235320 | \n0.123206 | \n0.397081 | \n0.179110 | \n0.181070 | \n0.343402 | \n0.247782 | \n0.163977 | \n
75% | \n0.416442 | \n0.408860 | \n0.416765 | \n0.271135 | \n0.475490 | \n0.340531 | \n0.306232 | \n0.367793 | \n0.453030 | \n0.340354 | \n... | \n0.386339 | \n0.471748 | \n0.373475 | \n0.220901 | \n0.494156 | \n0.302520 | \n0.305831 | \n0.554639 | \n0.318155 | \n0.242949 | \n
max | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n... | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n
8 rows × 30 columns
\n\n | radius_mean | \ntexture_mean | \nperimeter_mean | \narea_mean | \nsmoothness_mean | \ncompactness_mean | \nconcavity_mean | \nconcave points_mean | \nsymmetry_mean | \nfractal_dimension_mean | \n... | \nradius_worst | \ntexture_worst | \nperimeter_worst | \narea_worst | \nsmoothness_worst | \ncompactness_worst | \nconcavity_worst | \nconcave points_worst | \nsymmetry_worst | \nfractal_dimension_worst | \n
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
count | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n... | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n455.000000 | \n
mean | \n0.338949 | \n0.326381 | \n0.333644 | \n0.217261 | \n0.395892 | \n0.260580 | \n0.209922 | \n0.243100 | \n0.381150 | \n0.270577 | \n... | \n0.297118 | \n0.369023 | \n0.284164 | \n0.171085 | \n0.407890 | \n0.221950 | \n0.221686 | \n0.394672 | \n0.263384 | \n0.191552 | \n
std | \n0.165349 | \n0.145664 | \n0.166246 | \n0.147801 | \n0.126845 | \n0.160494 | \n0.187617 | \n0.192341 | \n0.136984 | \n0.147338 | \n... | \n0.170654 | \n0.166060 | \n0.166564 | \n0.138560 | \n0.153644 | \n0.156748 | \n0.172039 | \n0.226663 | \n0.119284 | \n0.122769 | \n
min | \n0.000000 | \n0.022658 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n... | \n0.000000 | \n0.012527 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n0.000000 | \n
25% | \n0.225235 | \n0.219817 | \n0.219128 | \n0.119321 | \n0.304776 | \n0.136096 | \n0.068030 | \n0.100497 | \n0.283081 | \n0.168176 | \n... | \n0.182675 | \n0.248801 | \n0.169929 | \n0.081781 | \n0.303308 | \n0.116871 | \n0.092212 | \n0.221753 | \n0.188252 | \n0.107110 | \n
50% | \n0.300961 | \n0.310450 | \n0.295833 | \n0.170859 | \n0.389636 | \n0.230262 | \n0.145150 | \n0.168191 | \n0.369697 | \n0.241786 | \n... | \n0.250445 | \n0.358742 | \n0.235370 | \n0.123206 | \n0.396421 | \n0.181244 | \n0.184505 | \n0.347079 | \n0.248571 | \n0.164305 | \n
75% | \n0.415259 | \n0.411397 | \n0.414346 | \n0.271113 | \n0.476393 | \n0.340991 | \n0.310098 | \n0.357952 | \n0.453030 | \n0.340354 | \n... | \n0.377090 | \n0.481343 | \n0.369740 | \n0.209964 | \n0.496467 | \n0.299318 | \n0.309265 | \n0.558935 | \n0.317465 | \n0.242785 | \n
max | \n1.000000 | \n0.815015 | \n1.000000 | \n0.999152 | \n0.831182 | \n0.895712 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n... | \n0.896478 | \n1.000000 | \n0.890931 | \n0.797975 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n1.000000 | \n
8 rows × 30 columns
\n\n | radius_mean | \ntexture_mean | \nperimeter_mean | \narea_mean | \nsmoothness_mean | \ncompactness_mean | \nconcavity_mean | \nconcave points_mean | \nsymmetry_mean | \nfractal_dimension_mean | \n... | \nradius_worst | \ntexture_worst | \nperimeter_worst | \narea_worst | \nsmoothness_worst | \ncompactness_worst | \nconcavity_worst | \nconcave points_worst | \nsymmetry_worst | \nfractal_dimension_worst | \n
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
count | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n... | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n
mean | \n0.334850 | \n0.315985 | \n0.331800 | \n0.216332 | \n0.399432 | \n0.279956 | \n0.216035 | \n0.254466 | \n0.387684 | \n0.281045 | \n... | \n0.294395 | \n0.357428 | \n0.281028 | \n0.170796 | \n0.391354 | \n0.222054 | \n0.209888 | \n0.405999 | \n0.276614 | \n0.187256 | \n
std | \n0.176956 | \n0.119165 | \n0.181708 | \n0.171264 | \n0.144361 | \n0.184302 | \n0.208557 | \n0.203610 | \n0.160009 | \n0.161084 | \n... | \n0.180500 | \n0.130661 | \n0.179389 | \n0.161083 | \n0.140480 | \n0.133225 | \n0.152149 | \n0.214849 | \n0.143775 | \n0.103423 | \n
min | \n0.089782 | \n0.106865 | \n0.089489 | \n0.041357 | \n0.167193 | \n0.046500 | \n0.003622 | \n0.027793 | \n0.078283 | \n0.047810 | \n... | \n0.072963 | \n0.116205 | \n0.074008 | \n0.028264 | \n0.085320 | \n0.019239 | \n0.006176 | \n0.095670 | \n0.066233 | \n0.028073 | \n
25% | \n0.225709 | \n0.226581 | \n0.223205 | \n0.117413 | \n0.293220 | \n0.165235 | \n0.076406 | \n0.112326 | \n0.282323 | \n0.169545 | \n... | \n0.180719 | \n0.267058 | \n0.162757 | \n0.082653 | \n0.301327 | \n0.126233 | \n0.107827 | \n0.248179 | \n0.198502 | \n0.107700 | \n
50% | \n0.282976 | \n0.290159 | \n0.279110 | \n0.161909 | \n0.396678 | \n0.222195 | \n0.127413 | \n0.154026 | \n0.381818 | \n0.258214 | \n... | \n0.225187 | \n0.348348 | \n0.228597 | \n0.109836 | \n0.416232 | \n0.182893 | \n0.164537 | \n0.352234 | \n0.234969 | \n0.155910 | \n
75% | \n0.413129 | \n0.389922 | \n0.405017 | \n0.260912 | \n0.471879 | \n0.359242 | \n0.296626 | \n0.371918 | \n0.464141 | \n0.342249 | \n... | \n0.355034 | \n0.463486 | \n0.343593 | \n0.197454 | \n0.484911 | \n0.308632 | \n0.312380 | \n0.517182 | \n0.323674 | \n0.260724 | \n
max | \n0.967343 | \n0.623267 | \n0.988943 | \n1.000000 | \n1.000000 | \n1.000000 | \n0.879569 | \n0.839463 | \n0.932323 | \n0.949031 | \n... | \n1.000000 | \n0.619670 | \n1.000000 | \n1.000000 | \n0.786040 | \n0.571557 | \n0.613498 | \n0.902062 | \n0.829687 | \n0.460186 | \n
8 rows × 30 columns
\n\n | radius_mean | \ntexture_mean | \nperimeter_mean | \narea_mean | \nsmoothness_mean | \ncompactness_mean | \nconcavity_mean | \nconcave points_mean | \nsymmetry_mean | \nfractal_dimension_mean | \n... | \nradius_worst | \ntexture_worst | \nperimeter_worst | \narea_worst | \nsmoothness_worst | \ncompactness_worst | \nconcavity_worst | \nconcave points_worst | \nsymmetry_worst | \nfractal_dimension_worst | \n
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
count | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n... | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n57.000000 | \n
mean | \n0.335794 | \n0.312663 | \n0.328412 | \n0.214790 | \n0.381297 | \n0.241410 | \n0.185207 | \n0.232105 | \n0.359197 | \n0.258133 | \n... | \n0.295299 | \n0.330458 | \n0.277057 | \n0.169590 | \n0.386967 | \n0.204497 | \n0.190725 | \n0.374998 | \n0.249384 | \n0.176326 | \n
std | \n0.170785 | \n0.167714 | \n0.169927 | \n0.139898 | \n0.109590 | \n0.150381 | \n0.156133 | \n0.188722 | \n0.127273 | \n0.148563 | \n... | \n0.176543 | \n0.173641 | \n0.164054 | \n0.130427 | \n0.137458 | \n0.138294 | \n0.132668 | \n0.233099 | \n0.120215 | \n0.096130 | \n
min | \n0.075252 | \n0.000000 | \n0.072904 | \n0.033001 | \n0.146249 | \n0.021839 | \n0.002798 | \n0.011948 | \n0.072222 | \n0.021061 | \n... | \n0.054891 | \n0.000000 | \n0.047263 | \n0.022046 | \n0.111074 | \n0.015504 | \n0.002860 | \n0.035808 | \n0.081411 | \n0.001115 | \n
25% | \n0.192106 | \n0.199188 | \n0.185751 | \n0.097222 | \n0.308658 | \n0.129471 | \n0.062910 | \n0.095179 | \n0.271717 | \n0.139217 | \n... | \n0.146211 | \n0.199893 | \n0.146023 | \n0.064368 | \n0.285478 | \n0.098777 | \n0.086981 | \n0.202131 | \n0.159866 | \n0.113210 | \n
50% | \n0.315159 | \n0.310450 | \n0.301223 | \n0.180445 | \n0.390990 | \n0.203239 | \n0.119845 | \n0.154573 | \n0.361616 | \n0.246420 | \n... | \n0.256492 | \n0.325160 | \n0.245530 | \n0.128048 | \n0.396421 | \n0.172318 | \n0.155511 | \n0.292509 | \n0.234772 | \n0.160042 | \n
75% | \n0.486961 | \n0.396348 | \n0.481031 | \n0.329629 | \n0.460143 | \n0.330102 | \n0.261246 | \n0.383996 | \n0.439899 | \n0.339090 | \n... | \n0.429740 | \n0.425640 | \n0.410827 | \n0.256046 | \n0.478307 | \n0.280205 | \n0.275240 | \n0.520619 | \n0.304356 | \n0.231011 | \n
max | \n0.692366 | \n1.000000 | \n0.695253 | \n0.535949 | \n0.578406 | \n0.809214 | \n0.658388 | \n0.776342 | \n0.674242 | \n0.839090 | \n... | \n0.667022 | \n0.875533 | \n0.627970 | \n0.467902 | \n0.674437 | \n0.709327 | \n0.563339 | \n0.997595 | \n0.622708 | \n0.481175 | \n
8 rows × 30 columns
\n