0% found this document useful (0 votes)
43 views4 pages

Sample Worksheet

The document summarizes a student's experiment using the Python library PyCaret to perform supervised learning tasks on a classification dataset. The student used PyCaret to build and save a random forest model, load the saved model, and plot various evaluation metrics graphs including the area under the ROC curve, learning curve, and confusion matrix. Through this experiment, the student learned how to use PyCaret functions, plot graphs, and work with datasets to build and evaluate classifier models.

Uploaded by

Krishna RS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views4 pages

Sample Worksheet

The document summarizes a student's experiment using the Python library PyCaret to perform supervised learning tasks on a classification dataset. The student used PyCaret to build and save a random forest model, load the saved model, and plot various evaluation metrics graphs including the area under the ROC curve, learning curve, and confusion matrix. Through this experiment, the student learned how to use PyCaret functions, plot graphs, and work with datasets to build and evaluate classifier models.

Uploaded by

Krishna RS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy