Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
162 views27 pages

Internship Report - Spoorthi

Orion Web Service is a digital marketing company that offers web development, digital marketing, project outsourcing, and corporate training services. The company focuses on understanding client challenges and driving digital transformation. It has a team of skilled engineers and designers who deliver scalable, innovative software solutions. Orion Web Service aims to help businesses succeed online through services like website design, lead generation, and targeted digital strategies. The internship aims to provide practical work experience and career development opportunities for students to explore fields like coding and programming.
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)
162 views27 pages

Internship Report - Spoorthi

Orion Web Service is a digital marketing company that offers web development, digital marketing, project outsourcing, and corporate training services. The company focuses on understanding client challenges and driving digital transformation. It has a team of skilled engineers and designers who deliver scalable, innovative software solutions. Orion Web Service aims to help businesses succeed online through services like website design, lead generation, and targeted digital strategies. The internship aims to provide practical work experience and career development opportunities for students to explore fields like coding and programming.
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/ 27

About the Company:

Introduction to company

Orion Web Service a company built for your business. Our thinking is be transformational,
don’t just “do” digital. “Be” digital. Change before change will change you. At Orion Web
Service we focused on understanding challenges, aware of opportunities, driven to solve for
you. Let’s take your first step towards being a digital. We are serving our global clients with
today’s new digital capabilities.Orion Web Service is an emerging digital marketing services
company in India with a mission to help small & medium enterprises paint their own digital
success story on the web. With our team of passionate internet marketers, we aim to make
online lead generation a reality for the most challenging industries.

We are helping entrepreneurs to take their starts up product and services to worldwide markets.
Every business deserves to be global, new market introduction is must. The entrepreneurs
always search for a change, Orion Web Service is that change who is helping every
entrepreneur to grow business in global market. If you are an entrepreneur, the Orion Web
Service is your opportunity.

Key features

1. Orion Web Services specializes in cutting-edge web development, offering custom solutions
tailored to client needs.

2. The company boasts a team of skilled software engineers and designers, ensuring high-
quality and innovative digital products.

Page1of27
3. Known for its commitment to client satisfaction, Orion Web Services prioritizes clear
communication and collaboration throughout the development process.

4. With expertise in diverse technologies, the company delivers scalable and efficient software
solutions for businesses of all sizes.

5. Orion Web Services places a strong emphasis on staying current with industry trends,
guaranteeing that clients receive forward-thinking and competitive software solutions.

Services

Web Development
We provide effective, stylish and affordable website design and development services. As a well-
established small business web design company,

We can offer a range of affordable web design services to any business or company.

Digital Marketing

Creating an incredible website is only half the battle. Next, you’ll need the right strategy to attract the
right customers, as well as monitor and measure its success. Our team of digital marketing experts
provides targeted,

Digital solutions that put you in control of who views your site, guides visitors to your end goal and
reports back.

Project/Manpower Outsourcing
Our IT resourcing facility provides for all roles, at all levels, across all technological boundaries
within organizations.

Page2of27
What Do We Do?

At ORION we develop Customized Application Software, Web / Mobile Applications, Maintenance


and Support for the IT Requirements.

Also we provide Manpower Outsourcing Services according to the clientele requirements in the IT
Sector.

Corporate Training / Internship Programs

At ORION, we deliver many innovative learning methods that have revolutionized the way students
learn, retain and apply new knowledge.

Our Focus

» Build a new Software Product or incorporate new technologies while managing an existing product
release.

» Manage Costs and Delivery in your given window of opportunity.

» Easy Maintenance and Up - Gradations for the products developed.

Software Development
ORION is a global software services company focused on one thing - helping you make an impact on
business and drive value through your IT investments.

Corporate Training / Internship Programs


At ORION, we deliver many innovative learning methods that have revolutionized the way students
learn, retain and apply new knowledge.

Project Outsourcing / Manpower Outsourcing


Our IT resourcing facility provides for all roles, at all levels, across all technological boundaries
within organizations.

