문제

I am new to encog and i am doing an encog neural networks trainer for image classification in java.

I want to know if i can use strings as the ideal for encog neural nets. Thank you.

도움이 되었습니까?

해결책

Yes. When you normalize your data, each String will become a class. For example:

You have classes :

car, motorcycle, bike

Once normalized, you will have three different neurons that fire according to the class as such:

car : 1, 0, 0
motorcycle : 0, 1, 0
bike : 0, 0, 1

Play around with your data in the encog workbench to get a feel for it, the workbench makes it pretty easy.

Good luck!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top