Discrete weights with neural network toolbox
Ältere Kommentare anzeigen
Hello, I am building a custom neural network. In the application I am attempting to model it is only possible to have weights of discrete values [-2, -1, 0, 1, 2]. I want to use this network to perform the training using the built-in functions, but don't want to get weights back that are 1.24345932 and have to round it and sacrifice accuracy in the testing phase. I have found some documentation that you can use the command net.inputs{1}.exampleInput = [...] but it doesn't realize that I want the values to be discrete and it resets the size of the inputs. Thank you!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Function Approximation and Clustering finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!