spark

所属分类:Java编程
开发工具:Java
文件大小:18791KB
下载次数:6
上传日期:2016-09-20 12:37:54
上 传 者齐哥
说明:  MLlib 是spark 机器学习的库,它的目标是使机器学习算法能更容易上手。这个库包含通用学习算法和工具集,包括:分类,回归,聚类,协同过滤,降维,以及深层优化策略和上层管道API(pipeline).
(MLlib is spark machine learning library, which aims to make a machine learning algorithm can be more easy to use. This library contains a common set of learning algorithms and tools, including: classification, regression, clustering, collaborative filtering, dimension reduction, as well as deep optimization strategies and the upper pipe API (pipeline).)

文件列表:
.travis.yml (1766, 2016-09-19)
CONTRIBUTING.md (1045, 2016-09-19)
LICENSE (17811, 2016-09-19)
NOTICE (24749, 2016-09-19)
R (0, 2016-09-19)
R\DOCUMENTATION.md (474, 2016-09-19)
R\WINDOWS.md (2291, 2016-09-19)
R\check-cran.sh (1808, 2016-09-19)
R\create-docs.sh (1946, 2016-09-19)
R\install-dev.bat (1208, 2016-09-19)
R\install-dev.sh (2120, 2016-09-19)
R\log4j.properties (1300, 2016-09-19)
R\pkg (0, 2016-09-19)
R\pkg\.Rbuildignore (58, 2016-09-19)
R\pkg\.lintr (237, 2016-09-19)
R\pkg\DESCRIPTION (1320, 2016-09-19)
R\pkg\NAMESPACE (9278, 2016-09-19)
R\pkg\R (0, 2016-09-19)
R\pkg\R\DataFrame.R (109442, 2016-09-19)
R\pkg\R\RDD.R (55255, 2016-09-19)
R\pkg\R\SQLContext.R (27665, 2016-09-19)
R\pkg\R\WindowSpec.R (7497, 2016-09-19)
R\pkg\R\backend.R (4071, 2016-09-19)
R\pkg\R\broadcast.R (2984, 2016-09-19)
R\pkg\R\client.R (2698, 2016-09-19)
R\pkg\R\column.R (8720, 2016-09-19)
R\pkg\R\context.R (9852, 2016-09-19)
R\pkg\R\deserialize.R (6339, 2016-09-19)
R\pkg\R\functions.R (99507, 2016-09-19)
R\pkg\R\generics.R (37929, 2016-09-19)
R\pkg\R\group.R (8083, 2016-09-19)
R\pkg\R\install.R (10748, 2016-09-19)
R\pkg\R\jobj.R (3432, 2016-09-19)
... ...

# Apache Spark Spark is a fast and general cluster computing system for Big Data. It provides high-level APIs in Scala, Java, Python, and R, and an optimized engine that supports general computation graphs for data analysis. It also supports a rich set of higher-level tools including Spark SQL for SQL and DataFrames, MLlib for machine learning, GraphX for graph processing, and Spark Streaming for stream processing. ## Online Documentation You can find the latest Spark documentation, including a programming guide, on the [project web page](http://spark.apache.org/documentation.html) and [project wiki](https://cwiki.apache.org/confluence/display/SPARK). This README file only contains basic setup instructions. ## Building Spark Spark is built using [Apache Maven](http://maven.apache.org/). To build Spark and its example programs, run: build/mvn -DskipTests clean package (You do not need to do this if you downloaded a pre-built package.) You can build Spark using more than one thread by using the -T option with Maven, see ["Parallel builds in Maven 3"](https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3). More detailed documentation is available from the project site, at ["Building Spark"](http://spark.apache.org/docs/latest/building-spark.html). For developing Spark using an IDE, see [Eclipse](https://cwiki.apache.org/confluence/display/SPARK/Useful+Developer+Tools#UsefulDeveloperTools-Eclipse) and [IntelliJ](https://cwiki.apache.org/confluence/display/SPARK/Useful+Developer+Tools#UsefulDeveloperTools-IntelliJ). ## Interactive Scala Shell The easiest way to start using Spark is through the Scala shell: ./bin/spark-shell Try the following command, which should return 1000: scala> sc.parallelize(1 to 1000).count() ## Interactive Python Shell Alternatively, if you prefer Python, you can use the Python shell: ./bin/pyspark And run the following command, which should also return 1000: >>> sc.parallelize(range(1000)).count() ## Example Programs Spark also comes with several sample programs in the `examples` directory. To run one of them, use `./bin/run-example [params]`. For example: ./bin/run-example SparkPi will run the Pi example locally. You can set the MASTER environment variable when running examples to submit examples to a cluster. This can be a mesos:// or spark:// URL, "yarn" to run on YARN, and "local" to run locally with one thread, or "local[N]" to run locally with N threads. You can also use an abbreviated class name if the class is in the `examples` package. For instance: MASTER=spark://host:7077 ./bin/run-example SparkPi Many of the example programs print usage help if no params are given. ## Running Tests Testing first requires [building Spark](#building-spark). Once Spark is built, tests can be run using: ./dev/run-tests Please see the guidance on how to [run tests for a module, or individual tests](https://cwiki.apache.org/confluence/display/SPARK/Useful+Developer+Tools). ## A Note About Hadoop Versions Spark uses the Hadoop core library to talk to HDFS and other Hadoop-supported storage systems. Because the protocols have changed in different versions of Hadoop, you must build Spark against the same version that your cluster runs. Please refer to the build documentation at ["Specifying the Hadoop Version"](http://spark.apache.org/docs/latest/building-spark.html#specifying-the-hadoop-version) for detailed guidance on building for a particular distribution of Hadoop, including building for particular Hive and Hive Thriftserver distributions. ## Configuration Please refer to the [Configuration Guide](http://spark.apache.org/docs/latest/configuration.html) in the online documentation for an overview on how to configure Spark.

近期下载者

相关文件


收藏者