> It uses two neural networks to predict the full palette. The first, model.js it predicts all the shades vertically from 50-900 given a certain color as input. The second, nextModel.js predicts horizontally all the colors horizontally given a certain shade as input.
It's not really a neural network either.
It will always return the same output for the same input. There are no training datasets etc.
It's literally just an algorithm that returns an output and returns the next output based on the previous output.
I would have expected some dataset of colors to train a model on and then use that to generate values but there really is no actual AI.
People seem to confuse a clever algorithm with AI.
There's nothing inherently intelligent about what it does. It's all math.
As any other AI algorithm. In the end, all it's curve fitting...
This is an already trained NN, that's why there are no training dataset or the model does not train...
I would expect an AI to be some higher level agent (according to the agent model) that modifies its own code while it does its work.
ML is done independently from the work and if you don't do it again (manually), the model won't change itself.
"AI" may seem cheesy, but you have to remember that in the future, lots of "AI programming" is just going to become "programming." This is clearly an effective, simple way of solving the problem, and requires no clever or common algorithms.
Also, what the hell is this file? Haha. https://raw.githubusercontent.com/dmarman/dmarman.github.io/...
This is awesome. The model outputs were turned into a single line of javascript which then gets evaluated by multiplying the color against all the weights. That wasn't what I was expecting, and I'm totally stealing this technique.
I may be wrong, but it seems the weights of a trained NN
This is literally just the definition of a 1 layer neural network.