- 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.
推薦閱讀
- Hands-On Internet of Things with MQTT
- Cinema 4D R13 Cookbook
- ServiceNow Cookbook
- Hands-On Machine Learning with TensorFlow.js
- RPA(機器人流程自動化)快速入門:基于Blue Prism
- Splunk Operational Intelligence Cookbook
- 西門子變頻器技術入門及實踐
- 傳感器與新聞
- Statistics for Data Science
- 單片機技能與實訓
- 手機游戲策劃設計
- 實戰Windows Azure
- 工業機器人基礎
- Mastercam X5應用技能基本功特訓
- ARM嵌入式開發實例