{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "- **Author:** 马肖\n", "- **E-Mail:** maxiaoscut@aliyun.com\n", "- **GitHub:** https://github.com/Albertsr" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": true }, "outputs": [], "source": [ "import numpy as np\n", "import pandas as pd\n", "\n", "import warnings \n", "warnings.filterwarnings(\"ignore\")\n", "\n", "import seaborn as sns\n", "from matplotlib import pyplot as plt\n", "from sklearn.datasets import load_iris\n", "\n", "%matplotlib inline\n", "sns.set(style=\"white\", color_codes=True)" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "scrolled": true }, "outputs": [ { "data": { "text/html": [ "
| \n", " | sepal length | \n", "sepal width | \n", "petal length | \n", "petal width | \n", "species | \n", "
|---|---|---|---|---|---|
| 0 | \n", "5.1 | \n", "3.5 | \n", "1.4 | \n", "0.2 | \n", "Setosa | \n", "
| 1 | \n", "4.9 | \n", "3.0 | \n", "1.4 | \n", "0.2 | \n", "Setosa | \n", "
| 2 | \n", "4.7 | \n", "3.2 | \n", "1.3 | \n", "0.2 | \n", "Setosa | \n", "
| 3 | \n", "4.6 | \n", "3.1 | \n", "1.5 | \n", "0.2 | \n", "Setosa | \n", "
| 4 | \n", "5.0 | \n", "3.6 | \n", "1.4 | \n", "0.2 | \n", "Setosa | \n", "