from sklearn import datasets
from sklearn.utils.linear_assignment_ import linear_assignment
import seaborn as sns
import matplotlib.pyplot as plt
import copy
from sklearn.metrics import confusion_matrix
from sklearn import metrics
import pandas as pd
import numpy as np
导入数据 iris
iris = datasets.load_iris()
data = iris.data
y = iris.target