App Development
Our mobile app developers create solutions that work seamlessly across all platforms and operating

Page3of27
systems: Smartphone, tablet or laptop or running iOS, Android, BlackBerry OS or Windows.

Webhosting
We are also doing both Linux Webhosting and Windows based webhosting. Building on its varied
expertise and domain knowledge, ORION offers clients a wide range IT services. These services
enable business to "Do Business Better" through optimum use of technology and process excellence
and help you to perform in this dynamic market environments’.

Application Development Services & Management

Enterprises today are operating in a dynamic business environment, and efficiency in business is
paramount for an enterprise to remain competitive and ahead of the curve. Technology& business
applications have helped in improving and enhancing efficiency levels. However, with increasing
complexities and challenges, a "one-size-fits-all" application may not produce the desired results.

The need of the hour is for customized applications that can solve business challenges and adapt to
changing business needs.

ORION is closely engaged with global enterprises in building such applications. Our Application
Development and Management services are strategic, in that we work closely with customer's
business functions, understand the pain points, identify areas of improvement, and provide holistic
solutions and support that translate to tangible business results.

Page4of27
Index

Sl.No Content PageNo.


1 Internship Objectives
2 Introduction
3 Internship Discussion
4 Challenges Faced
5 Conclusion
6 Bibliography

Page5of27
1. Internship objective
1.1 Purpose/Objective of Internship

Internships are generally thought of to be reserved for college students looking to gain
experience in a particular field. However, a wide array of people can benefit from Training
Internships in order to receive real world experience and develop their skills.

An objective for this position should emphasize the skills you already possess in the area and
your interest in learning more

Internships are utilized in a number of different career fields, including architect ure,
engineering, healthcare, economics, advertising and many more.

Some internship is used to allow individuals to perform scientific research while others are
specifically designed to allow people to gain first-hand experience working.

Utilizing internships is a great way to build your resume and develop skills that can be
emphasized in your resume for future jobs. When you are applying for a Training Internship,
make sure to highlight any special skills or talents that can make you stand apart from the rest
of the applicants so that you have an improved chance of landing the position.

Methodology

1. Project Identification and Selection


2. Project Initiation and Planning
3. Analysing System needs
4. Designing the Proposed System
5. Development of the Proposed System
6. Testing the Proposed System
7. Implementing the Proposed System

Responsibilities
✓ Assisting the Development Manager with all aspects of software design and coding.
✓ Learning the code base and improving your coding skills.

Page6of27
✓ Writing and maintaining code.
✓ Working on minor bug fixes.

2. Introduction

Internships are formal programs designed to provide practical experience in real world
environment to students who are new to that field. Internships help build competent résumé by
giving students visible work experience. Although colleges and universities assists students in
finding the right Internship programs, it is the responsibility of the would-be interns to carefully
examine internship programs, and see if those programs actually offer the training(s) they need.

There is no standardized duration for how long an Internship program lasts but typically an
Internship is the period of three to twelve months. During this period, interns have the
opportunity to explore their field of interest, find out what future they are diving into and
whether or not their skill sets match their path of career.

Purpose of Internship

Internship program provides a new perspective to the students. It provides learning


opportunities outside the boundaries of the course curriculum and classroom activities. These
opportunities enhances student’s capability to apply theoretical understanding into real-world
scenarios, thereby enhancing the students’ academic and career goals

From the student perspective, internship assists with career development in different diverse
fields such as coding, programming, networking, marketing, etc. by providing vital work
experience that allows students to explore their area of interests and develop relevant skills and
competencies.
From the organization perspective, internship provides a unique opportunity to train fresh talents,
enhance their professional development as well as aid the professional growth of the intern
mentor/supervisor. Organizations can also find potential employees within the interns.

Objective of Internship

The purpose of this internship is to expose students to real work of environment experience
and at the same time. The report is prepared for the purpose of explaining the achievement of
the author during internship period. The objectives of internship program are as follows:
Page7of27
 To build the strength, teamwork spirit and self-confidence in students life.
 Provides the opportunity to learn real-life work skills and etiquette hands-on at a real
