salesforce / TransmogrifAI

TransmogrifAI (pronounced trăns-mŏgˈrə-fī) is an AutoML library for building modular, reusable, strongly typed machine learning workflows on Apache Spark with minimal hand-tuning
https://transmogrif.ai
BSD 3-Clause "New" or "Revised" License
2.24k stars 392 forks source link

Unable to import import com.salesforce.op._ on Spark Magic (Jupyter Notebook) #488

Closed ahlag closed 4 years ago

ahlag commented 4 years ago

I was trying to import the transmogrifyAI for use on Spark Magic with Spark. However, the object salesforce couldn't be identified as a member of package com. I built the packages with ./gradlew core:shadowJar.

<console>:26: error: object salesforce is not a member of package com
       import com.salesforce.transmogrifai
tovbinm commented 4 years ago

We provided some instructions to use TransmogrifAI from Jupyter notebooks here - https://docs.transmogrif.ai/en/stable/examples/Running-from-Jupyter-Notebook.html

We recommend to install it from Maven as follows:

image

ahlag commented 4 years ago

Thank you! It worked.