X-man

导航

上一页 1 2 3 4 5 6 7 8 9 ··· 59 下一页

2015年11月26日 #

LDA 初见(JGibbLDA-v.1.0 eclipse使用)

摘要: 参考:Eclipse下使用JGibbLDA使用总结 一、下载和初次使用JGibbLDA 1、导入JGibbLDA-v.1.0项目(参考上面链接) 2、在LDA.java右键“run”--->“run configurations”填入 -est -dir models/casestudy-en/ - 阅读全文

posted @ 2015-11-26 21:29 雨钝风轻 阅读(966) 评论(0) 推荐(0) 编辑

2015年11月25日 #

机器学习实战(代码讲解)

摘要: 机器学习实战 http://www.cnblogs.com/qwertWZ/p/4582096.html机器学习实战笔记:http://blog.csdn.net/Lu597203933/article/details/37969799#第一个kNN分类器 inX-测试数据 dataSet-样本数... 阅读全文

posted @ 2015-11-25 15:56 雨钝风轻 阅读(816) 评论(0) 推荐(0) 编辑

2015年11月24日 #

Python一般错误

摘要: 1. IndentationError: unindent does not match any outer indentation level格式对齐的问题。Python对空格和Tab有严格区别 阅读全文

posted @ 2015-11-24 19:06 雨钝风轻 阅读(146) 评论(0) 推荐(0) 编辑

window dos命名

摘要: dos命令从c盘进入d盘c:\>d:敲回车 >dir 查看文件夹中文件运行java程序,最好先进入文件夹:然后javac Hello.javajava Hello 阅读全文

posted @ 2015-11-24 12:06 雨钝风轻 阅读(170) 评论(0) 推荐(0) 编辑

2015年11月20日 #

python 字符串与数字之间的转换

摘要: 1.数字转字符串i = 123str = ‘%d’ %istr即为转换成的字符串2.字符串转换成数字:import stringtt='555'ts=string.atoi(tt)ts即为tt转换成的数字 阅读全文

posted @ 2015-11-20 16:27 雨钝风轻 阅读(1455) 评论(0) 推荐(0) 编辑

matplotlib 安装与使用

摘要: 1.在ubuntu下输入 sudo apt-get install python-matplotlib 安装matplotlib 2.简单代码使用 2. 3.我们希望在 2π/3 的位置给两条函数曲线加上一个注释。首先,我们在对应的函数图像位置上画一个点;然后,向横轴引一条垂线,以虚线标记;最后,写 阅读全文

posted @ 2015-11-20 15:46 雨钝风轻 阅读(406) 评论(0) 推荐(0) 编辑

2015年11月18日 #

Kmeans方法

摘要: 基本Kmeans算法介绍及其实现http://blog.csdn.net/qll125596718/article/details/8243404/kmeans++http://www.52ml.net/1695.html 阅读全文

posted @ 2015-11-18 21:43 雨钝风轻 阅读(242) 评论(0) 推荐(0) 编辑

2015年11月16日 #

Python字符串,元组、列表、字典

摘要: 1.字符串 <string>.strip() 去掉两边空格及去指定字符 <string>.split() 按指定字符分隔字符串为数组 <string>.isdigit()判断是否为数字类型  字符串操作集:http://www.cnpythoner.com/wiki/string.html tt=3 阅读全文

posted @ 2015-11-16 21:43 雨钝风轻 阅读(250) 评论(0) 推荐(0) 编辑

Python基本语法

摘要: 参考:http://www.jb51.net/article/50759.htm1.注释:单行用#注释 多行用’‘’注释2.if :elif :else :3.尽管变量不需要预先定义,但是要使用的时候,必须赋值,否则报错 局部变量:def f1(): x=12 #局部变量 ... 阅读全文

posted @ 2015-11-16 20:02 雨钝风轻 阅读(210) 评论(0) 推荐(0) 编辑

2015年11月9日 #

Python 文件编码(文件乱码)

摘要: IndentationError: unindent does not match any outer indentation level 文件未对齐,在记事本打开。 乱码原因:源码文件的编码格式为utf-8,但是window的本地默认编码是gbk,所以在控制台直接打印utf-8的字符串当然是乱码了 阅读全文

posted @ 2015-11-09 17:15 雨钝风轻 阅读(1245) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 59 下一页