canoalberto / ur-caim Goto Github PK
View Code? Open in Web Editor NEWImproved CAIM discretization for unbalanced and balanced data
License: GNU General Public License v3.0
Improved CAIM discretization for unbalanced and balanced data
License: GNU General Public License v3.0
great code thanks
only
1
can you share some data file to test how it works , to compare my calculation results with your calculation results to make sure I use it in correct way
2
may be know somebody else implementation not using weka , but only plain java code?
may you pls help to find what data sets where used since link from paper is broken
since
link from paper page 7
https://helvia.uco.es/xmlui/bitstream/handle/10396/13003/article.pdf?sequence=1&isAllowed=y
is broken
The data sets description along with their partitions, the ur-CAIM
source code and WEKA plugin, the experimental settings and results
for all data sets and algorithms are fully described and publicly
available to facilitate the replicability of the experiments and future
comparisons at the website:
http://www.uco.es/grupos/kdis/wiki/ur-CAIM
equations 8,9,13 in paper you use log2
but in code
my guess you tried to implement logarithm base change like
https://www.khanacademy.org/math/algebra2/x2ec2f6f830c9fb89:logs/x2ec2f6f830c9fb89:change-of-base/a/logarithm-change-of-base-rule-intro
maybe you meant using only log10
Math.log10(Pr / Pir) / Math.log10(2)
changing to Math.log10(Pr / Pir) / Math.log10(2)
leads to calculation results change ?
java code reference
urCAIM.java
equations 8,9,13
if(Pir != 0)
{
H += Pir * Math.log10(1.0 / Pir) / Math.log(2);
I += (1-Pi) Pir Math.log10(Pir / (Pi * Pr)) / Math.log(2);
INFO += Pir * Math.log10(Pr / Pir) / Math.log(2);
}
227-232 lines
Thanks for help
GREAT ALGORITHM
BUT DO HAVE IT IN PYTHON ?
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.