官术网_书友最值得收藏!

Data science in Java

In this book, we will use Java for doing data science projects. Java might not seem a good choice for data science at first glance, unlike Python or R, it has fewer data science and machine learning libraries, it is more verbose and lacks interactivity. On the other hand, it has a lot of upsides as follows:

  • Java is a statically typed language, which makes it easier to maintain the code base and harder to make silly mistakes--the compiler can detect some of them.
  • The standard library for data processing is very rich, and there are even richer external libraries.
  • Java code is typically faster than the code in scripting languages that are usually used for data science (such as R or Python).
  • Maven, the de-facto standard for dependency management in the Java world, makes it very easy to add new libraries to the project and avoid version conflicts.
  • Most of big data frameworks for scalable data processing are written in either Java or JVM languages, such as Apache Hadoop, Apache Spark, or Apache Flink.
  • Very often production systems are written in Java and building models in other languages adds unnecessary levels of complexity. Creating the models in Java makes it easier to integrate them to the product.

Next, we will look at the data science libraries available in Java.

主站蜘蛛池模板: 翼城县| 永年县| 营山县| 桐庐县| 缙云县| 元氏县| 南安市| 东城区| 泰来县| 民和| 新和县| 翁源县| 波密县| 福泉市| 岑溪市| 合水县| 建水县| 芮城县| 嘉峪关市| 达孜县| 神池县| 博白县| 涞水县| 武胜县| 左云县| 大荔县| 滦平县| 蓝田县| 三河市| 西盟| 肥西县| 安化县| 盐源县| 耿马| 宜宾县| 鹤庆县| 内江市| 雅江县| 霞浦县| 乌鲁木齐市| 海晏县|