- Ensemble Machine Learning Cookbook
- Dipayan Sarkar Vijayalakshmi Natarajan
- 114字
- 2021-07-02 13:21:55
Getting ready
In the following steps we will download the following packages:
To start with, import the os and pandas packages and set your working directory according to your requirements:
# import required packages
import os
import pandas as pd
# Set working directory as per your need
os.chdir(".../.../Chapter 2")
os.getcwd()
Download the Cryotherapy.csv dataset from GitHub and copy it to your working directory. Read the dataset:
df_cryotherapydata = pd.read_csv("Cryotherapy.csv")
Take a look at the data with the following code:
df_cryotherapydata.head(5)
We can see that the data has been read properly and has the Result_of_Treatment class variable. We then move on to creating models with Result_of_Treatment as the response variable.
推薦閱讀
- 數據展現的藝術
- 精通MATLAB圖像處理
- 手把手教你玩轉RPA:基于UiPath和Blue Prism
- STM32G4入門與電機控制實戰:基于X-CUBE-MCSDK的無刷直流電機與永磁同步電機控制實現
- 現代傳感技術
- 愛犯錯的智能體
- Linux嵌入式系統開發
- Working with Linux:Quick Hacks for the Command Line
- The DevOps 2.1 Toolkit:Docker Swarm
- Web編程基礎
- 一步步寫嵌入式操作系統
- 簡明學中文版Flash動畫制作
- 基于元胞自動機的人群疏散系統建模與分析
- 大數據時代的調查師
- Hands-On Generative Adversarial Networks with Keras