原创 算法學習之排序

由於學習緣故,將今日所學排序算法做以歸納總結,以備來日便宜: 插入排序: public static void insertSort(int a[]) { int key; for(int j = 2;j < a.length;

原创 三臺節點配置hadoop

 Ssh互信建立完成以後,接下來咱們開始搭建hadoop 從ApacheDownload Mirrors下載haoop-2.6.0. 從JavaSE - Downloads | Oracle Technology Netw

原创 一臺電腦連入三個節點的集羣ssh配置

         Linux與windows之間建立ssh互信 ssh是應用層的協議,建立ssh互信可以實現用PC遠程直接管理訪問集羣節點,查看集羣狀態。下面就說一下建立過程(感謝曉東學長的全稱指點): 全程保證兩臺電腦在一個局

原创 LCS的兩種解法比較

動態規劃問題一般具有兩個要素:最優子結構與子問題重疊。 通常在求解LCS問題時,我們都會用到兩種方法: 1. momo-ization(備忘錄方法) 利用了該問題的重疊子問題特性,而重疊子問題可以使用遞歸直接解決   0 A B C B

原创 三臺節點ssh互信建立

 本博客並不屬於技術博,主要記錄樓主這個生手第一次實現ssh互聯搭建hadoop的一堆麻煩事和解決方法: 現在先看一下建立ssh互信的方法(以ubuntu爲例): 具體步驟有了,樓主談一些細節問題(很多時候都是在學習li

原创 lucene5.0建立索引並進行查找

說白了就是兩個函數一個建立索引(寫),另一個來查找(讀),所以涉及到java IO的一些知識。 import java.io.*; import java.nio.file.Paths; import java.util.Date;

原创 Make your model a web service (using Microsoft Azure machine learning studio)

Make your model a web service (using Microsoft Azure machine learning studio) 1. construct an experiment using the st

原创 Visualizing Data via R (box-plot,histogram,scatter)

Visualizing Data via R (box-plot,histogram,violin,scatter) load data library("AzureML") ws = workspace() auto.price =

原创 Hypothesis with R and Understanding of P-value and confidence-interval

Hypothesis with R and Understanding of P-value and confidence-intervalHypothesis with R數據集說明數據可視化使用t-test(small sampl

原创 Statistic summary in R

summary the statistics of data visualize the statistics (boxplot and histogram) view the data library("AzureML")

原创 基於doc2vec的中文文本聚類及去重

Understand doc2vec Data introduction Train a model Test the model Cluster all the lyrics Filter out the duplicates