[
https://issues.apache.org/jira/browse/MAHOUT-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981490#comment-15981490
]
ASF GitHub Bot commented on MAHOUT-1962:
----------------------------------------
Github user rawkintrevo commented on a diff in the pull request:
https://github.com/apache/mahout/pull/300#discussion_r112998796
--- Diff:
spark/src/test/scala/org/apache/mahout/math/algorithms/regression/OlsSparkTestSuite.scala
---
@@ -0,0 +1,80 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.mahout.math.algorithms.regression
+
+import org.apache.mahout.math.regression._
+import org.apache.mahout.sparkbindings.test.DistributedSparkSuite
+import org.apache.mahout.test.MahoutSuite
+import org.scalatest.FunSuite
+
+
+class OlsSparkTestSuite extends FunSuite with MahoutSuite with
DistributedSparkSuite with OrdinaryLeastSquaresTest {
+ // Common tests located in OrdinaryLeastSquaresTest.scala
+ // The test below is common to spark as I created an random RDD for
larger size
+ test("Simple Medium Model2 - Spark Specific") {
--- End diff --
Never mind- build is failing on this.
Keep the math tests in the math suite. They will be tested on spark as
well as others.
> Add F-test to Linear Regression Fitness Tests
> ----------------------------------------------
>
> Key: MAHOUT-1962
> URL: https://issues.apache.org/jira/browse/MAHOUT-1962
> Project: Mahout
> Issue Type: Improvement
> Components: Algorithms
> Affects Versions: 0.12.0, 0.12.1, 0.13.0, 0.12.2
> Reporter: Dustin VanStee
> Priority: Minor
> Labels: beginner
> Fix For: 0.13.1
>
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> This update will modify
> org.apache.mahout.math.algorithms.regression.tests.FittnessTests.scala and
> add an overall Ftest for significance of one or more parameters being not
> equal to zero.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)