job.
 To Gain valuable skills, knowledge and experience in a field to allow you to make a
career transition.
 Explore a career interest, develop skills, and gain experience.
 Internship, focus on the skills you will learn and the experiences you will have, not
simply on the company name.
 To help you apply the theory and skills you have learned in the classroom setting,
and for your personal development.
 The student will be able instilled with good moral values such
as responsibility, commitment and trustworthy during their training
 Internships strengthen resumes by giving students visible work experience
and providing older job hunters with needed credentials to change
careers.

3. Internship Discussion
Page8of27
3.1 Responsibilities assigned

1. Research Tasks: Conducting research on industry trends, competitors, or market analysis to


provide valuable insights to the team.

2. Data Analysis: Collecting, organizing, and analyzing data to support decision-making


processes within the company.

3. Assisting with Presentations: Helping to create and format presentations for internal or
external use, often using tools like PowerPoint or Google Slides.

4. Administrative Support: Performing various administrative tasks such as scheduling


meetings, managing calendars, and handling routine office duties.

5. Project Assistance: Supporting ongoing projects by contributing to different aspects, such


as project planning, coordination, and execution.

6. Content Creation: Generating content for marketing materials, social media, or internal
communications, including writing blog posts, articles, or creating visual content.

7. Learning and Development: Participating in training sessions or workshops to enhance


skills and knowledge related to the industry or specific job functions.

8. Collaboration: Working closely with team members on cross-functional projects and


contributing to team discussions and meetings.

9. Client Interaction: Assisting in client communications, whether through emails, phone


calls, or meetings, to build relationships and provide support.

10. Problem Solving: Tackling challenges and problem-solving within the scope of the
Page9of27
internship, demonstrating an ability to think critically and propose solutions.

3.2 Tools and technology learnt/used

Tools and technology used:

Machine Learning

Machine Learning (ML) is that field of computer science with the help of which computer
systems can provide sense to data in much the same way as human beings do. In simple words,
ML is a type of artificial intelligence that extract patterns out of raw data by using an algorit hm
or method. The main focus of ML is to allow computer systems learn from experience without
being explicitly programmed or human intervention.

Machine Learning Model

A computer program is said to learn from experience E with respect to some class of tasks T
and performance measure P, if its performance at tasks in T, as measured by P, improves with
experience E.

ML is a field of AI consisting of learning algorithms that:

 Improve their performance (P)

 At executing some task (T)

 Over time with experience (E)

Python

Python is a widely used general-purpose, high level programming language. It was initially designed
by Guido van Rossum in 1991 and developed by Python Software Foundation. It was mainly developed
for emphasis on code readability, and its syntax allows programmers to express concepts in fewer lines
of code.

Python is a programming language that lets you work quickly and integrate systems more efficiently.
Page10of27
Python was developed by Guido van Rossum in early 1990’s and its latest version is 3.7.1, we can
simply call it as Python3. Python 3.0 was released in 2008. And is interpreted language i.e. it is not
compiled and the interpreter will check the code line by line.

Python is Interpreted − Python is processed at runtime by the interpreter. You do not


need to compile your program before executing it. This is similar to PERL and PHP.

Python is Interactive − You can actually sit at a Python prompt and interact with the
interpreter directly to write your programs.

Python is Object-Oriented − Python supports Object-Oriented style or technique of


programming that encapsulates code within objects.

Python is a Beginner's Language − Python is a great language for the beginner- le vel
programmers and supports the development of a wide range of applications from simple text
processing to WWW browsers to games
Why Python?

Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.).

Python has a simple syntax similar to the English language.

Python has syntax that allows developers to write programs with fewer lines than some other
programming languages.

Python runs on an interpreter system, meaning that code can be executed as soon as it is written

NumPy

