摘要:
import nltk from nltk.corpus import stopwords from nltk.stem import WordNetLemmatizer import csv import numpy as np from sklearn.model_selection import train_test_split from sklearn.feature_extractio... 阅读全文
摘要:
from sklearn.datasets import load_sample_image from sklearn.cluster import KMeans import matplotlib.pyplot as plt import numpy as np china = load_sample_image("china.jpg")#读取图片 plt.imshow(china) plt... 阅读全文
摘要:
#用列表+循环实现,并包装成函数 def pySum(n): a = list(range(10)) b = list(range(0, 50, 5)) c = [] for i in range(len(a)): c.append(a[i] ** 2 + b[i] ** 3) return(c) print(pySum(10)) #... 阅读全文
摘要:
strBig ='''Big Big World Emilia I'm a big big girl In a big big world It's not a big big thing if you leave me But I do do feel that I too too will miss you much Miss you much. I can see t... 阅读全文