agileartificialintelligence / agileartificialintelligence.github.io Goto Github PK
View Code? Open in Web Editor NEWOutline of the Agile Artificial Intelligence book
Home Page: http://AgileArtificialIntelligence.github.io
Outline of the Agile Artificial Intelligence book
Home Page: http://AgileArtificialIntelligence.github.io
Check the assertion in test of the Class NeuronLayer and NNetwork
By Yvan Guemkam
At the end of section exercise, you state Create a new test, called testSmallExample, that tests that feeding our perceptron p with different values (e.g., -2 and 2 gives 0 as result)
.
It is not clear what you mean for the user to do.
Should the method be given a values parameter, in which case it should be named testSmallExample:?
Or should it instead be the body of the original testSmallExample method that should be augmented with additional sub-tests, e.g.,
testSmallExample
| p result |
p := Neuron new.
p weights: #(1 2).
p bias: -2.
result := p feed: #(5 2).
self assert: result equals: 1.
result := p feed: #(-2 2)
self assert: result equals: 0.
?
A few more observations on Chapter 2 requiring deeper investigation:
#digitalComparator:
?! Sacrilege ;-)By Sean
But i have another problem, when i launch tests on NeuronLayer and NNetwork some assertions fail.
The value #(0.97 ......) not be reached with only 10000 epoch
By Yvan Guemkam
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.