上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页
摘要: 原文连接:http://blog.csdn.net/diandianxiyu_geek/article/details/44098121 一:表示法: 1、正数5的表示法 假设有一个 int 类型的数,值为5,那么,我们知道它在计算机中表示为:00000000 00000000 00000000 0 阅读全文
posted @ 2019-01-26 15:03 andy_0212 阅读(11524) 评论(0) 推荐(1) 编辑
摘要: 如果是series Strip / trim all strings of a dataframe 阅读全文
posted @ 2019-01-25 15:57 andy_0212 阅读(308) 评论(0) 推荐(0) 编辑
摘要: SELECT DISTINCT or GROUP BY selecting unique values from a column MySQL How to Return Unique/Distinct Results? 阅读全文
posted @ 2019-01-25 11:35 andy_0212 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 为什么要短睡 ? 通常人们所认识到,并接受的睡眠时间是每天7-8个小时。也就是说,一天24个小时,有接近1/3的时间是在睡眠中度过的。那么,扩展到整个人生,竟有就有1/3是在床上度过的。人生苦短,既然死亡是不可避免的终点。那么减少睡眠时间,是否可以看成增加了生命的长度了呢 ?虽然睡觉也可以睡得很幸福 阅读全文
posted @ 2019-01-24 14:45 andy_0212 阅读(606) 评论(0) 推荐(0) 编辑
摘要: concurrent:built-in module,效率不错 def calculate(arg, num_process=8): if type(arg) is list or isinstance(arg, types.GeneratorType): # Approach 1: Use Pyt 阅读全文
posted @ 2019-01-24 14:32 andy_0212 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 32 New Keyboard Shortcuts in Windows 10 阅读全文
posted @ 2019-01-18 15:54 andy_0212 阅读(84) 评论(0) 推荐(0) 编辑
摘要: What's the difference between “virtualenv” and “-m venv” in creating Virtual environments(Python) venv is a package shipped directly with python 3 (No 阅读全文
posted @ 2019-01-10 10:49 andy_0212 阅读(133) 评论(0) 推荐(0) 编辑
摘要: softmax函数: 交叉熵: 其中指代实际的标签中第i个的值(用mnist数据举例,如果是3,那么标签是[0,0,0,1,0,0,0,0,0,0],除了第4个值为1,其他全为0) 就是softmax的输出向量[Y1,Y2,Y3...]中,第i个元素的值 显而易见,预测越准确,结果的值越小(别忘了前 阅读全文
posted @ 2019-01-09 08:45 andy_0212 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1.初始化递增的list: list1 = list(range(10))#print list1#[0,1,2,...,9] 2.初始化每项为0的一维数组: list2 = [0] * 5#print list2#[0,0,0,0,0] 3.初始化固定值的一维数组: initVal = 1list 阅读全文
posted @ 2019-01-08 22:11 andy_0212 阅读(5301) 评论(0) 推荐(0) 编辑
摘要: 如无必要,勿增实体。 简单有限原则 阅读全文
posted @ 2019-01-07 14:56 andy_0212 阅读(267) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页