net.train([
{"input":{"r":0.0431,"g":0.3458,"b":0.2627},"output":{"black":0}},
{"input":{"r":0.9333,"g":0.8784,"b":0.5686},"output":{"black":1}},
{"input":{"r":0.3490,"g":0.2705,"b":0.8901},"output":{"black":0}},
{"input":{"r":0.3843,"g":0.4862,"b":0.0941},"output":{"black":0}},
{"input":{"r":0.2274,"g":0.0078,"b":0.8627},"output":{"black":0}},
{"input":{"r":0.3764,"g":0.3843,"b":0.6941},"output":{"black":0}},
{"input":{"r":0.2862,"g":0.5960,"b":0.0470},"output":{"black":0}},
{"input":{"r":0.6549,"g":0.7019,"b":0.7098},"output":{"black":1}},
{"input":{"r":0.0431,"g":0.0666,"b":0.4862},"output":{"black":0}},
{"input":{"r":0.8431,"g":0.4431,"b":0.2627},"output":{"black":0}},
])
sample().join("\n")