test_class.file: lib/src/test/java/edu/stanford/futuredata/macrobase/analysis/summary/aplinear/APLOutlierSummarizerTest.java
test_class.identifier: APLOutlierSummarizerTest
test_case.body: @Test
      public void testSimpleOrder3() throws Exception {
          DataFrame df = new DataFrame();
          String[] col1 = {"a1", "a2", "a1", "a1"};
          String[] col2 = {"b1", "b1", "b2", "b1"};
          String[] col3 = {"c1", "c1", "c1", "c2"};
          double[] counts = {1, 1, 1, 1};
          double[] oCounts = {1, 0, 0, 0};
          df.addColumn("col1", col1);
          df.addColumn("col2", col2);
          df.addColumn("col3", col3);
          df.addColumn("counts", counts);
          df.addColumn("oCounts", oCounts);
  
          List<String> explanationAttributes = Arrays.asList(
                  "col1",
                  "col2",
                  "col3"
          );
          APLOutlierSummarizer summ = new APLOutlierSummarizer(true);
          summ.setCountColumn("counts");
          summ.setOutlierColumn("oCounts");
          summ.setMinSupport(.1);
          summ.setMinRatioMetric(3.0);
          summ.setAttributes(explanationAttributes);
          summ.process(df);
          APLExplanation e = summ.getResults();
          assertEquals(1, e.getResults().size());
          assertTrue(e.prettyPrint().contains("col1=a1"));
          assertEquals(1, e.numOutliers(), 1e-10);
      }
test_case.class_method_signature: APLOutlierSummarizerTest.testSimpleOrder3()
test_case.full_signature: @Test public void testSimpleOrder3()
test_case.identifier: testSimpleOrder3
test_case.invocations: addColumn addColumn addColumn addColumn addColumn asList setCountColumn setOutlierColumn setMinSupport setMinRatioMetric setAttributes process getResults assertEquals size getResults assertTrue contains prettyPrint assertEquals numOutliers
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSimpleOrder3()
focal_class.declarator: log = LoggerFactory.getLogger("APLOutlierSummarizer")
focal_class.modifier: private
focal_class.original_string: private Logger log = LoggerFactory.getLogger("APLOutlierSummarizer");
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: countColumn = null
focal_class.modifier: private
focal_class.original_string: private String countColumn = null;
focal_class.type: String
focal_class.var_name: countColumn
focal_class.declarator: useBitmaps
focal_class.modifier: private
focal_class.original_string: private boolean useBitmaps;
focal_class.type: boolean
focal_class.var_name: useBitmaps
focal_class.file: lib/src/main/java/edu/stanford/futuredata/macrobase/analysis/summary/aplinear/APLOutlierSummarizer.java
focal_class.identifier: APLOutlierSummarizer
focal_class.class_method_signature: APLOutlierSummarizer.APLOutlierSummarizer(boolean useBitmaps)
focal_class.full_signature: public  APLOutlierSummarizer(boolean useBitmaps)
focal_class.identifier: APLOutlierSummarizer
focal_class.modifiers: public
focal_class.parameters: (boolean useBitmaps)
focal_class.signature:  APLOutlierSummarizer(boolean useBitmaps)
focal_class.class_method_signature: APLOutlierSummarizer.getAggregateNames()
focal_class.full_signature: @Override public List<String> getAggregateNames()
focal_class.identifier: getAggregateNames
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getAggregateNames()
focal_class.class_method_signature: APLOutlierSummarizer.getAggregationOps()
focal_class.full_signature: @Override public AggregationOp[] getAggregationOps()
focal_class.identifier: getAggregationOps
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: AggregationOp[]
focal_class.signature: AggregationOp[] getAggregationOps()
focal_class.class_method_signature: APLOutlierSummarizer.getEncoded(List<String[]> columns, DataFrame input)
focal_class.full_signature: @Override public int[][] getEncoded(List<String[]> columns, DataFrame input)
focal_class.identifier: getEncoded
focal_class.modifiers: @Override public
focal_class.parameters: (List<String[]> columns, DataFrame input)
focal_class.return: int[][]
focal_class.signature: int[][] getEncoded(List<String[]> columns, DataFrame input)
focal_class.class_method_signature: APLOutlierSummarizer.getAggregateColumns(DataFrame input)
focal_class.full_signature: @Override public double[][] getAggregateColumns(DataFrame input)
focal_class.identifier: getAggregateColumns
focal_class.modifiers: @Override public
focal_class.parameters: (DataFrame input)
focal_class.return: double[][]
focal_class.signature: double[][] getAggregateColumns(DataFrame input)
focal_class.class_method_signature: APLOutlierSummarizer.getQualityMetricList()
focal_class.full_signature: @Override public List<QualityMetric> getQualityMetricList()
focal_class.identifier: getQualityMetricList
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<QualityMetric>
focal_class.signature: List<QualityMetric> getQualityMetricList()
focal_class.class_method_signature: APLOutlierSummarizer.getThresholds()
focal_class.full_signature: @Override public List<Double> getThresholds()
focal_class.identifier: getThresholds
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Double>
focal_class.signature: List<Double> getThresholds()
focal_class.class_method_signature: APLOutlierSummarizer.getNumberOutliers(double[][] aggregates)
focal_class.full_signature: @Override public double getNumberOutliers(double[][] aggregates)
focal_class.identifier: getNumberOutliers
focal_class.modifiers: @Override public
focal_class.parameters: (double[][] aggregates)
focal_class.return: double
focal_class.signature: double getNumberOutliers(double[][] aggregates)
focal_class.class_method_signature: APLOutlierSummarizer.getCountColumn()
focal_class.full_signature: public String getCountColumn()
focal_class.identifier: getCountColumn
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCountColumn()
focal_class.class_method_signature: APLOutlierSummarizer.setCountColumn(String countColumn)
focal_class.full_signature: public void setCountColumn(String countColumn)
focal_class.identifier: setCountColumn
focal_class.modifiers: public
focal_class.parameters: (String countColumn)
focal_class.return: void
focal_class.signature: void setCountColumn(String countColumn)
focal_class.class_method_signature: APLOutlierSummarizer.getMinRatioMetric()
focal_class.full_signature: public double getMinRatioMetric()
focal_class.identifier: getMinRatioMetric
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getMinRatioMetric()
focal_class.superclass: extends APLSummarizer
focal_method.body: public void setCountColumn(String countColumn) {
          this.countColumn = countColumn;
      }
focal_method.class_method_signature: APLOutlierSummarizer.setCountColumn(String countColumn)
focal_method.full_signature: public void setCountColumn(String countColumn)
focal_method.identifier: setCountColumn
focal_method.modifiers: public
focal_method.parameters: (String countColumn)
focal_method.return: void
focal_method.signature: void setCountColumn(String countColumn)