It is another useful component that makes Python as one of the favorite languages for Data
Science. It basically stands for Numerical Python and consists of multidimensional array
objects. By using NumPy,

We can perform the following important operations:

 Mathematical and logical operations on arrays.


 Fourier transformation.

Page11of27
 Operations associated with linear algebra.

We can also see NumPy as the replacement of MatLab because NumPy is mostly used along with
Scipy (Scientific Python) and Mat-plotlib (plotting library).

Pandas

It is another useful Python library that makes Python one of the favorite languages for Data
Science. Pandas is basically used for data manipulation, wrangling and analysis. It was
developed by Wes McKinney in 2008.

 Load

 Prepare

 Manipulate

 Model

 Analyze

Scikit-learn

Another useful and most important python library for Data Science and machine
learning in Python is Scikit-learn.

The following are some features of Scikit-learn that makes it so useful:

 It is built on NumPy, SciPy, and Matplotlib.

 It is an open source and can be reused under BSD license.

 It is accessible to everybody and can be reused in various contexts.

 Wide range of machine learning algorithms covering major areas of ML like classificat io n,
clustering, regression, dimensionality reduction, model selection etc. can be implemented with
the help of it.

Page12of27
BEYOND ACADEMICS

Random Forest Algorithm

Random forest is a supervised learning algorithm which is used for both classification as well as
regression. However, it is mainly used for classification problems. As we know that a forest is made up
of trees and more trees means more robust forest.

Similarly, random forest algorithm creates decision trees on data samples and then gets the prediction
from each of them and finally selects the best solution by means of voting. It is an ensemble method
which is better than a single decision tree because it reduces the over-fitting by averaging the result.

Why we should use the Random Forest algorithm:

 It takes less training time as compared to other algorithms.


 It predicts output with high accuracy, even for the large dataset it runs efficiently.
 It can also maintain accuracy when a large proportion of data is missing.

The following diagram will illustrate its working:

Page13of27
The Working process can be explained in the below steps and diagram:

Step-1: Select random K data points from the training set.

Step-2: Build the decision trees associated with the selected data points (Subsets).

Step-3: Choose the number N for decision trees that you want to build.

Step-4: Repeat Step 1 & 2.

Step-5: For new data points, find the predictions of each decision tree, and assign the new data
points to the category that wins the majority votes.

Python Implementation of Random Forest Algorithm

Now we will implement the Random Forest Algorithm tree using Python. For this, we will use
the same dataset "user_data.csv", which we have used in previous classification models. By
using the same dataset, we can compare the Random Forest classifier with other classifica t ion
models such as Decision tree Classifier, KNN, SVM, Logistic Regression, etc.

Implementation Steps are given below:

 Data Pre-processing step


 Fitting the Random forest algorithm to the Training set
 Predicting the test result
 Test accuracy of the result (Creation of Confusion matrix)
 Visualizing the test set result.

Support Vector Machine Algorithm

Support Vector Machine or SVM is one of the most popular Supervised Learning algorithms,
which is used for Classification as well as Regression problems. However, primarily, it is used
for Classification problems in Machine Learning.

The goal of the SVM algorithm is to create the best line or decision boundary that can segregate n-

Page14of27
dimensional space into classes so that we can easily put the new data point in the correct
category in the future. This best decision boundary is called a hyperplane.

SVM chooses the extreme points/vectors that help in creating the hyperplane. These extreme
cases are called as support vectors, and hence algorithm is termed as Support Vector Machine.
Consider the below diagram in which there are two different categories that are classified using
a decision boundary or hyperplane:

Example: SVM can be understood with the example that we have used in the KNN classifier.
Suppose we see a strange cat that also has some features of dogs, so if we want a model that
can accurately identify whether it is a cat or dog, so such a model can be created by using the
SVM algorithm. We will first train our model with lots of images of cats and dogs so that it
can learn about different features of cats and dogs, and then we test it with this strange creature.
So as support vector creates a decision boundary between these two data (cat and dog) and
choose extreme cases (support vectors), it will see the extreme case of cat and dog. On the basis
of the support vectors, it will classify it as a cat. Consider the below diagram

