摘要: Greg A. writes,I enjoyed your post on how to not sort by average rating. I was wondering if you have any experience with sorting based on average vote... 阅读全文
posted @ 2014-07-28 12:13 mushr0m 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 摘自《机器学习实践》第13章: 1 from numpy import * 2 import matplotlib 3 import matplotlib.pyplot as plt 4 5 def loadDataSet(fileName, delim='\t'): 6 fr = ope... 阅读全文
posted @ 2014-04-27 17:58 mushr0m 阅读(750) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-09 13:35 mushr0m 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 以下是转自SlidesShare.com上面的一份PPT,概念讲得很简单清晰。 阅读全文
posted @ 2014-03-30 13:21 mushr0m 阅读(930) 评论(0) 推荐(0) 编辑
摘要: Pathname Expansion:[me@linuxbox me]$ echo [[:upper:]]*Desktop Documents Music Pictures Public Templates VideosTilde Expansion:[me@linuxbox me]$ echo ~/home/meArithmetic Expansion:[me@linuxbox me]$ echo $((2 + 2))4which takes the form:$((expression))Arithmetic expansion only supports integers (whole 阅读全文
posted @ 2014-03-18 23:29 mushr0m 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 飞利浦旗下个人无线智能照明系统hue正式登陆中国。每颗hue灯泡的寿命约为25000小时,光亮相当于传统50W灯泡,可高效节能。目前,hue只在全国苹果零售店(包括实体店和在线商店)独家售卖。hue被业内喻为“最智能的灯泡”,它改变的不只是房间的环境,还能变换色彩、提供个性化的智能服务、监控家中安全。创建hue帐户后,用户在任何地方都可以通过网络浏览器或应用程序控制家中的灯光。创建帐户很简单,只需用户名和密码便可以使用。第一次登陆hue仪表板时要连接家里的wi-fi网络,这样hue桥接器便与帐户链接在一起。hue桥接器是灯泡与智能手机应用程序之间的桥梁,也是所有智能功能的所在,每个桥接器最多可 阅读全文
posted @ 2014-03-09 17:42 mushr0m 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 转载自lifehacker.org. 原文:How to Get Better Sleep (and Need Less Every Night)SExpandMany of us struggle to get enough sleep every night, but is the sleep we get any good? While it's important to get enough sleep,better sleepis a greater ally than more hours of sleep. We sat down with a sleep expert 阅读全文
posted @ 2014-03-08 17:04 mushr0m 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 转自lifehacker, 原文:How Can I Best Absorb Information While Reading?SExpandReading a good book can be a rewarding experience, but it can be frustrating when the information just floats through your head without sticking in your memory. Luckily there are a few methods that can really make a difference i 阅读全文
posted @ 2014-03-08 16:26 mushr0m 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 转载自lifehacker.org, 绝对干货!SExpandWe've talked before about thethings every computer user should know how to do, but we geeks are special: we want to go above and beyond, to explore every nook and cranny of our system and make everything easier. Here are ten ways to do just that.P10. Find New Uses 阅读全文
posted @ 2014-03-08 16:04 mushr0m 阅读(252) 评论(0) 推荐(0) 编辑
摘要: ubuntu上有不少的笔记软件,然而大都比较古老了,看起来都像是很久没有更新过。如果你常见得它们功能繁多令人晕眩,或是界面丑陋不符合自己的审美需要, 倒是可以试试Springseed.Springseed的界面设计非常简洁干净,又不失美观。重点是它可以使用Dropbox进行同步,而且支持Markdown语法。可惜目前并没有Windows或者手机版本。如果真出了其他平台的版本,我觉得我有必要放弃Evernote了。软件的下载网址:http://getspringseed.com/后记:试用了一阵发现,这个应用的稳定性实在太差了,老是Crash。不知道作者有没有在Ubuntu上实际测试过。 阅读全文
posted @ 2014-03-01 19:01 mushr0m 阅读(3905) 评论(0) 推荐(0) 编辑