Python Intership Report
Python Intership Report
A PROJECT REPORT
Submitted by
KISHOREKUMAR G S 24508778
SIVA A 24508803
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Mr.N.JAYAPRAKASH HEAD Mr.N.JAYAPRAKASH
OF THE DEPARTMENT GUIDE
We also thank all those who have rendered help directly and
indirectly at various phases of the project work.
iii
TABLE OF CONTENTS
1 Abstract 01
2.1 Mission 02
2.2 vision 02
3 Objectives of Internship 03
5 Methodology 06
5.1.INTERNSHIP ACTIVITIES 07
6 Conclusion 17
7 Bibliography 18
1
1.ABSTRACT
Python has emerged as a versatile programming language for Embedded Systems,
WebApplication Development, Data Science and Artificial Intelligence. Python is a High-Level,
Object-Oriented programming language that is widely used in projects ranging from machine
learning and data science, to backend web development. It is considered as one of the most
indemand programming language globally. Python is an interpreted, interactive, object-oriented
programming language. It incorporates modules, exceptions, dynamic typing, very high level
dynamic data types, and classes. It supports multiple programming paradigms beyond
objectoriented programming, such as procedural and functional programming. Build real-world
Artificial Intelligence applications with Python to intelligently interact with the world around
us.Python has Prebuilt Libraries like Numpy for scientific computation, Scipy for advanced
computing and Pybrain for machine learning (Python Machine Learning) making it one of the
best languages For AI.
Artificial Intelligence is one of the hottest fields in computer science right now and
has taken the world by storm as a major field of research and development. Python has surfaced
as a dominant language in AI/ML programming because of its simplicity and flexibility, as well
as its great support for open source libraries such as Scikit-learn, Keras, spaCy and TensorFlow.
It is designed to teach you the fundamentals of Deep Learning and use them to build intelligent
systems. You’ll solve real-world problems such as face detection, handwriting recognition, and
more. You’ll get an exposure to hands-on projects that simplify your first steps in the world of
Artificial Intelligence with Python. You’ll get well-versed with AI concepts that have you up and
running with AI in no time.
Artificial Intelligence with Python – Deep Neural Networks, covers different Artificial
Intelligence learning techniques with neural networks. The course is an introduction to the basics
of deep learning methods. We will start with object detection and tracking, in which we will
track faces, objects and eyes. We will then build a neural network and an OCR. We will then
learn how to build learning agents that can learn from interacting with the environment.
1
2. ABOUT THE COMPANY
2.1. MISSION
Clarozon technologies will be the partner of best choice for business. The
organization build and provide innovation reliable and cost-effective solutions for their
customers to achieve IT efficiency and business profitability.
2.2. VISION
The organization seek to deliver innovative technology solutions that will create
value for our career.
2
3. OBJECTIVE
Technology changes very rapidly, and needs are constantly shifting. While balancing
the costs associated with reliability, efficiency and availability of technology, it is our goal to
also provide the most useful solutions available. Here are some of the objectives that why I had
chosen Python with Artificial Intelligence for internship .
To develop and implement support strategies and methodologies of effective use of information
technology, with effectively managed ICT resources, to archive the mission and vision of IMR.
To effectively manage ICT procurements and coordinate all request to integrate new
technologies, acquire new hardware or software, and replace obsolete equipment or services to
meet an ever-changing environment.
To plan, organise and provide training that will enhance staffs ICT knowledge and the
skills that are increasingly fundamentals for workers in research institutions.
Short term objectives of Clarozon include relating to specific period of time, such as
financial year. To raise sales by 5% and profit by 12% is an example for short term objective of
this company.
Clarozon technologies Company often aim for long term economic product for their
product and services. The expression "satisficing" which relates to the minimization of
production costs started to be used together with profit maximization to refer to long team
financial objectives.
TO GAIN EXPERIENCE
The best experience comes from the internships because I get to do bit of everything! I get to see
and experience the different roles that people play in certain companies and working life from
different perspectives I would have already had to go at things and understood how to multitask.
3
TO HAVE A GOOD UNDERSTANDING
This internship allows me to take time to understand my role, task and industry. I used this
opportunity to understand each task and how to use a new tool.
DEFINE PROBLEMS
It forces everyone to learn to identify and defend problems, understand and navigate formal and
informal structures identify implementable actions and exercise judgements when making
decisions.
TO DEVELOP THINKING
It helps me to develop integrative thinking. The ability to constructively face the tensions of
opposing models and choosing one of the expenses of the other generates a creative resolution.
BUILD CONFIDENCE
This internship helps me to build confidence which allow you to grow as a worker and a person
Confidence is a key because if you don't believe in yourself. This internship helped to build
confidence through practice which helps me in personal growth.
4
4.CHALLENGES AND OPPORTUNITIES IN INTERNSHIP
Unnoticed Work
It goes without saying that one does well in any field because they expect recognition. As an
intern, you might be doing very good but still, find yourself in a position where your part is
hardly appreciated. That can clearly be somewhat discouraging.
It's your first job kind of experience. Reaching late for classes and late submissions of
assignments was tolerated by your college professors. But in a professional workspace it isn't
acceptable and hence managing time can be really difficult for you. A balance between
work.academics, and personal life also seems to be a challenge.
5
5.INTERNSHIP ACTIVITIES
DATE DAY TOPIC NAME / TASK COMPLETED
18/08/2021 Wednesday Basic of python
19/08/2021 Thursday List,tuple,dictionary
1ST WEEK
6
5.1 INTERNSHIP ACTIVITIES
Python Basics
Python is a popular programming language. It was created by Guido van Rossum, and released
in 1991.It is used for webdevelopment(server-side),software development,mathematics,system
scripting.
Example, Print(“Hello,World!”)
List ,Tuple,Dictionary:
7
>>> print (L1[2])
B.Com FY
B. Com FY
B.com FY
The try block lets you test a block of code for errors.The except block lets you
handle the error.The finally block lets you execute code, regardless of the result of the try- and
except blocks.Example,
try:
print (x)
except NameError:
except:
print('Failed')
finally:
print("----Thank You----")
----Thank You----
Functions:-A function is a block of code which only runs when it is called.You can pass data,
known as parameters, into a function.A function can return data as a result.Example,
def add():
b=13
d=18
c=b+d
8
print (c)
add() Output:32
Task program:-python program for spining game,
import random
def simple():
roll= 'yes'
while roll == 'yes':
print(random.randint(1,6))
roll = input("Do you wanna roll the dice again? ")
simple()
Output:4
Do you wanna roll the dice again? yes
6
Do you wanna roll the dice again? No
oops concept:In Python, we can easily create and use classes and objects.An object-oriented
paradigm is to design the program using classes and objects.Example,
class Person:
x=5
obj=Person()
print(obj.x)
Output:5
Introduction to AI:
9
Why Python for Al-Artificial intelligence is considered to be the trending technology of the
future. Already there are a number of applications made on it. Due to this, many companies and
researchers are taking interest in it. But the main question that arises here is that in which
programming language can these AI applications be developed? There are various programming
languages like Lisp, C++, Java and Python, which can be used for developing applications of
AI.Among with them python gains simple syntax & less coding.
Inbuilt libraries for Al projects-A major advantage for using Python for AI is that it comes
with inbuilt libraries. Python: has libraries for almost all kinds of AI projects. For example,
NumPy, SciPy, matplotlib, nitk, SimpleAI are some the important inbuilt libraries of Python.
gro={"salt":15,"sugar":38,"apple":50,"org":45,"potato":25,"pumpkin":15,"cauliflower":20}
again="yes"
b_to=[]
while again=="yes":
product=input("Enter grocery:")
qty=0
qty=int(input("Enter qty:"))
price=gro.get(product)
print("price:", price)
b_to.append(total)
else:
Output:
10
Enter grocery:salt
Enter qty:5
price: 15
Enter grocery:sugar
Enter qty:2
price: 38
1. Define the question or goal behind the analysis: what are you trying to discover?
3. Perform data cleaning data wrangling to improve data quality and prepare it for analysis and
interpretation-getting data into the right format getting rid of unnecessary data. correcting
spelling mistakes, etc.
4. Manipulate data using Excel or Google Sheets. This may include plotting the data out. creating
pivot tables, and so on.
5. Analyze and interpret the data using statistical tools (i.e. finding correlations,trends,etc.).
11
6. Present this data in meaningful ways, graphs. visualizations, charts, tables, etc. Data analysts
may report their findings to project managers, department beads, and senior-level business
executives to help them make decisions and spot patterns and trends.
The basics of data analysis involve retrieving and gathering large volumes of data,
organizing it and turning it into insights businesses can use to make better decisions and reach
conclusions. To share their findings with business decision-makers, an analyst (or data
visualization specialist) may create charts, graphs, etc. In short: they take worthless data and
produce meaningful actionable results.
Numpy stands for Numerical Python' or 'Numeric Python. It is an open source module
of Python which provides fast mathematical computation on arrays and matrices. Since, arrays
and matrices are an essential part of the Machine Learning ecosystem. NumPy along with
Machine Learning modules like Scikit-learn, Pandas, Matplotlib. TensorFlow, etc, complete the
Python Machine Learning Ecosystem.
>>>import numpy as np
NumPy's main object is the homogeneous multidimensional array. It is a table with same
type elements, i.e. integers or string or characters homogeneous), usually integers. In NumPy,
dimensions are called axes. The number of axes is called the rank.There are several ways to
create an array in NumPy like np.array, np.zeros ,no.ones, etc. Each of them provides some
flexibility.
Similar to Numpy. Pandas is one of the most widely used python libraries in data science.
It provides high-performance, easy to use structures and data analysis tools. Unlike NumPy
library which provides objects for multi-dimensional arrays. Pandas provides in-memory 21 table
object called Dataframe. It is like a spreadsheet with column names and row labels.Pandas can
be imported into Python using:
12
1. Series objects: ID array, similar to a column in a spreadsheet. 2. DataFrame objects:
2D table, similar to a spreadsheet. 3. Panel objects: Dictionary of DataFrames, similar to sheet in
MS Excel. Pandas Series object is created using pd.
Read Data-We use pandas.read_csv() function to read the csv file. In the bracket, we put the file
path along with a quotation mark, so that pandas will read the file into a data frame from that
address The file path can be either an URL or your local file address.
>>>data=pd.read_csv('dirtydata.csv')
data.head()
Data Wrangling-Data Wrangling is the process of converting data from the initial format to a
format that may be better for analysis. Python list heaters containing name of headers. The
Pandas method read_csv () to load the data from the web address. Set the parameter "names"
equal to the Python list "headers". How to work with missing data?Steps for working with
missing data:
The missing values are converted to default.We use the following functions to
identify these missing value.There are two methods to detect missing data:
1. isnull()
2. notnull()
The output is a Boolean value indicating whether the value that is passed into the argument is in
fact missing data.missing_data=df.isnull()
Missing_data.heat(5)
“True” stands for missing value,while “False”stands for not missing value.Count missing values
in each column.
Correct data format:The last step in data cleaning is checking and making sure that all data is
in the correct format(int,float,text or other).In Pandas,we use
What is Standardization?
13
Standardization is the process of transforming data into a common format which
allows the researcher to make the meaningful comparison.Example,
Data Normalization :
df[‘length’]=df[‘length’]/df[‘length’].max()
Machine learning
Machine learning is a method of data analysis that automates analytical model building. It is a
branch of artificial intelligence based on the idea that systems can learn from data, identify
patterns and make decisions with minimal human intervention.
#import
import numpy as np
import pandas as pd
data=pd.read_csv(r'C:\Users\ELCOT\Documents\deb.csv') #read
data.head()
14
le=LabelEncoder()
data['RAM']=le.fit_transform(data['RAM'])
data.head()
Train-Test Split:
x=data.drop(columns='RAM')
y=data['RAM']
x_train,x_test,y_train,y_test=train_test_split(x,y,test_size=0.3)
model=LogisticRegression()
model.fit(x_train,y_train)
result=round(model.score(x_test,y_test)*100)
print(result)
Output:73
Logistics Regression
Decision Tree
15
Naive Bayes
K-Nearest Neighbors(KNN)
K-Means Clustering
Random Forest
Deep learning :
Deep learning utilizes both structured and unstructured data for training.
Practical examples of deep learning are Virtual assistants, vision for driverless cars, money
laundering, face recognition and many more.
2. Hidden layer
3. Output layer
Problem Statement:
To study a bank credit data set and determine whether a transaction is fraudulent or not
based on past data.
Logic:
To build a Neural Network that can classify a transaction as either fraudulent or not
based on past transactions.
16
6. CONCLUSION
Finally I conclude this industry exposure which helped me to know about python with Artificial
Intelligence and how it works in real life scenario. During this internship, I learned the exposure
in python with artificial Intelligence and to solve problems. I ensure that it will bring out
successful projects based on python with artificial Intelligence in my upcoming career.
Therefore, this training completely and successfully gave me the work experience in clarozon
technologies in a fruitful and efficient way.
17
7. BIBLIOGRAPHY
2.Artificial Intelligence:
https://www.tutorialspoint.com/artificial_intelligence_with_python/artificial_intelligence_with_p
ython_tutorial.pdf
3.Data type:csv
4.Labs.cognitiveclass.ai/tools/jupyterlab
5.BOOK REFERENCES:
Prateek joshi ,Artificial Intelligence with python ,Pack publishing ltd,Jan 2017
edition
18