在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Craigacp/MIToolbox开源软件地址(OpenSource Url):https://github.com/Craigacp/MIToolbox开源编程语言(OpenSource Language):C 69.2%开源软件介绍(OpenSource Introduction):MIToolboxv3.0.1 for C/C++ and MATLAB/Octave MIToolbox contains a set of functions to calculate information theoretic quantities from data, such as the entropy and mutual information. The toolbox contains implementations of the most popular Shannon entropies, and also the lesser known Renyi entropy. The toolbox also provides implementations of the weighted entropy and weighted mutual information from "Information Theory with Application", S. Guiasu (1977). The toolbox only supports discrete distributions, as opposed to continuous. All real-valued numbers will be processed by x = floor(x). These functions are targeted for use with feature selection algorithms rather than communication channels and so expect all the data to be available before execution and sample their own probability distributions from the data. All functions expect the inputs to be vectors or matrices of doubles. Functions contained:
Note: all functions are calculated in log base 2, so return units of "bits". MIToolbox works on discrete inputs, and all continuous values must be discretised before use with MIToolbox. Real-valued inputs will be discretised with x = floor(x) to ensure compatibility. MIToolbox produces unreliable results when used with continuous inputs, runs slowly and uses much more memory than usual. The discrete inputs should have small cardinality, MIToolbox will treat values {1,10,100} the same way it treats {1,2,3} and the latter will be both faster and use less memory. This limitation is due to the difficulties in estimating information theoretic functions of continuous variables. ====== Examples:
====== All code is licensed under the 3-clause BSD license. Compilation instructions:
Update History
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论