ArticleslgStudy

computer science

Jenks natural breaks optimization

Jenks natural breaks optimization is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Jenks natural breaks optimization rather than just read about it. In short: The Jenks optimization method, also called the Jenks natural breaks classification method, is a data clustering method designed to determine the best arrangement of values into different classes. This is done by seeking to minimize each class's average square deviation from the class mean, while maximizing each class's deviation from the means of the other classes.

Jenks natural breaks optimization — main illustration
Jenks natural breaks optimization — illustration

Key takeaways

  • Jenks natural breaks optimization belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Jenks natural breaks optimization to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Jenks natural breaks optimization from memory before moving on to harder problems.

Reference excerpt

The Jenks optimization method, also called the Jenks natural breaks classification method, is a data clustering method designed to determine the best arrangement of values into different classes. This is done by seeking to minimize each class's average square deviation from the class mean, while maximizing each class's deviation from the means of the other classes. In other words, the method seeks to reduce the variance within classes and maximize the variance between classes. The Jenks optimization method is directly related to Otsu's Method and Fisher's Discriminant Analysis.

History George F. Jenks was a 20th-century American geographer. Graduating with his Ph.D. in agricultural geography from Syracuse University in 1947, Jenks began his career under the tutelage of Richard Harrison, cartographer for Time and Fortune magazine. He joined the faculty of the University of Kansas in 1949 and began to build the cartography program. During his 37-year tenure at KU, Jenks developed the Cartography program into one of three programs renowned for their graduate education in the field; the others being the University of Wisconsin and the University of Washington. Much of his time was spent developing and promoting improved cartographic training techniques and programs. He also spent significant time investigating three-dimensional maps, eye-movement research, thematic map communication, and geostatistics. Jenks was a cartographer by profession. His work with statistics grew out of a desire to make choropleth maps more visually accurate for the viewer. In his paper, The Data Model Concept in Statistical Mapping, he claims that by visualizing data in a three dimensional model cartographers could devise a “systematic and rational method for preparing choroplethic maps”. Jenks used the analogy of a “blanket of error” to describe the need to use elements other than the mean to generalize data. The three dimensional models were created to help Jenks visualize the difference between data classes. His aim was to generalize the data using as few planes as possible and maintain a constant “blanket of error”.

Description of method The method requires an iterative process. That is, calculations must be repeated using different breaks in the dataset to determine which set of breaks has the smallest in-class variance. The process is started by dividing the ordered data into classes in some way which may be arbitrary. There are two steps that must be repeated:

Calculate the sum of squared deviations from the class means (SDCM). Choose a new way of dividing the data into classes, perhaps by moving one or more data points from one class to a different one. New class deviations are then calculated, and the process is repeated until the sum of the within class deviations reaches a minimal value. Alternatively, all break combinations may be examined, SDCM calculated for each combination, and the combination with the lowest SDCM selected. Since all break combinations are examined, this guarantees that the one with the lowest SDCM is found. Finally the sum of squared deviations from the mean of the complete data set(SDAM), and the goodness of variance fit (GVF) may be calculated. GVF is defined as (SDAM - SDCM) / SDAM. GVF ranges from 0 (worst fit) to 1 (perfect fit).

Use in cartography

Jenks’ goal in developing this method was to create a map that was absolutely accurate, in terms of the representation of data's spatial attributes. By following this process, Jenks claims, the “blanket of error” can be uniformly distributed across the mapped surface. He developed this with the intention of using relatively few data classes, less than seven, because that was the limit when using monochromatic shading on a choropleth map. The Jenks classification method is commonly used in thematic maps, especially choropleth maps, as one of several available classification methods. When making choropleth maps, the Jenks classification method can be advantageous because if there are clusters in the data values, it will identify them. In fact, in current versions of ArcGIS software from Esri, Jenks is the default classification method. However, the Jenks classification is not recommended for data that have a low variance. The Jenks natural breaks in the data are used to provide a more meaningful visualization of map data based on the "natural breaks" in the data identified by the iterative process.

Alternative methods

Other methods of data classification include Head/tail Breaks, Natural Breaks (without Jenks Optimization), Equal Interval, Quantile, and Standard Deviation.

See also k-means clustering, a generalization for multivariate data (Jenks natural breaks optimization seems to be one dimensional k-means).

References

Further reading J. A. Hartigan: Clustering Algorithms, John Wiley & Sons, Inc., 1975

External links Volunteered Geographic Information, Daniel Lewis, Jenks Natural Breaks Algorithm with an implementation in python CMU lib.stat FORTRAN source code Object Vision wiki, Fisher's Natural Breaks Classification, a O(k*n*log(n)) algorithm What is Jenks Natural Breaks? Archived 2015-03-20 at the Wayback Machine Literate Jenks Natural Breaks and How The Idea Of Code is Lost

Worked examples

Example 1 — a first encounter with Jenks natural breaks optimization

Start with the simplest possible case. Write down what Jenks natural breaks optimization claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Jenks natural breaks optimization before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Jenks natural breaks optimization ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Jenks natural breaks optimization

In research
Jenks natural breaks optimization appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Jenks natural breaks optimization in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Jenks natural breaks optimization is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cartography, Cluster analysis algorithms, Data management, so understanding it makes those chapters shorter.
In everyday life
Look for Jenks natural breaks optimization outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Jenks natural breaks optimization in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Jenks natural breaks optimization means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Jenks natural breaks optimization out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Jenks natural breaks optimization in simple terms?

The Jenks optimization method, also called the Jenks natural breaks classification method, is a data clustering method designed to determine the best arrangement of values into different classes. This is done by seeking to minimize each class's average square deviation from the class mean, while ma…

Why does Jenks natural breaks optimization matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Jenks natural breaks optimization?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Jenks natural breaks optimization.

Tags

  • Cartography
  • Cluster analysis algorithms
  • Data management

Keep exploring