   :: AForge.NET Framework :: Articles :: Forums ::

## Here is a problem. How do I solve it?

The forum is to discuss topics from different artificial intelligence areas, like neural networks, genetic algorithms, machine learning, etc.

### Here is a problem. How do I solve it?

Very new to this, and needing to stay within the world of C#/Dot Net.

The problem I'm trying to solve is this:

1) The user is presented with a left side list of 'things' and a right side list of 'things'.

2) A thing is a transaction (has amounts, dates, and other variables).

3) Visually, the user can use their own intelligence and knowledge to match up one or more items on the left to one or more items on the right.

4) I want the program to learn and predict which items on the left and which items on the right would be matched by the user if they did it themselves.

A simple example:

* The left side has 5 rows in the list. The amount (value) of each of the 5 rows is 1, 3, 5, 8, 25
* The right side has 3 rows in the list. The Amount (value) of each of the 3 rows is 4, 5, 6, 44

The user does the math in their head and decides that 3 + 5 + 8 = 16 on the left and 4 + 5 + 6 = 15 on the right. The difference is <= 1. If it is early in the month, that amount isn't close enough... but at the end of the month it is. There are more variables then just finding a close amount match and what part of the month it is, so the solution needs to allow more input scenario values than just this.

So early in the month, the AI says 'No Match' but at the end of the month then 16 is close enough to 15 and the program would color 'green' the respective rows on both sides.

I would want to program this so that the various parameters are 'known' to the app so it sets this as the starting scenario. The user manually selects both sides and clicks a button - and the machine 'learns' what the user would do based on which rows are selected when they hit the button.

From the start, the machine makes a prediction and colors the rows as suggested matches. If the user accepts the prediction, then the AI is reinforced. If the user selects another combination, then the AI should be able to reinforce the results so it does better the next time.

How in the heck do I start and are their libraries I can incorporate into the app that lets me define all the variables (i.e. the amounts on each of the rows right and left and whether or not it is the beginning or the end of the month... and predicts the user's choice?   AForge.NET © 2008-2011 :: Contacts