Java 14 Feature: Records

Two weeks ago I finally became an Oracle Certified Java 11 developer. So I can finally enjoying taking a look at the new features and improvement of the latest versions. The introduction of records in Java 14 is a very interesting thing that you cannot miss. A plain old java object with getters, setters, etc. […]

Data Science with Java – Part 4 : Testing Hypothesis with the inference package

To test if a certain hypothesis is likely to be true we can take advantage of the Apache commons math inference package. Considering the tests included in the package is a good opportunity to learn more about statistics and probability theory. Let´s consider the following binomial test about flipping a coin:   The result that […]

Data Science with Java – Part 2: CSV data into charts

A nice java library called opencsv allows you to import the csv file content and make charts out of it. Let´s consider for example unemployment in Germany since the reunification. We will use a csv file containing year, amount of people in germany, west and east (four columns) 1991,2602203,1596457,1005745 1992,2978570,1699273,1279297 1993,3419141,2149465,1269676 1994,3698057,2426276,1271781 1995,3611921,2427083,1184838 1996,3965064,2646442,1318622 1997,4384456,2870021,1514435 […]