fontinalis / fonet Goto Github PK
View Code? Open in Web Editor NEWfonet is a deep neural network package for Go.
License: MIT License
fonet is a deep neural network package for Go.
License: MIT License
Examples and README examples need updating to fix Travis builds, and a few other function docs need changing in order to raise report card back to A+
Will be raising a PR for this
/*Geometric sequence
/
func PrepareTrainingData_dengbishulie(n int) [][][]float64 {
traindatas := make([][][]float64,0)
for i:=0;i<n;i++{
for j:=0;j<n;j++{
traindatas = append(traindatas,[][]float64{[]float64{float64(i),float64(j)},[]float64{float64(ij)}})
}
}
fmt.Printf("%++v",traindatas)
return traindatas
}
/main/
n,err := fonet.NewNetwork([]int{2, 1, 1},fonet.LeakyReLU)
if err != nil {
panic(err.Error())
}
trainingdata := PrepareTrainingData_dengbishulie(10)
n.Train(trainingdata,100,0.95,true)
fmt.Println(n.Predict([]float64{2,6}))
------output is NaN
why???
Please be aware of the following warning on Travis.org:
Please be aware travis-ci.org will be shutting down by end of May 2021. Please consider migrating to travis-ci.com.
I'm trying to work out if this is intended behaviour, whatever data I train a network with, the output is always between 0 and 1, even if that does not match the training data.
Please see #1 as further explanation.
Have I misunderstood the scope of the networks? Is this behaviour expected? If I needed a network which was able to output a float of arbitrary size, is this possible with this package?
Many thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.