Relative Content

Tag Archive for machine-learning

Neural network converges to 0.5 for XoR

I’m coding a neural network in C for an OCR project. Before testing with character recognition, I’m making it learn the XoR operation. Although, the results I’n getting always converges to 0.5 instead of 1 or 0 for all input combinations.

Generate algorithm to solve peg solitaire

I know that with regression it is possible to generate a mathematical function based on experimental data. I was wondering, maybe there is a way to generate something more complex. I have a single player logical game which is hard to solve:

Recommending new products using k-means clusters?

I’m trying to figure out the best way to recommend images based on past classifications using k-means clusters. What I have done is mapped the RGB values of a set of images, performed a k-means cluster analysis on those RGB values, and attached a “rating” to each image. This has created Voronoi cells similar to this graph. I’ve stored the cluster centers and ratings into my “training set”.