【笔记】机器学习实战第二章

1、P18 

更改Python工作目录,这样才能在另一个py文件里调用。

参见:http://blog.csdn.net/stormbjm/article/details/8229346

http://jingyan.baidu.com/article/a3a3f811d29f328da2eb8aff.html

2、P19

tile函数:http://www.cnblogs.com/zibu1234/p/4210521.html

3、P19

argsort函数:http://www.cnblogs.com/yyxf1413/p/6253995.html

dict.get(index索引) 函数:http://www.runoob.com/python/att-dictionary-get.html 这个是针对字典dict的Python函数

4、P19

sorted函数:http://www.cnblogs.com/sysu-blackbear/p/3283993.html

sort本地排序,sorted是返回一个副本

5、P19

在Python3中,In Python3 dict.items() does the same thing that dict.iteritems() did in Python2. Just replace iteritems() with items()!这是一个修改的地方。

6、P19

关于字典排序。operator.itemgetter(1) 确定排序的域,以此作为key

7、step into单步调试; step into my code单步调试进入我的代码;

8、P22

关于reload:http://blog.csdn.net/python_tty/article/details/50441536

9、P23

关于散点图:http://blog.csdn.net/abcjennifer/article/details/19848269 要特别注意labels对于散点图的影响。

10、P27 :Python3格式化输出,直接用print(%),不加逗号。

见:http://blog.csdn.net/jcjc918/article/details/9354815

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值