Professional Documents
Culture Documents
Degree
of
BACHELOR OF TECHNOLOGY
In
I Ms. Aditi Jain hereby undertake that, I have completed 50 days summer
training at Cipher Schools from 11th May 2020 to 30th June 2020.
The record of practical training is prepared by me and submitted for the
partial fulfillment of the Requirement of the degree Bachelor of
Technology in Computer Science and Engineering at Jodhpur Institute of
Engineering & Technology, Jodhpur; is a record of the undertaken by her.
COMPANY CERTIFICATE
ACKNOWLEDGEMENT
I would also like to pay my sincere gratitude to Ms. Mamta Garg, Head of
the Department of Computer Science & Engineering for providing all
facilities necessary for the report formation, for all her support and
motivation extended.
I would also like to express my special thanks to few of my batch mates for
their continued support during the report formation.
In this project we were asked to experiment with a real world dataset and to
explore how Machine Learning algorithms can be used to find Patterns in
data.
CONTENTS
Python is a widely used general-purpose, high level programming language. It’s an open
source programming language. It is available and can run on various operating systems
such as Mac OS, Windows, Linux , Unix etc. This makes it a cross platform and portable
language.
Features of Python :
1. Simple and easy to learn
2. Free and open source.
3. General Purpose and high level programming language.
4. Platform independent.
5. Case Sensitive.
6. Interpreted Language.
7. Dynamically typed.
8. Rich Library.
9. We can write concise code using python.
Applications :
1. Desktop Applications (Calculator, Notepad, etc..)
2. Web Applications (YouTube, Dropbox, Google, Instagram, Quora, Spotify)
3. Scientific and Numeric Computing (Scipy, Numpy)
4. Database Applications (Library Management Systems, Pharmaceutical)
5. Network Applications
6. Developing Games (Battlefield, Sims 4, PUBG)
7. Data Science (Pandas, Matplotlib, Seaborn, etc)
8. Machine Learning
9. AI
10. IOT
Identifiers :
Rules to define identifiers :
1. Allowed characters → Alphabets, Digits and Underscore Symbol
2. Identifier should never start with a digit
3. Case Sensitive.
4. No length limit.
5. Can't use reserved words for identifier.
Data Types :
Numeric - int, float, complex (Immutable)
Boolean - bool (True/False)
Strings (Immutable)
List (Mutable, mostly used to store homogeneous data types)
Tuple (Immutable, faster compared to List)
Set (Unordered collection of items, mutable, removes duplicates)
Dictionary (Unordered collection of Key-Value Pairs, Mutable, Keys are
Unique - values may not be unique)
Comments :
# This is a single line comment
'''
this is a
multiline comment - 1
'''
"""
this is a
multiline comment - 2
"""
Here are some problem statements :
# 1. Write a program to get a user input in the form of a list data
type. Return a list by removing all the duplicates.
lst=[]
n=int(input("Enter no. of elements : "))
lst=list(set(lst))
lst.sort()
lst
# 2. Write a program to create a user defined tuple with ‘int’ data type
and perform the following operations:
# (a) Find the length of tuples
# (b) Find the sum of all the elements of a tuple
# (c) Find the largest and smallest elements of a tuple
lst=[]
n=int(input("Enter no. of elements : "))
print("\nLength : ",len(lst))
print("Sum : ",sum(lst))
print("Largest : ",max(lst))
print("Smallest : ",min(lst))
Length : 5
Sum : 23
Largest : 9
Smallest : 2
# 3. Given a number and ith bit, change the ith bit of that number to 1.
# Sample Input -> num = 13, i = 1
# Output -> 15
Enter a Number : 13
Enter the Bit to Change : 1
15
Enter a number : 6
0
lst1=[1,3,9,12]
lst2=[5,9,3,19,13,7]
lst1=set(lst1)
lst2=set(lst2)
mlist=lst1.union(lst2)
mlist=list(mlist)
mlist.sort()
mlist
dict1 = dict()
for x in range (0,n):
user_input = input("enter the name and the marks of the students
separated by commas(,) : ")
key,value = user_input.split(",")
dict1[key] = value
lst=list(dict1.items())
lst.sort(key=lambda x:x[1])
print(lst)
Mathematics
Linear Algebra
In the above figure, the LHS shows the column vector of a point in m dimensions.
And right one shows the row vector as the transpose of it’s column vector.
From above, we can also conclude that Euclidean of a Point from origin in n
dimensions is as follows :
Since we represent points as vectors, we use operations like vector addition and
vector multiplication. Here we’ll use only dot products of vectors.
Or,
In n dimensions,
Projection:
where a1 = || projba ||
The magnitude of a unit vector is unity. Unit vector has only direction and no
units or dimensions.
e.g.
Margins : 1” on top, bottom & right, 1.25” on left.
Page Nos. : Bottom right corner starting from Chapter 1 to end
Text Font : Time New Roman
Main Body : 12 pts, 1.5 spacing with 0.5” paragraph margin and
one blank line between all paragraphs and between
titles/subtitles and paragraphs
Headings - : Left Justified, 14 Pts, Bold Face, Title Case with Section Nos., Chapter
wise.
Sub Headings-: Left Justified, 12 Pts, Bold Face, and Title Case with Section Nos.
Figure Captions:
Figure – Chapter No. Figure No. – Name of Figure
(Bold Face, Title Case, Centered, 10 Pts. at the bottom of Figures)
Table Captions:
Table – Chapter No. Table No. – Name
(Bold Face, Title Case, Centered, 10 Pts. at the top of Table)
NOTE-
1. Page no- Bottom right corner starting from Chapter 1 to end as mention above.
2. Page no for certificate, acknowledgement and index must be in roman.
3. Conclusion and Bibliography/References in last two pages must be there.