Page15of27
SVM algorithm can be used for Face detection, image classification, text categorization, etc.

Types of SVM

SVM can be of two types:

 Linear SVM: Linear SVM is used for linearly separable data, which means if a dataset can be
classified into two classes by using a single straight line, then such data is termed as linearly
separable data, and classifier is used called as Linear SVM classifier.
 Non-linear SVM: Non-Linear SVM is used for non-linearly separated data, which means if a
dataset cannot be classified by using a straight line, then such data is termed as non-linear data
and classifier used is called as Non-linear SVM classifier.

Hyperplane and Support Vectors in the SVM algorithm:

Hyperplane: There can be multiple lines/decision boundaries to segregate the classes in n-


dimensional space, but we need to find out the best decision boundary that helps to classify the
Page16of27
data points. This best boundary is known as the hyperplane of SVM.

The dimensions of the hyperplane depend on the features present in the dataset, which means
if there are 2 features (as shown in image), then hyperplane will be a straight line. And if there
are 3 features, then hyperplane will be a 2-dimension plane.

We always create a hyperplane that has a maximum margin, which means the maximum
distance between the data points.

Support Vectors:

The data points or vectors that are the closest to the hyperplane and which affect the position
of the hyperplane are termed as Support Vector. Since these vectors support the hyperplane,
hence called a Support vector.

How does SVM works?

Linear SVM:

The working of the SVM algorithm can be understood by using an example. Suppose we have
a dataset that has two tags (green and blue), and the dataset has two features x1 and x2. We
want a classifier that can classify the pair(x1, x2) of coordinates in either green or blue.
Consider the below image:

Page17of27
So as it is 2-d space so by just using a straight line, we can easily separate these two classes.
But there can be multiple lines that can separate these classes. Consider the below image:

Hence, the SVM algorithm helps to find the best line or decision boundary; this best boundary
or region is called as a hyperplane. SVM algorithm finds the closest point of the lines from
both the classes. These points are called support vectors. The distance between the vectors and
the hyperplane is called as margin. And the goal of SVM is to maximize this margin.
The hyperplane with maximum margin is called the optimal hyperplane.

Advantages:

 SVM works relatively well when there is a clear margin of separation between
classes.
 SVM is more effective in high dimensional spaces.
 SVM is effective in cases where the number of dimensions is greater than the number
of samples.
Page18of27
 SVM is relatively memory efficient.

Disadvantages:
 SVM algorithm is not suitable for large data sets.
 SVM does not perform very well when the data set has more noise i.e. target
classes are overlapping.

Machine learning has seen powerful use cases ranging from predicting customer behaviour
constituting the operating system for self-driving cars. But just because some industries have seen
benefits doesn't mean machine learning is without its downsides.
When it comes to advantages, machine learning can help enterprises understand their customers at a
deeper level. By collecting customer data and correlating it with behaviours over time, machine
learning algorithms can learn associations and help teams tailor product development and marketing
initiatives to customer demand.
Some internet companies use machine learning as a primary driver in their business models. Uber,
for example, uses algorithms to match drivers with riders. Google uses machine learning to surface
the right advertisements in searches.
But machine learning comes with disadvantages. First and foremost, it can be expensive. Machine
learning projects are typically driven by data scientists, who command high salaries.
These projects also require software infrastructure that can be high-cost.
There is also the problem of machine learning bias. Algorithms that trained on data sets that exclude
certain populations or contain errors can lead to inaccurate models of the world that, at best, fail
and, at worst, are discriminatory. When an enterprise bases core business processes on biased
models, it can run into regulatory and reputational harm.

MYSQL

MySQL is the most popular Open Source Relational SQL Database Management System. MySQL is
one of the best RDBMS being used for developing various web-based software applications. MySQL
is developed, marketed and supported by MySQL AB, which is a Swedish company. This tutorial
will give you a quick start to MySQL and make you comfortable with MySQL programming.

