Coder Social home page Coder Social logo

bidmach_spark's People

Contributors

aykamko avatar jamesjia94 avatar jcanny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bidmach_spark's Issues

Incompatibilities / versioning issues wrt BIDMat?

The compilation errors below refer to code that is not checked in (and never has been) to BIDMat

package
[warn] Credentials file /Users/steve/.ivy2/.credentials does not exist
[info] Compiling 3 Scala sources to /git/BIDMach_Spark/target/scala-2.11/classes...
[error] /git/BIDMach_Spark/src/main/scala/BIDMach/RunOnSpark.scala:107: value combineModels is not a member of BIDMach.models.Model
[error] l.model.combineModels(ipass, r.model)
[error] ^
[error] /git/BIDMach_Spark/src/main/scala/BIDMach/RunOnSpark.scala:116: value updateM is not a member of BIDMach.Learner
[error] reduced_learner.updateM(0)
[error] ^
[error] /git/BIDMach_Spark/src/main/scala/BIDMach/RunOnSpark.scala:130: value updateM is not a member of BIDMach.Learner
[error] reduced_learner.updateM(i)
[error] ^
[error] three errors found
error Compilation failed
[error] Total time: 1 s, completed May 11, 2016 9:25:53 AM

Does HDFSIO load .smat file from HDFS directly?

Similar to mat = HMat.loadMat("/tmp/A.smat"), if "/tmp/A.smat" is located in HDFS, can we load it directly? i.e. something like mat = hdfsio.readMat("hdfs:///myhostname/tmp/A.smat").
From the code, readMat/Mats only read from sequencefiles, not .xmat directly. Am I right?

BIDMAT.SerText not found

Where does this BIDMat.SerText class come from?
I can't find reference to it any where in the BIDMat repo.

 error: object SerText is not a member of package BIDMat
 import BIDMat.SerText

How to build this on the BIDMach supplied AMI?

I have the suggested AMI up and running with BIDMach. Cloned this repo into it but do not know: (a) where is HADOOP_HOME and (b) getting lots of compilation errors

./sbt package

[ec2-user@ip-10-217-152-46 BIDMach_Spark]$ ./sbt package
[info] Set current project to BIDMatHDFS (in build file:/opt/BIDMach_Spark/)
[warn] Credentials file /home/ec2-user/.ivy2/.credentials does not exist
[info] Compiling 3 Scala sources to /opt/BIDMach_Spark/target/scala-2.11/classes...
[error] /opt/BIDMach_Spark/src/main/scala/BIDMach/RunOnSpark.scala:3: object IteratorSource is not a member of package BIDMach.datasources
[error] import BIDMach.datasources.IteratorSource
[error] ^

(52 errors)

Note that I did already copy the BIDMach.jar and BIDMat.jar to the lib dir.

$ ll lib
total 3824
-rwxrwxr-x 1 ec2-user ec2-user 134344 Feb 24 2015 lz4-1.1.2.jar
-rwxr-xr-x 1 ec2-user ec2-user 1756333 Feb 24 2015 BIDMat.jar
-rwxr-xr-x 1 ec2-user ec2-user 871121 Feb 24 2015 BIDMach.jar
-rw-r--r-- 1 ec2-user ec2-user 1141129 May 12 23:03 sbt-launch.jar
drwxr-xr-x 9 ec2-user ec2-user 4096 May 12 23:06 ..
drwxr-xr-x 2 ec2-user ec2-user 4096 May 12 23:11 .

compile error when doing : ./sbt package

[error] /home/ubuntu/Downloads/BIDMach_Spark/src/main/scala/BIDMat/MatIO.scala:31: type mismatch;
[error] found : java.io.DataOutput
[error] required: String
[error] case fM:FMat => {out.writeInt(MatTypeTag.FMat); HMat.saveFMat(out, fM);}
[error]

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.