6-1 Duplicated Words (20分)
java旧题复习6-1 Duplicated Words (20分)This program reads a lot of words, in which may be duplicated words. The program picks out all the duplicated ones and sorts the remainders in a descendent order.函数接口定义:public static ArrayList pick(ArrayList a);a is
多元线性回归实现梯度下降
笔记: 代码实现:在线性回归模型中使用梯度下降法import numpy as npimport matplotlib.pyplot as pltnp.random.seed(666)#数据随机,保持一致x = 2 * np.random.random(size=100)#100个样本,每个样本有一个特征y = x * 3. + 4. + np.random...