- 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'.

推薦閱讀
- Splunk 7 Essentials(Third Edition)
- Visualforce Development Cookbook(Second Edition)
- 協(xié)作機(jī)器人技術(shù)及應(yīng)用
- 圖解PLC控制系統(tǒng)梯形圖和語句表
- 2018西門子工業(yè)專家會(huì)議論文集(上)
- MCSA Windows Server 2016 Certification Guide:Exam 70-741
- 永磁同步電動(dòng)機(jī)變頻調(diào)速系統(tǒng)及其控制(第2版)
- ESP8266 Home Automation Projects
- Learning C for Arduino
- 筆記本電腦維修90個(gè)精選實(shí)例
- Linux嵌入式系統(tǒng)開發(fā)
- 30天學(xué)通Java Web項(xiàng)目案例開發(fā)
- 項(xiàng)目實(shí)踐精解:C#核心技術(shù)應(yīng)用開發(fā)
- 渲染王3ds Max三維特效動(dòng)畫技術(shù)
- 三維動(dòng)畫制作(3ds max7.0)