之前在找房子就有看到這附近不遠處有登山步道,
今天看起天氣很好。
所以想去晒晒太陽,帶著水跟水果就想往那邊出發。

哈,
非常不妙的。
富陽生態公園 在維護~~~~ 而且是整個關閉 oh no

前前後後也看了不少人是要過來走走的,
還有家長們帶著小孩子過來。

期待整修後的環境



一般而言再使用mahout recommender來說,都有幾個步驟。
public static void main (String args[])throws Exception{
DataModel model =new FileDataModel(new File("data/intro.csv"));
UserSimilarity similarity =new PearsonCorrelationSimilarity(model);
UserNeighborhood neighborhood =new NearestNUserNeighborhood(2,similarity,model);
Recommender recommender= new GenericUserBasedRecommender(model,neighborhood,similarity);
List recommendations =recommender.recommend(1, 2);
for(RecommendedItem recommendation :recommendations){
System.out.println(recommendation);
}
}
run apache mahout examples
官方網站上面有個有個說明,
Recommender Documentation - Apache Mahout - Apache Software Foundation
https://cwiki.apache.org/confluence/display/MAHOUT/Recommender+Documentation
To build and run the demo, follow the instructions below, which are written for Unix-like operating systems:
遇到了一些問題
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/mahout-integration/RecommenderServlet
Powered by jetty://
:~/code/mahout-distribution-0.7/integration$ mvn jetty:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Mahout Integration
[INFO] task-segment: [jetty:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing jetty:run
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [jetty:run {execution: default-cli}]
[INFO] Configuring Jetty for project: Mahout Integration
[INFO] Webapp source directory = /home/peicheng/code/mahout-distribution-0.7/integration/src/main/webapp
[INFO] web.xml file = /home/peicheng/code/mahout-distribution-0.7/integration/src/main/webapp/WEB-INF/web.xml
[INFO] Classes = /home/peicheng/code/mahout-distribution-0.7/integration/target/classes
2012-10-26 14:58:11.752::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
[INFO] Context path = /mahout-integration
[INFO] Tmp directory = determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] Webapp directory = /home/peicheng/code/mahout-distribution-0.7/integration/src/main/webapp
[INFO] Starting jetty 6.1.10 ...
2012-10-26 14:58:11.829::INFO: jetty-6.1.10
2012-10-26 14:58:12.973::INFO: No Transaction manager found - if your webapp requires one, please configure one.
2012-10-26 14:58:12.400::WARN: failed taste-recommender
javax.servlet.ServletException: java.lang.IllegalStateException: java.lang.ClassNotFoundException: org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommender
時 間 | 議 程 | |||||
8:30~9:00 | 報到 | |||||
9:00~9:10 | 開幕暨致歡迎詞:東海大學 葉芳栢校長 | |||||
9:10~10:10 | 專題演講:引導教育與大學公民願景:一位校友的奉獻與期待 | |||||
主持人 | 主講人 | |||||
羅文聰 東海大學學務長 | 吳兆田 alpha leader專業引導教師 | |||||
10:10~10:30 | 茶敘 | |||||
10:30~12:00 | alpha體系的建立:制度整合經驗分享 | |||||
主持人 | 分享人 | 回應人 | ||||
范聖興 東海大學教務長 | 羅文聰 東海大學學務長 | 孫台鼎 靜宜大學學務長 | ||||
12:00~13:00 | 午餐休息 | |||||
13:00~14:00 | 引導教育在東海實錄分享 | |||||
14:00~14:10 | 休息 | |||||
14:10~15:40 | 引導教育融入課程與活動的經驗分享:教師成長歷程 | |||||
主持人 | 分享人 | 回應人 | ||||
羅文聰 東海大學學務長 | 伊志宗 東海大學 Alpha leader指導老師 | 藍美華 政治大學 政大書院執行長 | ||||
15:40~15:50 | 休息 | |||||
15:50~17:10 | 作為alpha leaders的學習意義:學生學習成效分享 | |||||
主持人 | 分享人 | 回應人 | ||||
王偉華 東海大學 博雅書院書院長 | Alpha leaders | 余佩珊 東海大學企管系副教授 | ||||
17:10~17:20 | 休息 | |||||
17:20~18:00 | 綜合討論 主持人:東海大學羅文聰學務長 | |||||
18:00 | 賦歸 | |||||
Add Color to the Terminal in Mac OS X
http://osxdaily.com/2012/02/21/add-color-to-the-terminal-in-mac-os-x/
Hbase 使用zookeeper 管理 HMaster 與 RegionServer。
Hbase也就是從BigTable來的,當table大到一個程度的時候,table會split成一個一個的region。
而RegionServer就把 HTable 存到Hadoop的HDFS。
Google BigTable使用Chubby來負責協調Node的工作,而HBase使用的就是zookeeper。
Trend Micro CDC SPN Team | Client HBase RegionServer
http://www.spnguru.com/tag/client-hbase-regionserver/
HBase技术介绍 « 搜索技术博客-淘宝
http://www.searchtb.com/2011/01/understanding-hbase.html