mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smar...@apache.org
Subject [1/2] mahout git commit: MAHOUT-1759: Deprecate Random Forests, this closes apache/mahout#173
Date Fri, 06 Nov 2015 05:15:19 GMT
Repository: mahout
Updated Branches:
  refs/heads/master 48bfb64f1 -> 1ffa3a460


http://git-wip-us.apache.org/repos/asf/mahout/blob/1ffa3a46/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/inmem/InMemInputSplitTest.java
----------------------------------------------------------------------
diff --git a/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/inmem/InMemInputSplitTest.java
b/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/inmem/InMemInputSplitTest.java
index f94841d..aeea084 100644
--- a/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/inmem/InMemInputSplitTest.java
+++ b/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/inmem/InMemInputSplitTest.java
@@ -31,7 +31,7 @@ import org.apache.mahout.common.RandomUtils;
 import org.apache.mahout.classifier.df.mapreduce.inmem.InMemInputFormat.InMemInputSplit;
 import org.junit.Before;
 import org.junit.Test;
-
+@Deprecated
 public final class InMemInputSplitTest extends MahoutTestCase {
 
   private Random rng;

http://git-wip-us.apache.org/repos/asf/mahout/blob/1ffa3a46/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/PartialBuilderTest.java
----------------------------------------------------------------------
diff --git a/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/PartialBuilderTest.java
b/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/PartialBuilderTest.java
index 3903c33..2821034 100644
--- a/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/PartialBuilderTest.java
+++ b/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/PartialBuilderTest.java
@@ -38,7 +38,7 @@ import org.apache.mahout.classifier.df.mapreduce.MapredOutput;
 import org.apache.mahout.classifier.df.node.Leaf;
 import org.apache.mahout.classifier.df.node.Node;
 import org.junit.Test;
-
+@Deprecated
 public final class PartialBuilderTest extends MahoutTestCase {
 
   private static final int NUM_MAPS = 5;

http://git-wip-us.apache.org/repos/asf/mahout/blob/1ffa3a46/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/Step1MapperTest.java
----------------------------------------------------------------------
diff --git a/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/Step1MapperTest.java
b/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/Step1MapperTest.java
index a4c1bfd..c5aec7f 100644
--- a/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/Step1MapperTest.java
+++ b/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/Step1MapperTest.java
@@ -35,7 +35,7 @@ import org.apache.mahout.common.MahoutTestCase;
 import org.easymock.Capture;
 import org.easymock.CaptureType;
 import org.junit.Test;
-
+@Deprecated
 public final class Step1MapperTest extends MahoutTestCase {
 
   /**

http://git-wip-us.apache.org/repos/asf/mahout/blob/1ffa3a46/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/TreeIDTest.java
----------------------------------------------------------------------
diff --git a/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/TreeIDTest.java
b/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/TreeIDTest.java
index d3c30d4..c4beeaf 100644
--- a/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/TreeIDTest.java
+++ b/mr/src/test/java/org/apache/mahout/classifier/df/mapreduce/partial/TreeIDTest.java
@@ -22,7 +22,7 @@ import java.util.Random;
 import org.apache.mahout.common.MahoutTestCase;
 import org.apache.mahout.common.RandomUtils;
 import org.junit.Test;
-
+@Deprecated
 public final class TreeIDTest extends MahoutTestCase {
 
   @Test

http://git-wip-us.apache.org/repos/asf/mahout/blob/1ffa3a46/mr/src/test/java/org/apache/mahout/classifier/df/node/NodeTest.java
----------------------------------------------------------------------
diff --git a/mr/src/test/java/org/apache/mahout/classifier/df/node/NodeTest.java b/mr/src/test/java/org/apache/mahout/classifier/df/node/NodeTest.java
index 236a2e0..1300926 100644
--- a/mr/src/test/java/org/apache/mahout/classifier/df/node/NodeTest.java
+++ b/mr/src/test/java/org/apache/mahout/classifier/df/node/NodeTest.java
@@ -30,7 +30,7 @@ import org.apache.mahout.common.MahoutTestCase;
 import org.apache.mahout.common.RandomUtils;
 import org.junit.Before;
 import org.junit.Test;
-
+@Deprecated
 public final class NodeTest extends MahoutTestCase {
 
   private Random rng;

http://git-wip-us.apache.org/repos/asf/mahout/blob/1ffa3a46/mr/src/test/java/org/apache/mahout/classifier/df/split/DefaultIgSplitTest.java
----------------------------------------------------------------------
diff --git a/mr/src/test/java/org/apache/mahout/classifier/df/split/DefaultIgSplitTest.java
b/mr/src/test/java/org/apache/mahout/classifier/df/split/DefaultIgSplitTest.java
index c5eb635..94d0ad9 100644
--- a/mr/src/test/java/org/apache/mahout/classifier/df/split/DefaultIgSplitTest.java
+++ b/mr/src/test/java/org/apache/mahout/classifier/df/split/DefaultIgSplitTest.java
@@ -26,7 +26,7 @@ import org.apache.mahout.classifier.df.data.DataLoader;
 import org.apache.mahout.classifier.df.data.Dataset;
 import org.apache.mahout.classifier.df.data.Utils;
 import org.junit.Test;
-
+@Deprecated
 public final class DefaultIgSplitTest extends MahoutTestCase {
 
   private static final int NUM_ATTRIBUTES = 10;

http://git-wip-us.apache.org/repos/asf/mahout/blob/1ffa3a46/mr/src/test/java/org/apache/mahout/classifier/df/split/RegressionSplitTest.java
----------------------------------------------------------------------
diff --git a/mr/src/test/java/org/apache/mahout/classifier/df/split/RegressionSplitTest.java
b/mr/src/test/java/org/apache/mahout/classifier/df/split/RegressionSplitTest.java
index dbd1ef7..9c5893a 100644
--- a/mr/src/test/java/org/apache/mahout/classifier/df/split/RegressionSplitTest.java
+++ b/mr/src/test/java/org/apache/mahout/classifier/df/split/RegressionSplitTest.java
@@ -24,7 +24,7 @@ import org.apache.mahout.classifier.df.data.DescriptorException;
 import org.apache.mahout.classifier.df.data.conditions.Condition;
 import org.apache.mahout.common.MahoutTestCase;
 import org.junit.Test;
-
+@Deprecated
 public final class RegressionSplitTest extends MahoutTestCase {
 
   private static Data[] generateTrainingData() throws DescriptorException {

http://git-wip-us.apache.org/repos/asf/mahout/blob/1ffa3a46/mr/src/test/java/org/apache/mahout/classifier/df/tools/VisualizerTest.java
----------------------------------------------------------------------
diff --git a/mr/src/test/java/org/apache/mahout/classifier/df/tools/VisualizerTest.java b/mr/src/test/java/org/apache/mahout/classifier/df/tools/VisualizerTest.java
index eacce36..aa15410 100644
--- a/mr/src/test/java/org/apache/mahout/classifier/df/tools/VisualizerTest.java
+++ b/mr/src/test/java/org/apache/mahout/classifier/df/tools/VisualizerTest.java
@@ -37,7 +37,7 @@ import java.text.DecimalFormat;
 import java.util.List;
 import java.util.Random;
 import java.util.ArrayList;
-
+@Deprecated
 public final class VisualizerTest extends MahoutTestCase {
   
   private static final char DECIMAL_SEPARATOR =

http://git-wip-us.apache.org/repos/asf/mahout/blob/1ffa3a46/src/conf/driver.classes.default.props
----------------------------------------------------------------------
diff --git a/src/conf/driver.classes.default.props b/src/conf/driver.classes.default.props
index cc57f1f..cb37efb 100644
--- a/src/conf/driver.classes.default.props
+++ b/src/conf/driver.classes.default.props
@@ -40,8 +40,6 @@ org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver =
streami
 #new bayes
 org.apache.mahout.classifier.naivebayes.training.TrainNaiveBayesJob = trainnb : Train the
Vector-based Bayes classifier
 org.apache.mahout.classifier.naivebayes.test.TestNaiveBayesDriver = testnb : Test the Vector-based
Bayes classifier
-org.apache.mahout.classifier.df.mapreduce.BuildForest = buildforest : Build the random forest
classifier
-org.apache.mahout.classifier.df.mapreduce.TestForest = testforest : Test the random forest
classifier
 
 #SGD
 org.apache.mahout.classifier.sgd.TrainLogistic = trainlogistic : Train a logistic regression
using stochastic gradient descent


Mime
View raw message