Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ Kwesi Public

Computational graph engine for machine learning

License

outlace/Kwesi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kwesi v.0.1 alpha

Computational graph library for machine learning in Julia

Usage

Here's an implementation of this computational graph (source)

using Kwesi

function addone(b)
  b + 1
end
function addxy(x,y)
  x + y
end
function multxy(x,y)     
  x * y
end

a = VarNode("a", [2])
b = VarNode("b", [1])
c = OpsNode(addxy, [0], [a,b])
d = OpsNode(addone, [0], [b])
e = OpsNode(multxy, [0], [c,d])
println(runNode(e))
println("e state is " * string(e.state))
Real[6]
e state is Real[6]

About

Computational graph engine for machine learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages