LIST OF EXPERIMENTS
Experiment-1:
Pandas Library
a) Write a python program to implement Pandas Series with labels.
b) Create a Pandas Series from a dictionary.
c) Creating a Pandas Data Frame.
d) Write a program which makes use of the following Pandas methods
i) describe() ii) head() iii) tail() iv) info()
Experiment-2:
Apply the following Pre-processing techniques for a given dataset.
a. Attribute selection
b. Handling Missing Values
c. Discretization
d. Elimination of Outliers
Experiment-3:
Pandas Library: Visualization:
a. Write a Python program for creating Maps using Plotly Libraries.
b. Write a Python program to illustrate Linear Plotting using Matplotlib.
Experiment-4:
Implement any two uninformed search strategies using python.
Experiment-5:
Write a program to implement the Heuristic Search
Experiment-6:
Implement expert systems with forward chaining and backward chaining.
Experiment-7:
Implement KNN algorithm for classification and regression
Experiment-8:
Implement decision tree algorithm for a classification problem and perform parameter tuning for better results
Experiment-9:
Implement Random Forest algorithm for classification and regression
Experiment-10:
Implement Naïve Bayes Classification algorithm.
Experiment-11:
Implement Support Vector algorithm for classification
Experiment-12:
Implement the K-means algorithm and apply it to the data you selected. Evaluate performance by measuring the sum of the Euclidean distance of each example from its class center. Test the performance of the algorithm as a function of the parameters K.
Before continuing to the lab, follow these instructions to install Python and its relevant libraries:
If you are using Windows PC:
Step1: then goto STORE --> type PYTHON 3.13 ---> INSTALL/GET OR (click on this link)
Step2: C:\Users\krish>python --version
to check the installed python version
Step3: C:\Users\krish>python -m pip install pandas
Step4: C:\Users\krish>python -m pip install plotly
Step5: C:\Users\krish>python -m pip install matplotlib
Now test whether all the libraries are installed or not in the system perfectly....
for this follow the below steps:
open IDLE app (click windows button and type IDLE) ---> File ---> New File ---> type below program ---> File Save (CTRL+S)--->save file with a valid name ----> [Run ---> Run Module ]OR [F5]
print('Hello World')
import pandas as pd
print('importing pandas over')
import matplotlib.pyplot as md
print('importing matplotlib over')
import plotly as pt
print('plotly over')
The above image shows that everything has been installed successfully. If any error rises then (uninstall the IDLE app, Restart the PC, Try installing the Python from Microsoft Store)
For the first time execution, Hello World appears quickly but "importing pandas over" output takes a lot of time ; Next time onwards all outputs are at instance...
Note:
• C programs are → compiled once (on a compiler like Clang, GCC,..) → run ".exe" directly on the CPU (no runtime translation, no interpreter required)
• Python programs are → compiled once to bytecode (.pyc) → execute repeatedly on the Python Virtual Machine via the interpreter (recompiled only if the source changes)