Monthly Archives: May 2016

Eine ostfriesische Mutter schreibt ihrem Sohn

Lieber Willi! Ich schreibe Dir diesen Brief damit Du weißt, dass ich noch lebe. Ich schreibe langsam, weil ich weiß, dass Du nicht schnell lesen kannst. Wenn Du wiedermal nach Hause kommst, wirst Du unsere Wohnung nicht wiedererkennen, wir sind … Continue reading

Posted in Funny stories, Other

1. COMPUTING RECENCY, FREQUENCY, MONETARY VALUE

# Load text file into local variable called ‘data’ > data = read.delim(file = ‘e:/courses/Big_data/R/Marketinganalzse/purchases.txt’, header = FALSE, sep=’\t’, dec=’.’) # Display what has been loaded. > head(data) V1 V2 V3 1 760 25 2009-11-06 2 860 50 2012-09-28 3 … Continue reading

Posted in Marketing analyze

Creating first and simple table in HBase

A new HBase table is able to create using HBase shell or Java API. Create table in HBase:  =>  create ‘tablename’, {NAME => ‘columnname’}   ================ ! Here we are creating table and specifying the name of table and defining … Continue reading

Posted in Hadoop, HBase | Leave a comment

R log Function

R log Function log() function computes natural logarithms (Ln) for a number or vector. log10 computes common logarithms (Lg).log2 computes binary logarithms (Log2). log(x,b) computes logarithms with base b. >log(5)     #ln5 [1] 1.609438   >log10(5)    #lg5 [1] 0.69897   >log2(5)    … Continue reading

Posted in Data analyze, R