Skip to content
#

databricks

Here are 132 public repositories matching this topic...

mmlspark
ttpro1995
ttpro1995 commented Nov 13, 2019

Version

com.microsoft.ml.spark:mmlspark_2.11:jar:0.18.1
spark= 2.4.3
scala=2.11.12

data (csv with header) https://gist.github.com/ttpro1995/69051647a256af912803c9a16040f43a

download data and save as csv file, put into folder /data/public/HIGGS/higgs.test.predictioncsv

val data = spark.read.option("header","true").option("inferSchema", "true").csv("/data/public/HIGGS
suhsteve
suhsteve commented Aug 19, 2020

APIs

SparkSession

  • python def getActiveSession(cls)
  • scala def executeCommand(runner: String, command: String, options: Map[String, String]): DataFrame

DataFrame

  • python def transform(self, func)
  • python def tail(self, num)
    scala def tail(n: Int): Array[T]
  • scala def printSchema(level: Int): Unit
  • scala def explain(mode: String): U

Improve this page

Add a description, image, and links to the databricks topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the databricks topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.