Global AI and Data Science

 View Only
  • 1.  How To Combine Brunel with DSX

    Posted Fri September 28, 2018 05:44 AM
    Hello Folks,

    I am using IBM's Data Science Experience (DSX) and want to show some visualizations with Scala.

    According to - visualization I have 3 options, Pixiedust, Brunel and Lightning.

    As far as I saw Lightning is a WIP and requires a server(?) to run the visualizations, Pixiedust's support of Scala is only from inside a Jupyter notebook so I am left with Brunel.

    I follow the instructions from Brunel's Github and run the following command to add Brunel to the notebook

    %AddJar -magic
    I also tried adding the -f flag and changing Brunel's version to 2.3 following some answers I found online but I am getting the same error:

    Starting download from
    Finished download of spark-kernel--all-2.3.jar

    Magic failed to execute with error:
    Any suggestions what might fix the problem for data science? or maybe where to look for the rest of the log?

    P.S I have no particular for Brunel and if there is a clean way to show other visualization in DSX I would gladly use it.

    Nicole wells


  • 2.  RE: How To Combine Brunel with DSX

    Posted Wed October 03, 2018 03:54 PM
    Hi Nicole. You can use Brunel in Pixiedust. Is that what you're trying to do? If so I may be able to help. If you're trying to use Brunel in a pure Scala notebook (with no Python), sorry I don't know how to do that.


  • 3.  RE: How To Combine Brunel with DSX

    Posted Wed October 03, 2018 03:56 PM
    But you should know that Pixiedust allows you to use Scala code in a Python notebook:


  • 4.  RE: How To Combine Brunel with DSX

    Posted Thu October 04, 2018 12:11 PM
    I'm not sure about Brunel and Scala in DSX, but I do have this DSX / Watson Studio notebook I can share that uses Brunel and Python.  In it, I created 3 different visualizations with Brunel - search the page for "brunel" to quickly find them.

    Analyzing the Auto MPG Data Set - IBM Watson

    Joseph True

  • 5.  RE: How To Combine Brunel with DSX

    Posted Tue September 19, 2023 10:58 AM


    It seems like you're encountering an issue adding Brunel to your IBM Data Science Experience (DSX) notebook in Scala. To resolve this, try the following:

    1. Ensure compatibility with your DSX environment.
    2. Check for library dependencies and add any required JAR files.
    3. Verify the syntax for adding JARs in DSX.
    4. Consider using alternative visualization libraries like Matplotlib or Plotly Scala.
    5. Seek help from IBM DSX support or community forums.
    6. Restart the notebook kernel.
    7. Check DSX logs for more details on the error.

    You can also check Analyzing the Auto MPG Data Set - IBM WatsonGolang Training

    Hope it helps you.

    Thank you.

    steve diaz Developer