Skip to content

Instantly share code, notes, and snippets.

@KaiWedekind
Last active September 4, 2018 18:41
Show Gist options
  • Save KaiWedekind/f2c7150bd80bea4f092068e69cdaf127 to your computer and use it in GitHub Desktop.
Save KaiWedekind/f2c7150bd80bea4f092068e69cdaf127 to your computer and use it in GitHub Desktop.

Revisions

  1. Kai Wedekind renamed this gist Sep 4, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Kai Wedekind revised this gist Sep 4, 2018. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions trainingdata.json
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    [
    { input: { r: 0.00, g: 0.00, b: 0.00 }, output: { white: 1 } },
    { input: { r: 0.85, g: 0.88, b: 0.56 }, output: { black: 1 } },
    { input: { r: 0.33, g: 0.35, b: 0.84 }, output: { white: 1 } },
    { input: { r: 0.00, g: 0.99, b: 1.00 }, output: { black: 1 } }
    { "input": { "r": "0.00", "g": "0.00", "b": "0.00" }, "output": { "white": 1 } },
    { "input": { "r": "0.85", "g": "0.88", "b": "0.56" }, "output": { "black": 1 } },
    { "input": { "r": "0.33", "g": "0.35", "b": "0.84" }, "output": { "white": 1 } },
    { "input": { "r": "0.00", "g": "0.99", "b": "1.00" }, "output": { "black": 1 } }
    ]
  3. Kai Wedekind created this gist Sep 4, 2018.
    6 changes: 6 additions & 0 deletions trainingdata.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    [
    { input: { r: 0.00, g: 0.00, b: 0.00 }, output: { white: 1 } },
    { input: { r: 0.85, g: 0.88, b: 0.56 }, output: { black: 1 } },
    { input: { r: 0.33, g: 0.35, b: 0.84 }, output: { white: 1 } },
    { input: { r: 0.00, g: 0.99, b: 1.00 }, output: { black: 1 } }
    ]