- 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:
推薦閱讀
- 工業(yè)機(jī)器人虛擬仿真實(shí)例教程:KUKA.Sim Pro(全彩版)
- 大數(shù)據(jù)技術(shù)與應(yīng)用基礎(chǔ)
- Windows程序設(shè)計(jì)與架構(gòu)
- Hadoop Real-World Solutions Cookbook(Second Edition)
- 統(tǒng)計(jì)策略搜索強(qiáng)化學(xué)習(xí)方法及應(yīng)用
- JavaScript典型應(yīng)用與最佳實(shí)踐
- Implementing Splunk 7(Third Edition)
- 悟透AutoCAD 2009完全自學(xué)手冊(cè)
- Practical Big Data Analytics
- 網(wǎng)站前臺(tái)設(shè)計(jì)綜合實(shí)訓(xùn)
- 單片機(jī)技能與實(shí)訓(xùn)
- 電腦故障排除與維護(hù)終極技巧金典
- 深度學(xué)習(xí)原理與 TensorFlow實(shí)踐
- Hadoop Beginner's Guide
- 中老年人學(xué)電腦與上網(wǎng)