摘要:Reference: Eclipse和PyDev搭建完美Python开发环境(Windows篇) Reference: Install the PyDev plug-in for Eclipse Download and install Java Download and install Eclip
阅读全文
摘要:Reference: Python中self用法详解 __init__ 方法; 私有变量。 Reference: 【290】Python 函数 class 里面的 function 创建与此一致,只是会多一个 self 参数; 必备参数 —— 须以正确的顺序传入; 关键字参数 —— 允许函数调用时参
阅读全文
摘要:看如下例子进行体会: random.random():返回一个0与1之间的浮点数 random.randint(a, b):返回a与b之间的一个整数 建立随机列表 列表变换
阅读全文
摘要:Reference: 决策树方法-对买电脑进行分类预测 Reference: 最邻近规则分类(K-Nearest Neighbor)KNN算法应用 Reference: python 内建函数 str() 和 repr() 的区别 Reference: Python repr() 函数
阅读全文