Coder Social home page Coder Social logo

Julia interface about somoclu HOT 5 CLOSED

peterwittek avatar peterwittek commented on July 18, 2024
Julia interface

from somoclu.

Comments (5)

peterwittek avatar peterwittek commented on July 18, 2024 1

According to this issue, there is a hope that when Julia 0.5 is out, Cxx.jl can be installed as a normal package. This release is due at the end of July, so I can look into this in August.

from somoclu.

peterwittek avatar peterwittek commented on July 18, 2024 1

The Julia interface was migrated to a separate repo to comply with Julia package distribution methods. In principle, it works.

from somoclu.

peterwittek avatar peterwittek commented on July 18, 2024

The main C++ interface, Cxx,jl, still requires a development version and the source code of Julia to work, so it is better to wait until this interface matures.

from somoclu.

psilva07 avatar psilva07 commented on July 18, 2024

+1 for this!

from somoclu.

peterwittek avatar peterwittek commented on July 18, 2024

An extremely rudimentary version of the interface is now available by commit ba2ec3b. The following code works, albeit it is not particularly useful:

import Somoclu.train

nSomX, nSomY = 40, 20
nDimensions, nVectors = 3, 20
data = Array{Float32}(nVectors*nDimensions)
codebook = Array{Float32}(nSomX*nSomY*nDimensions)
bmus = Array{Cint}(nVectors*2)
uMatrix = Array{Float32}(nSomX*nSomY)

train(data, codebook, bmus, uMatrix, nDimensions, nVectors, nSomX, nSomY)

Build it by

./configure --without-cuda --without-mpi
make julia

I hope to get it in shape by the end of the month.

from somoclu.

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.