Page19of27
MySQL Database
MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses. MySQL is
developed, marketed and supported by MySQL AB, which is a Swedish company. MySQL
is becoming so popular because of many good reasons −
• MySQL is released under an open-source license. So you have nothing to pay to
use it.

• MySQL is a very powerful program in its own right. It handles a large subset of
the functionality of the most expensive and powerful database packages.
• MySQL uses a standard form of the well-known SQL data language.

• MySQL works on many operating systems and with many languages including
PHP, PERL, C, C++, JAVA, etc.
• MySQL works very quickly and works well even with large data sets.

• MySQL is very friendly to PHP, the most appreciated language for web
development.

• MySQL supports large databases, up to 50 million rows or more in a table. The


default file size limit for a table is 4GB, but you can increase this (if your
operating system can handle it) to a theoretical limit of 8 million terabytes (TB).
• MySQL is customizable. The open-source GPL license allows programmers to
modify the MySQL software to fit their own specific environments.

Page20of27
4. Challenges faced

1. Learning Curve: Interns often face a steep learning curve as they are exposed to new technologies,
tools, and work environments. Adapting quickly to these changes can be challenging.

2. Limited Practical Experience: Theoretical knowledge gained in classrooms might not always align
with the practical requirements of the internship. Navigating the gap between theory and real-world
application can pose a challenge.

3. Communication Barriers: Interns may struggle with effective communication within the team.
Understanding the workplace culture, communicating with colleagues, and seeking help when needed
are crucial skills to develop.

4. Time Management: Balancing tasks and meeting deadlines can be challenging, especially when
faced with multiple projects or tasks simultaneously. Learning to prioritize and manage time
effectively is a common challenge.

5. Adapting to Company Culture: Each workplace has its own unique culture and dynamics.
Integrating into a new work environment and understanding the company's values can be a significant
challenge during an internship.

6. Feedback and Criticism: Receiving constructive criticism can be tough for interns, especially if
they are not accustomed to it. Learning to accept feedback positively and using it for personal and
professional growth is an important skill.

7. Task Complexity: Interns may be assigned complex tasks that push the boundaries of their current
knowledge and skills. Overcoming the fear of tackling challenging assignments is a common hurdle.

8. Networking: Building professional relationships within the company and industry can be
challenging for interns. Initiating conversations, networking events, and creating lasting connections
are essential but may require effort.

Page21of27
9. Project Uncertainty: Interns may find themselves working on projects with unclear goals or
evolving requirements. Adapting to changes and uncertainty is a skill that interns often need to
develop.

10. Work-Life Balance: Striking a balance between work responsibilities and personal life can be
demanding, especially if the internship involves long hours or tight deadlines. Learning to manage
stress and maintain a healthy work-life balance is crucial.

CODING

# importing libraries
import numpy as nm
import matplotlib.pyplot as
mtp import pandas as pd

#importing datasets
data_set= pd.read_csv('user_data.csv')

#Extracting Independent and dependent


Variable x= data_set.iloc[:, [2,3]].values
y= data_set.iloc[:, 4].values

# Splitting the dataset into training and test set.


from sklearn.model_selection import
train_test_split
x_train, x_test, y_train, y_test= train_test_split(x, y, test_size= 0.25, random_state=0)

#feature Scaling
from sklearn.preprocessing import
StandardScaler st_x= StandardScaler()
x_train= st_x.fit_transform(x_train)
x_test= st_x.transform(x_test)

Page22of27
#Fitting K-NN classifier to the training set
from sklearn.neighbors import KNeighborsClassifier
classifier= KNeighborsClassifier(n_neighbors=5, metric='minkowski', p=2 )
classifier.fit(x_train, y_train)
#Predicting the test set result
y_pred=
classifier.predict(x_test)

#Creating the Confusion matrix


from sklearn.metrics import confusion_matrix
cm= confusion_matrix(y_test, y_pred)

