- Feature Engineering Made Easy
- Sinan Ozdemir Divya Susarla
- 239字
- 2021-06-25 22:45:48
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: "Suppose further that given this dataset, our task is to be able to take in three of the attributes (datetime, protocol, and urgent) and to be able to accurately predict the value of malicious. In layman's terms, we want a system that can map the values of datetime, protocol, and urgent to the values in malicious."
A block of code is set as follows:
Network_features = pd.DataFrame({'datetime': ['6/2/2018', '6/2/2018', '6/2/2018', '6/3/2018'], 'protocol': ['tcp', 'http', 'http', 'http'], 'urgent': [False, True, True, False]})
Network_response = pd.Series([True, True, False, True])
Network_features
>>
datetime protocol urgent 0 6/2/2018 tcp False 1 6/2/2018 http True 2 6/2/2018 http True 3 6/3/2018 http False
Network_response
>>
0 True 1 True 2 False 3 True dtype: bool
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
times_pregnant 0.221898 plasma_glucose_concentration 0.466581 diastolic_blood_pressure 0.065068 triceps_thickness 0.074752 serum_insulin 0.130548 bmi 0.292695 pedigree_function 0.173844 age 0.238356 onset_diabetes 1.000000 Name: onset_diabetes, dtype: float64
Bold: Indicates a new term, an important word, or words that you see onscreen.
Warnings or important notes appear like this.
Tips and tricks appear like this.
- 計(jì)算機(jī)組成原理與接口技術(shù):基于MIPS架構(gòu)實(shí)驗(yàn)教程(第2版)
- Python金融大數(shù)據(jù)分析(第2版)
- 正則表達(dá)式必知必會(huì)
- 數(shù)據(jù)庫(kù)開發(fā)實(shí)踐案例
- Hadoop大數(shù)據(jù)實(shí)戰(zhàn)權(quán)威指南(第2版)
- 數(shù)據(jù)革命:大數(shù)據(jù)價(jià)值實(shí)現(xiàn)方法、技術(shù)與案例
- Scratch 3.0 藝術(shù)進(jìn)階
- Solaris操作系統(tǒng)原理實(shí)驗(yàn)教程
- 數(shù)據(jù)中心經(jīng)營(yíng)之道
- 智能與數(shù)據(jù)重構(gòu)世界
- AutoCAD基礎(chǔ)與應(yīng)用精品教程(2008版)
- Oracle數(shù)據(jù)庫(kù)性能優(yōu)化的藝術(shù)
- Learning Libgdx Game Development
- 新一代信息技術(shù)基礎(chǔ)
- 自己動(dòng)手做大數(shù)據(jù)系統(tǒng)(第2版)