This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.log4j.{Level, LogManager} | |
import org.apache.spark.{HashPartitioner, SparkConf} | |
import org.apache.spark.rdd.RDD | |
import org.apache.spark.streaming._ | |
/** | |
* This is a minimum example for word count using Spark streaming. | |
* The input stream is simply just one word per line from a folder | |
* which may contains multiple files and new files may be added to | |
* the folder as the updated data as a stream source |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package edu.uta.futureye.tutorial; | |
import static edu.uta.futureye.function.FMath.C0; | |
import static edu.uta.futureye.function.FMath.grad; | |
import static edu.uta.futureye.function.FMath.x; | |
import static edu.uta.futureye.function.FMath.y; | |
import java.util.HashMap; | |
import edu.uta.futureye.algebra.intf.Matrix; |