0% found this document useful (0 votes)
28 views

Computer Networks

This document discusses various machine learning concepts including data preprocessing, model selection, evaluation, standardization, and splitting data into training and test sets. It provides code examples for dropping columns from a dataframe, training and testing on split data, and setting a random seed for reproducibility.

Uploaded by

Dhanush Panalkar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Computer Networks

This document discusses various machine learning concepts including data preprocessing, model selection, evaluation, standardization, and splitting data into training and test sets. It provides code examples for dropping columns from a dataframe, training and testing on split data, and setting a random seed for reproducibility.

Uploaded by

Dhanush Panalkar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

data esplenbu and Viteabigatior

ples, dataut le
X Shau dala
Soppora
Lohucadioal
mltiga
Sikt lkan, panas

Baiu
Voiabes
X: 5

classMate
Caw
Cau ot
a:b )
booleau

pualio
t enpoea

QCampite

not

Coudrbona elee
clAsSMAte
Lbmy
plt, SaHor plot 1
ban
hiha t

<aias

trem <lbray. ram >


name >

inpt
elassmate
data

impo
ued test csv)
pd

ualtacdll KLSx, Shet-nam


seb Uyl

.Cou'
acsvl'u)
Diount Pat

pd. tuad. csv C" poth | +ut. csv')


aASSHAte
po. udcw ('tut.cy')

had df.headt

phiot (head dfat s Valus

Sn7omatiu

index

classmate
ASSMate
Column umid Vahu mean
meam) -df print
(
ibeel ",'humid Cde
Caluan paaialar Chck
mean
lniqu nol
Count
as
tuvm& Colurnn,
numby
poin
ist

the
isti [L, 2, 3, a', b', 'c']

wutabe
Jamnt

list . gnemeu (b')

Acussig
pint ( istto)

Suppat difjat dodeyps


(1,'a', 25,[H,5,6J|

classmate
dropi cumn fom datcel
Lisl

Ctudre p 'diday. 'cauad,


' Caiual aeqietore

Colunn choobvof
n
d{

Sklean ibra
macuiw learning i byay

data pepro cessin mbelel selehion, tue l


evaliaton

clASSMAte
Skleauu.

Slandan
B it Vaime

Centnd avoud
SpradOne

SLluam.
Skleann, medal. tran- tut Splih

dataet
dii
tutny
to
Arai
ubnt. ming

clsssmste
X dala.orop c'Column"
dapdlt
X- traim, , X-tut , y- train, 4. test
tee t traun -tutsplt
2e 0 3
ramdramstate 42)
gud valu.
0.3 30

hou

locati on.
Uorioble

clAssute

You might also like