Skip to content
#

databricks

Here are 134 public repositories matching this topic...

mmlspark
brunocous
brunocous commented Sep 2, 2020

I have a simple regression task (using a LightGBMRegressor) where I want to penalize negative predictions more than positive ones. Is there a way to achieve this with the default regression LightGBM objectives (see https://lightgbm.readthedocs.io/en/latest/Parameters.html)? If not, is it somehow possible to define (many example for default LightGBM model) and pass a custom regression objective?

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.