- Machine Learning with Scala Quick Start Guide
- Md. Rezaul Karim
- 192字
- 2021-06-24 14:31:58
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "It gave me a Matthews correlation coefficient of 0.3888239300421191."
A block of code is set as follows:
rawTrafficDF.select("Hour (Coded)", "Immobilized bus", "Broken Truck",
"Vehicle excess", "Fire", "Slowness in traffic (%)").show(5)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
// Create a decision tree estimator
val dt = new DecisionTreeClassifier()
.setImpurity("gini")
.setMaxBins(10)
.setMaxDepth(30)
.setLabelCol("label")
.setFeaturesCol("features")
Any command-line input or output is written as follows:
+-----+-----+
|churn|count|
+-----+-----+
|False| 2278|
| True| 388 |
+-----+-----+
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Clicking the Next button moves you to the next screen."
- GNU-Linux Rapid Embedded Programming
- 走入IBM小型機(jī)世界
- WOW!Illustrator CS6完全自學(xué)寶典
- 自動(dòng)檢測與轉(zhuǎn)換技術(shù)
- 菜鳥起飛系統(tǒng)安裝與重裝
- 單片機(jī)C語言程序設(shè)計(jì)完全自學(xué)手冊
- 多媒體制作與應(yīng)用
- 大數(shù)據(jù)技術(shù)基礎(chǔ):基于Hadoop與Spark
- Cloud Security Automation
- Bayesian Analysis with Python
- 所羅門的密碼
- Python文本分析
- 簡明學(xué)中文版Flash動(dòng)畫制作
- ADuC系列ARM器件應(yīng)用技術(shù)
- 軟件質(zhì)量管理實(shí)踐