- 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.
推薦閱讀
- 繪制進程圖:可視化D++語言(第1冊)
- 電氣自動化專業(yè)英語(第3版)
- Dreamweaver CS3網頁設計與網站建設詳解
- 微型計算機控制技術
- 大數(shù)據(jù)技術入門(第2版)
- Hands-On Machine Learning with TensorFlow.js
- VMware Performance and Capacity Management(Second Edition)
- 21天學通C#
- 3D Printing for Architects with MakerBot
- Nginx高性能Web服務器詳解
- 數(shù)據(jù)掘金
- Deep Reinforcement Learning Hands-On
- 分析力!專業(yè)Excel的制作與分析實用法則
- 液壓機智能故障診斷方法集成技術
- PowerMill 2020五軸數(shù)控加工編程應用實例