Converting target values into form appropriate for Neural Network Classificaton
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a dataset in which class attribute has string values like normal,neptune,smurf etc against every tuple. I want to train a neural network to classify inputs into one of these target values. I want to convert these string class values into form like [0 0 1] [0 1 0] [1 0 0] means if the class is smurf then its [0 0 1] if its neptune then its [1 0 0]. Can someone tell how to do this in matlab.
댓글 수: 0
채택된 답변
Greg Heath
2015년 4월 30일
1. See the patternnet help and documentation examples
help patternnet
doc patternnet
Search the NEWSGROUP and ANSWERS for my patternnet posts
greg patternnet
Hope this helps.
Thank you for formally accepting my answer
Greg
댓글 수: 3
Greg Heath
2015년 5월 1일
What happens when you use one of the classification dataset examples in the documentation?
help nndatasets
doc nndatasets
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!