#Visulaizing the trianing set result


from matplotlib.colors import ListedColormap
x_set, y_set = x_train, y_train
x1, x2 = nm.meshgrid(nm.arange(start = x_set[:, 0].min() - 1, stop = x_set[:, 0].max() + 1, step
=0.01),
nm.arange(start = x_set[:, 1].min() - 1, stop = x_set[:, 1].max() + 1, step = 0.01))
mtp.contourf(x1, x2, classifier.predict(nm.array([x1.ravel(), x2.ravel()]).T).reshape(x1.shape),
alpha = 0.75, cmap = ListedColormap(('red','green' )))
mtp.xlim(x1.min(), x1.max())
mtp.ylim(x2.min(), x2.max())
for i, j in enumerate(nm.unique(y_set)):
mtp.scatter(x_set[y_set == j, 0], x_set[y_set == j,
1],
c = ListedColormap(('red', 'green'))(i), label = j)
mtp.title('K-NN Algorithm (Training set)')
mtp.xlabel('Age')
mtp.ylabel('Estimated Salary')
mtp.legend()
mtp.show()

Page23of27
#Visualizing the test set result
from matplotlib.colors import ListedColormap
x_set, y_set = x_test, y_test
x1, x2 = nm.meshgrid(nm.arange(start = x_set[:, 0].min() - 1, stop = x_set[:, 0].max() + 1, step
=0.01),
nm.arange(start = x_set[:, 1].min() - 1, stop = x_set[:, 1].max() + 1, step = 0.01))
mtp.contourf(x1, x2, classifier.predict(nm.array([x1.ravel(), x2.ravel()]).T).reshape(x1.shape),
alpha = 0.75, cmap = ListedColormap(('red','green' )))
mtp.xlim(x1.min(), x1.max())
mtp.ylim(x2.min(), x2.max())
for i, j in enumerate(nm.unique(y_set)):
mtp.scatter(x_set[y_set == j, 0], x_set[y_set == j,
1],
c = ListedColormap(('red', 'green'))(i), label = j)
mtp.title('K-NN algorithm(Test set)')
mtp.xlabel('Age')
mtp.ylabel('Estimated Salary')
mtp.legend()
mtp.show()

Python implementation of the KNN algorithm

The Python implementation of the K-NN algorithm, we will use the same problem and dataset
which we have used in Logistic Regression. But here we will improve the performance of the
model. Below is the problem description:

Problem for K-NN Algorithm: There is a Car manufacturer company that has manufact ured
a new SUV car. The company wants to give the ads to the users who are interested in buying
that SUV. So for this problem, we have a dataset that contains multiple user's informa t ion
through the social network. The dataset contains lots of information but the Estimated
Salary and Age we will consider for the independent variable and the Purchased variable is for
Page24of27
the dependent variable. Below is the dataset:

SCREEN SHOTS:

Page25of27
5. Conclusion

This internship has been a very useful experience for me. I can safely say that my understanding
of the job environment has increased greatly. However, I do think that there are some aspects
of the job that I could have done better and that I need to work on. I need to build more
confidence in applying accounting principles. I realized that I could have completed the work
earlier than I did. Also, the technical parts of the job were a bit flawed and I was asked multip le
times to correct it.

The two main things that I learned after my experience in this firm are the importance of time
management and being self-motivated.

Page26of27
6. Bibliography

The following books are referred during the analysis and execution phase of the project

REFERENCES:

1. Introduction to Machine Learning with Python: A Guide for Data Scientists

By Andreas C. Müller, Sarah Guido

2. Hands-On Machine Learning with Scikit-Learn and Tensor Flow: Concepts, Tools, and
Techniques to Build Intelligent Systems 1st Edition

WEBLINKS :

www.towardsdatascience.com/how-to-build-a-simple-machine-learning-web-app-in-python-

www.analyticsvidhya.com/blog/2020/09/integrating-machine-learning-into-web-applications-with-
flask/

Page27of27

You might also like