This is a snapshot of a rough sketch of the perceptron implementation for evaluating the user-agent strings.

The structs are defined for the TrainingSet entries, the train function is also experimentally implemented. This is work-in-progress and will not run yet.