encog-dotnet-core
encog-dotnet-core copied to clipboard
Made a little optimization on the Equilateral Encoding code.
I started reading the first book and am currently in the Equilateral encoding part. I believe the scaling is only needed when the range is different from -1 and 1. I also defaulted the low and high values in the parameters so that you could only write n if you wished to use -1 and 1 range (I think that range might be used quite often, but as I'm just starting with AI I might be wrong). Please correct me if this is wrong or unnecessary as I'm not sure if I understood the algorithm or code completely.
If this is an optimization, can you provide benchmarks?