GithubHelp home page GithubHelp logo

Having troubles adding Breeze about almond HOT 9 CLOSED

almond-sh avatar almond-sh commented on August 22, 2024
Having troubles adding Breeze

from almond.

Comments (9)

mullerhai avatar mullerhai commented on August 22, 2024 1

import $ivy.org.scalanlp::breeze:0.13.1
import $ivy.org.scalanlp::breeze-natives:0.13.1
like this

from almond.

alexarchambault avatar alexarchambault commented on August 22, 2024

You should follow the instructions in the updated README, these are more straightforward I think.

You should launch a jupyter notebook server then, create a new Scala 2.1x notebook, and add breeze directly from the notebook, like illustrated at https://gist.github.com/alexarchambault/6f7eeffef3ecdf353992.

from almond.

bushmanov avatar bushmanov commented on August 22, 2024

It works, thanks!

from almond.

mgorjis avatar mgorjis commented on August 22, 2024

When I am trying to run the first block:

classpath.add(
 "org.scalanlp" %% "breeze" % "0.11.2",
 "org.scalanlp" %% "breeze-natives" % "0.11.2"
 )

I see this error in the jupyter:

Compilation Failed
 Main.scala:49: not found: value classpath
 classpath.add(
 ^

And thus I can't load breeze. Do you have any idea? Thank you.

from almond.

tinastefaniewenzel avatar tinastefaniewenzel commented on August 22, 2024

Same error here. I correctly specified the build.sbt file, ran sbt update and can import it from the Terminal (after runningsbt console) and I can also import it in IntelliJ ideas.

But I get a not found: value classpath error when trying to import it from jupyter with

classpath.add(
  "org.scalanlp" %% "breeze" % "0.12",
  "org.scalanlp" %% "breeze-natives" % "0.12"
)

from almond.

alpanchino avatar alpanchino commented on August 22, 2024

When I am trying to run the first block:

classpath.add(
"org.scalanlp" %% "breeze" % "0.11.2",
"org.scalanlp" %% "breeze-natives" % "0.11.2"
)

I also have this issue:

Compilation Failed
Main.scala:49: not found: value classpath
classpath.add(
^

from almond.

Roshrini avatar Roshrini commented on August 22, 2024

I am also having the same issue. Any advice will be helpful.

from almond.

benqua avatar benqua commented on August 22, 2024

Running on the same issue (not found: value classpath)
@Roshrini how did you solve it? I see you wrote a few scala notebooks ( https://github.com/Roshrini/mxnet-notebooks/blob/scala-notebooks/scala/tutorials/predict_imagenet_scala.ipynb ) so you obviously managed to solve this issue. Can you help?

from almond.

Roshrini avatar Roshrini commented on August 22, 2024

Hi @benqua You can see the instructions related to jupyter-scala installation here in my Readme file: https://github.com/Roshrini/mxnet-notebooks/blob/scala-notebooks/README.md I used version 0.3.x (NOT latest from master) to get this classpath command working.

from almond.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.