# R and Python for Data Mining & Analysis

## Publications

- Modeling and discovering human behavior from smartphone sensing life-log data for identification purpose

*doi: 10.1186/s13673-015-0049-7*

International Journal of Human-centric Computing and Information Sciences - Concept, design and implementation of sensing as a service framework

*doi: 10.1145/2701126.2701173*

International Conference on Ubiquitous Information Management and Communication

(ACM IMCOM 2015), January 8-10, 2015, Bali, Indonesia. - Awareness Home Automation System Based on User Behavior through Mobile Sensing

*doi: 10.1007/978-3-662-45402-2_135*

The 9th KIPS International Conference on Ubiquitous Information Technologies and Applications

(CUTE 2014), December 16-20 2014, Guam, USA. - Developing and Evaluating Mobile Sensing for Smart Home Control

*doi: 10.14257/ijsh.2015.9.3.20*

International Journal of Smart Home (IJSH)

Volume 9, Issue 03, page 215-230, March 2015 - Twitter Mining 2014 Indonesian Legislative Election

*doi: 10.14257/ijseia.2014.8.10.17*

International Journal of Software Engineering and Its Applications (IJSEIA)

Volume 8, Issue 10, page 191-202, December 2014

## R Basics

- Split one column to two columns in R DataFrame

Split column in R DataFrame - Exploring Data in R

Basic Data Exploration in R - More Data Exploration in R

Data Exploration in R - Plotting data in R

Basic visualize data using kind of libraries for plotting in R - Plotting Time Series example

Basic Time series plotting for each time - Detecting Outlier data in R

Detecting Outlier data in R - Save and Load Data in R

Save and Load Data in R - Import and Export CSV Data in R

Import and Export CSV Data in R - Setup OAuth Twitter in R

How to setup twitter OAuth in R - Example Plot Accelerometer Data [Milliseconds]

Just simple Accelerometer data plot using ggplot - Example Plot Power law Distribution

Power Law Distribution in R example

## Twitter Mining in R

- Retweet Graph

Using R for analysis Twitter Mining,

in this case we use R to build and plot Retweet Graph - Twitter Text Mining in R

Using R for Twitter Text Mining

## Python Pandas Basics

- Basic Pandas Python Operation
- Vectorized Computaton Pandas
- Simple DataFrame Operation
- Statistic on Pandas
- Merge and Join on Pandas
- Plotting on Pandas
- URL Hierarchical Clustering

## Python Pandas for Data Analysis

- Read JSON data format with pandas

Read smartphone data log using pandas (db: SQLITE with JSON data format) - Store data to DataFrame from multiple db

Read smartphone data log using pandas (db: SQLITE with JSON data format) - Web URL Clustering

Hierarchical Clustering on Mobile Search Log data

## R for Machine Learning

- Naive Bayes in R

Using Naive Bayes in R with Iris Data example - SVM in R

Using Support Vector Machine (SVM) in R with Iris Data example - Random Forest in R

Using Random Forest in R with Iris Data example - K means in R

Using K Means in R with Iris Data example

## My Project with R and Python

- Activity Recognition for HAS

Plotting Accelerometer & Magnetic Field Sensor Data

- Personal Behavior Analysis with phone log

Finding duplicated rows in table (13 probes log phone)

Finding duplicated rows and analyzing (50 databases log phone)

Not published, Project from NRF and ITRC - Political Analysis with Twitter Data

Twitter Mining, 2014 Indonesian Legislative Election - Polarity of mass media in the 2014 indonesia's president election

In progress, polarity of mass media in the 2014 indonesia's president election - Analysis Mobile Log data

The data is not published, Project from NRF and ITRC
[Github Gist] Preprocessing Data for User Personal Behavior Data [*.db to csv each categories] - Personal Behavior Analysis with phone broadcast data

Random Forest | User Classification based on Broadcast log data

K Means | User Clustering based on Broadcast Log data

[Github Gist] Second Preprocessing Data for User Personal Behavior Data [one CSV file for each user ]