zhongkaifu / advutils Goto Github PK
View Code? Open in Web Editor NEWAdvanced Utility Libs
License: BSD 3-Clause "New" or "Revised" License
Advanced Utility Libs
License: BSD 3-Clause "New" or "Revised" License
Hello, I am using this library as part of RNNSharp and CRFSharp, and other very good libraries, buit by you, and ran into several problems.
My cultural region is "es-AR" as well as any Spanish culture, the decimal point specification is opposite to the standard "en-US" and other English ones, so any time you write or read a file, containing any double or single floating point number, the data gets "silently" corrupted, adn the decimal points get ignored and taken as formatting strings. so comma is used instead of decimal point, and viceversa.
This corrupts many tests, and invalidates portability of libraries,and training sets, but for worse.. this happens under the hood, so if you are unaware of this, you may run into trouble as I personally did!
My recommendation is to mention this on former releases, and please format the numbers, as well as the parsers to a Culture independent numbering System as provided on the .NET library
I modified manually this on the source files, and it is algo "better " because many training sets, don't need very precise numbers, even many times there are internally treated as single (7 digits) and externally printed out as "double" unecessarly clogging the training/model files.
My suggestion is using the .NET "G5"
floating number conversion format (5 digits) for training/dictionary data, s well ass G10 for seldom numeric values. I internally do use 3-4 digits and it proved not to alter any results, after being trained and dumped into a file. also I suggest to use the conversion:
double.Parse(string, System.Globalization.CultureInfo.InvariantCulture)
as default Parsing, to avoid such problems!
Also there is no performance degradation on neither this formatting.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.