scale range for neural network
4 次查看(过去 30 天)
显示 更早的评论
Dear All;
I have in neural network, : My input range is starting with small value , then it become big ( 1000 times of the small values) which a lot of data accumulate in small range and make conflict between detail in this range , how can we solve it . Also, if I have data range overlap at the boundary which may lead to misinterpretation, what is the best way to overcome this issue.
Regards;
0 个评论
采纳的回答
Greg Heath
2014-10-27
I don't have any specific code. I would experiment with the following.
1. Worry about the gating later.
2. First, determine, by trial and error, subsets of effective ranges for inputs of fitnet. This will not be an easy task. It is quite possible that nonlinear input transformations (e.g., logs or powers ) may be be helpful.
3. Since fitnet defaults to mapminmax transformations of inputs and outputs before other calculations, what has to be determined is how to choose the different ranges of inputs that will be transformed to [-1,1].
4. If there are c input range categories the gating net targets should be {0,1} c-dimensional unit vectors. The transformations between the vectors and category indices are
targets = ind2vec(indices)
indices = vec2ind(targets)
Hope this helps.
Thank you for formally accepting my answer
Greg
0 个评论
更多回答(1 个)
Greg Heath
2014-10-25
This is easily solved by using a gating net that sends the input to a following net designed for a specific range of inputs.
Hope this helps
Thank you for formally accepting my answer
Greg
另请参阅
类别
在 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!