package project.datapreprocess;

/**
 * Created by hanxuan on 11/29/15 for machine_learning.
 */
public class ProcessMain {

    public static void main(String[] args) throws Exception{

        String raw = "/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/posterior/data.all.raw.txt";
        String correct = "/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/posterior.10/data.all.correct.txt";
        String expand = "/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/posterior.10/data.all.expand.txt";

        Process process = new PriorNoBuzz();
        process.outlierCorrect(raw, correct);
//        process.featureExpand(correct, expand);
    }
}

@@ -26,16 +26,101 @@
 ocess;%0A%0A
+import org.apache.logging.log4j.LogManager;%0Aimport org.apache.logging.log4j.Logger;%0A%0A
 /**%0A * C
@@ -212,161 +212,492 @@
    p
-ublic static void main(String%5B%5D args) throws Exception%7B%0A%0A        String raw = %22/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/posterior
+rivate static Logger log = LogManager.getLogger(ProcessMain.class);%0A%0A    public static void main(String%5B%5D args) throws Exception%7B%0A%0A        noBuzz();%0A%0A//        prior();%0A%0A        log.info(%22pre precess finished, exit ..%22);%0A    %7D%0A%0A%0A    public static void noBuzz() throws Exception%7B%0A%0A        String raw = %22/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/raw/data.all.raw.txt%22;%0A        String correct = %22/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/raw
 /dat
@@ -694,35 +694,39 @@
 an/raw/data.all.
-raw
+correct
 .txt%22;%0A        S
@@ -735,113 +735,788 @@
 ing 
-correct = %22/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/posterior.10/data.all.correct
+mark = %22/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/raw/data.all.mark.txt%22;%0A        String expand = %22/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/nobuzz/data.all.expand.txt%22;%0A%0A        Process process = new PriorNoBuzz();%0A        process.outlierCorrect(raw, correct);%0A        process.mark(correct, mark);%0A        process.featureExpand(mark, expand);%0A    %7D%0A%0A    public static void prior() throws Exception%7B%0A%0A        String raw = %22/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/raw/data.all.raw.txt%22;%0A        String correct = %22/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/raw/data.all.correct.txt%22;%0A        String mark = %22/Users/hanxuan/Dropbox/neu/fall15/data mining/project/data/clean/raw/data.all.mark
 .txt
@@ -1613,19 +1613,12 @@
 an/p
-oste
 rior
-.10
 /dat
@@ -1665,33 +1665,34 @@
 ess = new Pr
-iorNoBuzz
+ocessPrior
 ();%0A        
@@ -1729,18 +1729,53 @@
 rrect);%0A
-//
+        process.mark(correct, mark);%0A
         
@@ -1796,23 +1796,20 @@
 eExpand(
-correct
+mark
 , expand

add two different test cases