From 6167d4f487ed5faa15759941500cada6c5f5c700 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 4 Sep 2020 06:20:18 +1000 Subject: [PATCH] docs: Fix simple typo, constrast -> contrast There is a small typo in README.md. Should read `contrast` rather than `constrast`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c3b6199..1f5b965 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Download the latest [brain.js](https://github.com/harthur/brain/tree/gh-pages). Use `train()` to train the network with an array of training data. The network has to be trained with all the data in bulk in one call to `train()`. The more training patterns, the longer it will probably take to train, but the better the network will be at classifiying new patterns. #### Data format -Each training pattern should have an `input` and an `output`, both of which can be either an array of numbers from `0` to `1` or a hash of numbers from `0` to `1`. For the [color constrast demo](http://harthur.github.com/brain/) it looks something like this: +Each training pattern should have an `input` and an `output`, both of which can be either an array of numbers from `0` to `1` or a hash of numbers from `0` to `1`. For the [color contrast demo](http://harthur.github.com/brain/) it looks something like this: ```javascript var net = new brain.NeuralNetwork();