- Machine Learning with Spark(Second Edition)
- Rajdeep Dua Manpreet Singh Ghotra Nick Pentreath
- 182字
- 2021-07-09 21:07:46
Setting up the Scala environment in Intellij
It is best to use an IDE like IntelliJ to edit Scala code, which provides faster development tools and coding assistance. Code completion and inspection makes coding and debugging faster and simpler, ensuring you focus on the end goal of learning math for machine learning.
IntelliJ 2016.3 brings Akka, Scala.meta, Memory view, Scala.js, and Migrators to the IntelliJ IDE as part of the Scala plugin. Now, let's set up the Scala environment in Intellij as follows:
- Go to Under Preferences | Plugins, and verify if the Scala plugin is installed. SBT, which is a build tool for Scala, is configured by default as shown in the following screenshot:

- Select File | New | Project from Existing resources | $GIT_REPO/Chapter_02/breeze or $GIT_REPO/Chapter_02/spark. Here, $GIT_REPO is the repository path where you have cloned the source code of the book.
- Import project by selecting the SBT option:

- Keep the default options of SBT, and click on Finish.
- SBT will take a while to import references from build.sbt.

- Finally, right click on the source file and select Run 'Vector'.

推薦閱讀
- PostgreSQL 11 Server Side Programming Quick Start Guide
- Hands-On Machine Learning on Google Cloud Platform
- MicroPython Projects
- 21天學通C#
- RPA(機器人流程自動化)快速入門:基于Blue Prism
- 精通數據科學算法
- 單片機技能與實訓
- 實用網絡流量分析技術
- SMS 2003部署與操作深入指南
- Learning ServiceNow
- Mastering MongoDB 3.x
- 三菱FX/Q系列PLC工程實例詳解
- MPC5554/5553微處理器揭秘
- FANUC工業機器人配置與編程技術
- 傳感技術基礎與技能實訓