domlysz / jenks-caspall.py Goto Github PK
View Code? Open in Web Editor NEWNatural Break classification through Jenks-Caspall algorithm
Natural Break classification through Jenks-Caspall algorithm
I've been using this script for an application, it works great. But for some reason, it seems to get hung up on a single list of values.
This list: [3, 2, 17, 2, 6, 0, 10, 0, 7, 5, 7, 2, 5, 9, 5, 4, 5, 28, 16, 1, 1, 4, 1, 2, 2, 7, 29, 103, 16, 12, 9, 1, 14, 18, 2, 7, 5, 7, 13, 6, 4, 10, 6, 0, 2, 1, 3, 6] gets hung up when run with 4 breaks.
I don't believe it's in my code as it works with all other datasets I'm using. It could be something with the calculation where for some reason it takes a very long time?
I was wondering if you could run it on your end and see if you can replicate the behavior.
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.