09 2019 档案

摘要:练习篇(Part 5) 51. Create a structured array representing a position (x,y) and a color (r,g,b) (★★☆) 运行结果: [((0., 0.), (0., 0., 0.)) ((0., 0.), (0., 0., 阅读全文
posted @ 2019-09-30 22:02 橙同学的学习笔记 阅读(448) 评论(0) 推荐(0)
摘要:1、np.zero(10) 创建一个包含10个元素的一维数组 np.ones((10,10)) 创建一个包含10*10个元素1的二维数组 2、np.arange(10,50) 创建一个一维数组包含10-49所有的整数 3、np.arange(9).reshape(3,3) 重构为3*3的数组 4、a 阅读全文
posted @ 2019-09-30 14:39 橙同学的学习笔记 阅读(735) 评论(0) 推荐(0)
摘要:机器学习算法分类 传统机器学习算法主要包括以下五类: 回归:建立一个回归方程来预测目标值,用于连续型分布预测 分类:给定大量带标签的数据,计算出未知标签样本的标签取值 聚类:将不带标签的数据根据距离聚集成不同的簇,每一簇数据有共同的特征 关联分析:计算出数据之间的频繁项集合 降维:原高维空间中的数据 阅读全文
posted @ 2019-09-26 21:53 橙同学的学习笔记 阅读(797) 评论(0) 推荐(0)
摘要:练习篇(Part 4) 41. How to sum a small array faster than np.sum? (★★☆) 运行结果:45 42. Consider two random array A and B, check if they are equal (★★☆) 运行结果: 阅读全文
posted @ 2019-09-26 20:35 橙同学的学习笔记 阅读(406) 评论(0) 推荐(0)
摘要:练习篇(Part 3) 31. 略 32. Is the following expressions true? (★☆☆) 运行结果:False 33. How to get the dates of yesterday, today and tomorrow? (★☆☆) 运行结果: yeste 阅读全文
posted @ 2019-09-25 23:25 橙同学的学习笔记 阅读(487) 评论(0) 推荐(0)
摘要:练习篇(Part 2) 11. Create a 3x3 identity matrix (★☆☆) 运行结果:[[1. 0. 0.] [0. 1. 0.] [0. 0. 1.]] 12. Create a 3x3x3 array with random values (★☆☆) 运行结果:略 13 阅读全文
posted @ 2019-09-24 22:20 橙同学的学习笔记 阅读(698) 评论(0) 推荐(0)
摘要:(一)基础学习 学习渠道:阿里天池AI学习——Numpy基础(传送门) (二)练习篇 练习渠道:Numpy基础100题(Part 1) 1. Import the numpy package under the name np(★☆☆) 2. Print the numpy version and 阅读全文
posted @ 2019-09-23 20:22 橙同学的学习笔记 阅读(486) 评论(0) 推荐(0)