- Machine Learning with Spark(Second Edition)
- Rajdeep Dua Manpreet Singh Ghotra Nick Pentreath
- 88字
- 2021-07-09 21:07:47
Setting up the Scala environment on the Command Line
To set up the environment locally, follow the steps listed next:
- Go to the root directory of Chapter 2, and choose the appropriate folder.
$ cd /PATH/spark-ml/Chapter_02/breeze
Alternatively, choose the following:
$ cd /PATH/spark-ml/Chapter_02/spark
- Compile the code.
$ sbt compile
- Run the compiled code, and choose the program to run (classes shown depend on whether sbt run is executed in the Spark or Breeze folder).
$ sbt run
Multiple main classes detected, select one to run:
....
Enter number:
推薦閱讀
- 嵌入式系統(tǒng)及其開發(fā)應(yīng)用
- 火格局的時空變異及其在電網(wǎng)防火中的應(yīng)用
- 數(shù)據(jù)中心建設(shè)與管理指南
- 圖形圖像處理(Photoshop)
- 數(shù)據(jù)庫原理與應(yīng)用技術(shù)學習指導(dǎo)
- 自動化控制工程設(shè)計
- 機器人編程實戰(zhàn)
- Photoshop CS3圖像處理融會貫通
- 3D Printing for Architects with MakerBot
- 具比例時滯遞歸神經(jīng)網(wǎng)絡(luò)的穩(wěn)定性及其仿真與應(yīng)用
- MATLAB/Simulink權(quán)威指南:開發(fā)環(huán)境、程序設(shè)計、系統(tǒng)仿真與案例實戰(zhàn)
- 運動控制系統(tǒng)
- Red Hat Linux 9實務(wù)自學手冊
- 網(wǎng)絡(luò)服務(wù)搭建、配置與管理大全(Linux版)
- 一步步寫嵌入式操作系統(tǒng)