Skip to content

Commit e67b4ea

Browse files
committed
Moving around classes/packages [1]
1 parent 510e358 commit e67b4ea

40 files changed

+135
-126
lines changed

src/main/scala/io/github/mandar2812/dynaml/DynaML.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ object DynaML {
188188
|main(${(quotedArgs ++ quotedKwargs).mkString(", ")})
189189
|}
190190
""".stripMargin)
191-
}catch{
191+
} catch {
192192
case e: ArgParseException =>
193193
// For this semi-expected invalid-argument exception, chop off the
194194
// irrelevant bits of the stack trace to reveal only the part which

src/main/scala/io/github/mandar2812/dynaml/pipes/DynaMLPipe.scala renamed to src/main/scala/io/github/mandar2812/dynaml/DynaMLPipe.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ KIND, either express or implied. See the License for the
1616
specific language governing permissions and limitations
1717
under the License.
1818
* */
19-
package io.github.mandar2812.dynaml.pipes
19+
package io.github.mandar2812.dynaml
2020

2121
import breeze.linalg.DenseVector
2222
import io.github.mandar2812.dynaml.evaluation.RegressionMetrics
@@ -25,7 +25,7 @@ import io.github.mandar2812.dynaml.models.gp.AbstractGPRegressionModel
2525
import io.github.mandar2812.dynaml.optimization.{
2626
CoupledSimulatedAnnealing, GPMLOptimizer,
2727
GloballyOptWithGrad, GridSearch}
28-
import io.github.mandar2812.dynaml.utils
28+
import io.github.mandar2812.dynaml.pipes.{DataPipe, ParallelPipe, StreamDataPipe}
2929
import org.apache.log4j.Logger
3030

3131
import scala.collection.mutable.{MutableList => ML}

src/main/scala/io/github/mandar2812/dynaml/examples/AbottPowerPlant.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ package io.github.mandar2812.dynaml.examples
2020

2121
import breeze.linalg.{DenseMatrix, DenseVector}
2222
import com.quantifind.charts.Highcharts._
23+
import io.github.mandar2812.dynaml.DynaMLPipe
2324
import io.github.mandar2812.dynaml.evaluation.RegressionMetrics
2425
import io.github.mandar2812.dynaml.kernels.CovarianceFunction
2526
import io.github.mandar2812.dynaml.models.gp.GPNarXModel
2627
import io.github.mandar2812.dynaml.optimization.{GPMLOptimizer, GridSearch}
27-
import io.github.mandar2812.dynaml.pipes.{StreamDataPipe, DynaMLPipe, DataPipe}
28+
import io.github.mandar2812.dynaml.pipes.{DataPipe, StreamDataPipe}
2829
import org.apache.log4j.Logger
2930

3031
/**

src/main/scala/io/github/mandar2812/dynaml/examples/AbottPowerPlantNN.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ package io.github.mandar2812.dynaml.examples
2020

2121
import breeze.linalg.DenseVector
2222
import com.quantifind.charts.Highcharts._
23+
import io.github.mandar2812.dynaml.DynaMLPipe
2324
import io.github.mandar2812.dynaml.evaluation.RegressionMetrics
2425
import io.github.mandar2812.dynaml.models.neuralnets.{FFNeuralGraph, FeedForwardNetwork}
25-
import io.github.mandar2812.dynaml.pipes.{StreamDataPipe, DynaMLPipe, DataPipe}
26+
import io.github.mandar2812.dynaml.pipes.{DataPipe, StreamDataPipe}
2627
import org.apache.log4j.Logger
2728

2829
import scala.collection.mutable.{MutableList => ML}

src/main/scala/io/github/mandar2812/dynaml/examples/DaisyPowerPlant.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ package io.github.mandar2812.dynaml.examples
2020

2121
import breeze.linalg.{DenseMatrix, DenseVector}
2222
import com.quantifind.charts.Highcharts._
23+
import io.github.mandar2812.dynaml.DynaMLPipe
2324
import io.github.mandar2812.dynaml.evaluation.RegressionMetrics
2425
import io.github.mandar2812.dynaml.kernels.{CovarianceFunction, LocalSVMKernel}
2526
import io.github.mandar2812.dynaml.models.svm.DLSSVM
2627
import io.github.mandar2812.dynaml.optimization.{GPMLOptimizer, GridSearch}
27-
import io.github.mandar2812.dynaml.pipes.{StreamDataPipe, DynaMLPipe, DataPipe}
28+
import io.github.mandar2812.dynaml.pipes.{DataPipe, StreamDataPipe}
2829
import org.apache.log4j.Logger
2930

3031
/**

src/main/scala/io/github/mandar2812/dynaml/examples/LightCurveAGN.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ package io.github.mandar2812.dynaml.examples
2020

2121
import breeze.linalg.{DenseMatrix, DenseVector}
2222
import com.quantifind.charts.Highcharts._
23+
import io.github.mandar2812.dynaml.DynaMLPipe
2324
import io.github.mandar2812.dynaml.evaluation.RegressionMetrics
2425
import io.github.mandar2812.dynaml.kernels.CovarianceFunction
25-
import io.github.mandar2812.dynaml.models.gp.{GPTimeSeries, GPRegression, GPNarModel}
26+
import io.github.mandar2812.dynaml.models.gp.{GPNarModel, GPRegression, GPTimeSeries}
2627
import io.github.mandar2812.dynaml.optimization.{GPMLOptimizer, GridSearch}
27-
import io.github.mandar2812.dynaml.pipes.{DynaMLPipe, DataPipe}
28+
import io.github.mandar2812.dynaml.pipes.DataPipe
2829
import org.apache.log4j.Logger
2930

3031
/**

src/main/scala/io/github/mandar2812/dynaml/examples/SantaFeLaser.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ package io.github.mandar2812.dynaml.examples
2020

2121
import breeze.linalg.{DenseMatrix, DenseVector}
2222
import com.quantifind.charts.Highcharts._
23+
import io.github.mandar2812.dynaml.DynaMLPipe
2324
import io.github.mandar2812.dynaml.evaluation.RegressionMetrics
2425
import io.github.mandar2812.dynaml.kernels.CovarianceFunction
2526
import io.github.mandar2812.dynaml.models.gp.GPNarModel
2627
import io.github.mandar2812.dynaml.optimization.{GPMLOptimizer, GridSearch}
27-
import io.github.mandar2812.dynaml.pipes.{DynaMLPipe, DataPipe}
28+
import io.github.mandar2812.dynaml.pipes.DataPipe
2829
import org.apache.log4j.Logger
2930

3031
/**

src/main/scala/io/github/mandar2812/dynaml/examples/TestAdult.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ import java.io.File
2222

2323
import breeze.linalg.{DenseMatrix, DenseVector => BDV}
2424
import com.github.tototoshi.csv.CSVWriter
25+
import io.github.mandar2812.dynaml.DynaMLPipe
2526
import io.github.mandar2812.dynaml.evaluation.BinaryClassificationMetrics
2627
import org.apache.spark.mllib.regression.LabeledPoint
2728
import org.apache.spark.rdd.RDD
2829
import org.apache.spark.{SparkConf, SparkContext}
2930
import io.github.mandar2812.dynaml.kernels.{RBFKernel, SVMKernel}
30-
import io.github.mandar2812.dynaml.models.KernelizedModel
31+
import io.github.mandar2812.dynaml.models.{GLMPipe, KernelizedModel}
3132
import io.github.mandar2812.dynaml.models.lm.GeneralizedLinearModel
3233
import io.github.mandar2812.dynaml.models.svm.{KernelSparkModel, LSSVMSparkModel}
3334
import io.github.mandar2812.dynaml.pipes._

src/main/scala/io/github/mandar2812/dynaml/examples/TestCommitteeNNOmni.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ package io.github.mandar2812.dynaml.examples
2222

2323
import breeze.linalg.DenseVector
2424
import com.quantifind.charts.Highcharts._
25+
import io.github.mandar2812.dynaml.DynaMLPipe
2526
import io.github.mandar2812.dynaml.evaluation.RegressionMetrics
2627
import io.github.mandar2812.dynaml.models.neuralnets.{CommitteeNetwork, FFNeuralGraph}
27-
import io.github.mandar2812.dynaml.pipes.{DynaMLPipe, DataPipe}
28+
import io.github.mandar2812.dynaml.pipes.DataPipe
2829
import org.apache.log4j.Logger
2930

3031
/**

src/main/scala/io/github/mandar2812/dynaml/examples/TestGPHousing.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ under the License.
1919
package io.github.mandar2812.dynaml.examples
2020

2121
import breeze.linalg.{DenseMatrix, DenseVector}
22+
import io.github.mandar2812.dynaml.DynaMLPipe
2223
import io.github.mandar2812.dynaml.evaluation.RegressionMetrics
2324
import io.github.mandar2812.dynaml.kernels._
25+
import io.github.mandar2812.dynaml.models.GPRegressionPipe
2426
import io.github.mandar2812.dynaml.models.gp.GPRegression
2527
import io.github.mandar2812.dynaml.optimization.{GPMLOptimizer, GridSearch}
26-
import io.github.mandar2812.dynaml.pipes.{BifurcationPipe, DataPipe, DynaMLPipe, GPRegressionPipe}
28+
import io.github.mandar2812.dynaml.pipes.{BifurcationPipe, DataPipe}
2729

2830
/**
2931
* Created by mandar on 15/12/15.

0 commit comments

Comments
 (0)