首页 > 代码库 > CNN

CNN

import org.apache.log4j.{Level,Logger}
import org.apache.spark.{SparkConf,SparkContext}
import org.apache.spark.storage.StorageLevel
import org.apache.spark.mllib.util.MLUtils
import org.apache.spark.mllib.linalg.{Vector,Vectors}
import org.apache.spark.mllib.linalg.distributed.RowMatrix
import org.apache.spark.mllib.regression.LabeledPoint
import breeze.linalg.{  
  Matrix => BM,  
  CSCMatrix => BSM,  
  DenseMatrix => BDM,  
  Vector => BV,  
  DenseVector => BDV,  
  SparseVector => BSV,  
  axpy => brzAxpy,  
  svd => brzSvd,
  max => Bmax,
  min => Bmin,
  sum => Bsum
}
import scala.collection.mutable.ArrayBuffer
import NN.NeuralNet
import util.RandSampleData

CNN