Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix simple typo, enviroment -> environment #348

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dist/synaptic.js
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ var Neuron = function () {
_createClass(Neuron, [{
key: 'activate',
value: function activate(input) {
// activation from enviroment (for input neurons)
// activation from environment (for input neurons)
if (typeof input != 'undefined') {
this.activation = input;
this.derivative = 0;
Expand Down Expand Up @@ -1201,7 +1201,7 @@ var Neuron = function () {
// whether or not this neuron is in the output layer
var isOutput = typeof target != 'undefined';

// output neurons get their error from the enviroment
// output neurons get their error from the environment
if (isOutput) this.error.responsibility = this.error.projected = target - this.activation; // Eq. 10

else // the rest of the neuron compute their error responsibilities by backpropagation
Expand Down Expand Up @@ -3045,4 +3045,4 @@ exports.default = Hopfield;

/***/ })
/******/ ]);
});
});
6 changes: 3 additions & 3 deletions dist/synaptic.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ var Neuron = function () {
_createClass(Neuron, [{
key: 'activate',
value: function activate(input) {
// activation from enviroment (for input neurons)
// activation from environment (for input neurons)
if (typeof input != 'undefined') {
this.activation = input;
this.derivative = 0;
Expand Down Expand Up @@ -1201,7 +1201,7 @@ var Neuron = function () {
// whether or not this neuron is in the output layer
var isOutput = typeof target != 'undefined';

// output neurons get their error from the enviroment
// output neurons get their error from the environment
if (isOutput) this.error.responsibility = this.error.projected = target - this.activation; // Eq. 10

else // the rest of the neuron compute their error responsibilities by backpropagation
Expand Down Expand Up @@ -3045,4 +3045,4 @@ exports.default = Hopfield;

/***/ })
/******/ ]);
});
});
6 changes: 3 additions & 3 deletions src/Neuron.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default class Neuron {

// activate the neuron
activate(input) {
// activation from enviroment (for input neurons)
// activation from environment (for input neurons)
if (typeof input != 'undefined') {
this.activation = input;
this.derivative = 0;
Expand Down Expand Up @@ -142,7 +142,7 @@ export default class Neuron {
// whether or not this neuron is in the output layer
var isOutput = typeof target != 'undefined';

// output neurons get their error from the enviroment
// output neurons get their error from the environment
if (isOutput)
this.error.responsibility = this.error.projected = target - this.activation; // Eq. 10

Expand Down Expand Up @@ -768,4 +768,4 @@ export default class Neuron {
connections: connections
}
}
}
}