@@ -0,0 +1,824 @@
+package io.sigpipe.sing.stat;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Aimport io.sigpipe.sing.dataset.feature.Feature;%0A%0Apublic class FeatureSurvey %7B%0A%0A    private Map%3CString, RunningStatistics%3E stats = new HashMap%3C%3E();%0A%0A    public FeatureSurvey() %7B%0A%0A    %7D%0A%0A    public void add(Feature feature) %7B%0A        RunningStatistics rs = stats.get(feature.getName());%0A        if (rs == null) %7B%0A            rs = new RunningStatistics();%0A            stats.put(feature.getName(), rs);%0A        %7D%0A        rs.put(feature.getDouble());%0A    %7D%0A%0A    public void printAll() %7B%0A        for (String featureName : stats.keySet()) %7B%0A            System.out.println(%22--- %22 + featureName + %22 ---%22);%0A            RunningStatistics rs = stats.get(featureName);%0A            System.out.println(rs);%0A            System.out.println();%0A        %7D%0A    %7D%0A%7D%0A

Add FeatureSurvey class to track feature statistics