开源软件名称(OpenSource Name):microsoft/SynapseML开源软件地址(OpenSource Url):https://github.com/microsoft/SynapseML开源编程语言(OpenSource Language):Scala 70.3%开源软件介绍(OpenSource Introduction):Synapse Machine LearningSynapseML (previously MMLSpark) is an open source library to simplify the creation of scalable machine learning pipelines. SynapseML builds on Apache Spark and SparkML to enable new kinds of machine learning, analytics, and model deployment workflows. SynapseML adds many deep learning and data science tools to the Spark ecosystem, including seamless integration of Spark Machine Learning pipelines with the Open Neural Network Exchange (ONNX), LightGBM, The Cognitive Services, Vowpal Wabbit, and OpenCV. These tools enable powerful and highly-scalable predictive and analytical models for a variety of datasources. SynapseML also brings new networking capabilities to the Spark Ecosystem. With the HTTP on Spark project, users can embed any web service into their SparkML models. For production grade deployment, the Spark Serving project enables high throughput, sub-millisecond latency web services, backed by your Spark cluster. SynapseML requires Scala 2.12, Spark 3.2+, and Python 3.6+. See the API documentation for Scala and for PySpark.
Features
Documentation and ExamplesFor quickstarts, documentation, demos, and examples please see our website. Setup and installationFirst select the correct platform that you are installing SynapseML into:
Synapse AnalyticsIn Azure Synapse notebooks please place the following in the first cell of your notebook. For Spark 3.2 Pools:
For Spark 3.1 Pools:
To install at the pool level instead of the notebook level add the spark properties listed above to the pool configuration. DatabricksTo install SynapseML on the Databricks cloud, create a new library from Maven coordinates in your workspace. For the coordinates use: Finally, ensure that your Spark cluster has at least Spark 3.2 and Scala 2.12. If you encounter Netty dependency issues please use DBR 10.1. You can use SynapseML in both your Scala and PySpark notebooks. To get started with our example notebooks import the following databricks archive:
Python StandaloneTo try out SynapseML on a Python (or Conda) installation you can get Spark
installed via pip with import pyspark
spark = pyspark.sql.SparkSession.builder.appName("MyApp") \
.config("spark.jars.packages", "com.microsoft.azure:synapseml_2.12:0.10.0") \
.getOrCreate()
import synapse.ml Spark SubmitSynapseML can be conveniently installed on existing Spark clusters via the
spark-shell --packages com.microsoft.azure:synapseml_2.12:0.10.0
pyspark --packages com.microsoft.azure:synapseml_2.12:0.10.0
spark-submit --packages com.microsoft.azure:synapseml_2.12:0.10.0 MyApp.jar SBTIf you are building a Spark application in Scala, add the following lines to
your libraryDependencies += "com.microsoft.azure" % "synapseml_2.12" % "0.10.0" Apache Livy and HDInsightTo install SynapseML from within a Jupyter notebook served by Apache Livy the following configure magic can be used. You will need to start a new session after this configure cell is executed. Excluding certain packages from the library may be necessary due to current issues with Livy 0.5.
DockerThe easiest way to evaluate SynapseML is via our pre-built Docker container. To do so, run the following command: docker run -it -p 8888:8888 -e ACCEPT_EULA=yes mcr.microsoft.com/mmlspark/release Navigate to http://localhost:8888/ in your web browser to run the sample notebooks. See the documentation for more on Docker use.
R (Beta)To try out SynapseML using the R autogenerated wrappers see our instructions. Note: This feature is still under development and some necessary custom wrappers may be missing. C# (.NET)To try out SynapseML with .NET, please follow the .NET Installation Guide.
Please note that some classes including the Building from sourceSynapseML has recently transitioned to a new build infrastructure. For detailed developer docs please see the Developer Readme If you are an existing synapsemldeveloper, you will need to reconfigure your development setup. We now support platform independent development and better integrate with intellij and SBT. If you encounter issues please reach out to our support email! PapersLearn More
Contributing & feedbackThis project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments. See CONTRIBUTING.md for contribution guidelines. To give feedback and/or report an issue, open a GitHub Issue. Other relevant projectsApache®, Apache Spark, and Spark® are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论