Sample Worksheet

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

University Institute of Engineering

Department of Computer Science & Engineering

Experiment: 1.4

Student Name: RS Krishna UID:22BCS11146


Branch: Computer Science & Engineering Section/Group:
Semester: 1 Date of Performance:14/10/22
Subject Name: Disruptive Technology-1
Subject Code: 22ECH-102

1. Aim of the practical: Understand supervised learning to train and develop classifier models.

2. Tool Used: Google collab

3. Basic Concept/ Command Description:


1. Using pycaret library in python.
2. Working with datasets.
3. Plotting graphs using pycaret.

4. Code:
Task 1:
from pycaret.classification import *

s = setup(data = tele, target = 'Class')

rf = create_model("rf")
University Institute of Engineering
Department of Computer Science & Engineering

sm = save_model(rf, "rfModelFile")

Task 2:
sv = load_model("rfModelFile")

Task 3:
plot_model(rf, "confusion_matrix")

plot_model(rf, "learning")

plot_model(rf, plot="auc")

5. Observations, Simulation Screen Shots and Discussions:

Image 1: Area under curves


University Institute of Engineering
Department of Computer Science & Engineering

Image 2: Learning curve

Image 3: Confusion matrix

5. Result and Summary:


1. Build and save the model.

2. Load the model using pycaret library.

3. Plot various graphs using pycaret.


University Institute of Engineering
Department of Computer Science & Engineering

Learning outcomes (What I have learnt):


1. How to use pycaret functions.

2. How to plot graphs in pycaret

3. How to work with datasets.

Evaluation Grid (To be filled by Faculty):


Sr. No. Parameters Marks Obtained Maximum Marks
1. Student Performance (task 12
implementation and result evaluation)
2. Viva-Voce 10
3. Worksheet Submission (Record) 8
Signature of Faculty (with Date): Total Marks Obtained: 30

You might also like