Click here to Skip to main content
15,936,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I'm starting to learn nntool and I'd like to know if it's possible to do the following:

I have text data, like this:

1 apple, red, small, 1
2 apple, red, small, 1
3 apple, red, big, -4
4 apple, red, big, 1
5 apple, yellow, small, 1
6 apple, yellow, small, 1
7 apple, yellow, big, -4
8 apple, yellow, big, 1
9 apple, green, small, 1
10 apple, green, small, 1
11 apple, green, big, -4
12 apple, green, big, 1

and so on, with banana, cherry, etc, just the numbers in the last column are different, but all fitting a simple pattern.

I'd like to use this as training data, and then input to the network a question like:

apple, green, big, ?

and get a result for the "?".

Can that be done in matlab? If yes, could someone describe it in short? At the moment I can't even enter the data properly, importing detects just the last column, the one with numbers.
Member 9521124 30-Nov-12 1:26am    
did u get it... if yes cud u please share ur code... i too need the same thing...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900