Test Project
Test Project
Experiment No:
➔ AIM OF PRACTICAL:
Understanding the Data analysis/Visualization using AIML algorithms and Matplotlib.
➔ TOOL USED:
Google Collab
➔ THEORY:
Matplotlib: Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations
in Python. Matplotlib makes easy things easy and hard things possible.
• Create publication quality plots.
• Make interactive figures that can zoom, pan, update.
• Customize visual style and layout.
• Export to many file formats.
• Embed in JupyterLab and Graphical User Interfaces.
• Use a rich array of third-party packages built on Matplotlib..
➔ Google Colab: It is basically a free notebook environment that runs fully in the cloud. It has
features that help you to edit documents like the same way you work with Google Docs. Colab supports
many popular and high-level machine learning language which can easily loaded into your notebook
University Institute of Engineering
Department of Computer Science & Engineering
x=[0,10,30,50]
y=[25,35,65,70]
University Institute of Engineering
Department of Computer Science & Engineering
x1=[12,31,40,65]
y1=[10,20,30,40]
plt.title("current vs time_kirandeep10682")
plt.plot(x1,y1,label="time", linewidth="4")
plt.plot(x,y,label="current",linewidth="1")
plt.ylabel('current')
plt.xlabel('time')
plt.savefig("kirandeep.jpg")
plt.plot(x,y)
plt.legend()
plt.show()
x=[0,10,30,50]
y=[25,35,65,70]
x1=[12,31,40,65] y1=[10,20,30,40]
plt.title("current vs time_kirandeep10682")
plt.bar(x1,y1,label="time", linewidth=4)
plt.bar(x,y,label="current", linewidth=1)
plt.ylabel('current')
plt.xlabel('time')
plt.bar(x,y)
plt.legend()
plt.show()
University Institute of Engineering
Department of Computer Science & Engineering
x=[0,10,30,50]
y=[25,35,65,70]
x1=[12,31,40,65]
y1=[10,20,30,40]
plt.title("current vs time_kirandeep10682")
plt.barh(x1,y1,label="time", linewidth=4)
plt.barh(x,y,label="current", linewidth=1)
plt.ylabel('current')
plt.xlabel('time')
plt.barh(x,y)
plt.legend()
plt.show()
University Institute of Engineering
Department of Computer Science & Engineering
University Institute of Engineering
Department of Computer Science & Engineering
University Institute of Engineering
Department of Computer Science & Engineering
1.
x=[0,10,30,50]
y=[25,35,65,70]
x1=[12,31,40,65]
y1=[10,20,30,40]
University Institute of Engineering
Department of Computer Science & Engineering
plt.title("current vs time_kirandeep10682")
plt.scatter(x1,y1,label="time", linewidth=4)
plt.scatter(x,y,label="current",linewidth=1)
plt.ylabel('current')
plt.xlabel('time')
plt.scatter(x,y)
plt.legend()
plt.show()
x=[0,10,30,50]
y=[25,35,65,70]
x1=[12,31,40,65]
y1=[10,20,30,40]
plt.title("current vs time_kirandeep10682")
plt.scatter(x1,y1,label="time", color="k")
plt.scatter(x,y,label="current", color="b")
plt.ylabel('current')
plt.xlabel('time')
plt.scatter(x,y)
plt.legend()
plt.grid()
plt.show()
University Institute of Engineering
Department of Computer Science & Engineering
x=[0,10,30,50]
y=[25,35,65,70]
x1=[12,31,40,65]
y1=[10,20,30,40]
plt.title("current vs time_kirandeep10682")
plt.scatter(x1,y1,label="time", color="k")
plt.scatter(x,y,label="current", color="b")
plt.ylabel('current')
plt.xlabel('time')
plt.scatter(x,y)
plt.legend()
plt.grid()
plt.show()
University Institute of Engineering
Department of Computer Science & Engineering
University Institute of Engineering
Department of Computer Science & Engineering
University Institute of Engineering
Department of Computer Science & Engineering
data into a suitable format for analysis. Next, different AI/ML algorithms, such as regression, classification,
and clustering, are applied to the processed data to uncover patterns, trends, and relationships.Participants
are then guided through the process of using Matplotlib to create detailed and meaningful visualizations,
such as line plots, scatter plots, histograms, and heatmaps. These visualizations help in better
understanding the data and the outcomes of the AI/ML models.
Evaluation Grid:
Sr. Parameters Marks Obtained Maximum Marks
No.
1. Student Performance 12
(Conduct of experiment)
2. Viva Voce 10
3. Submission of Work Sheet (Record) 8