0% found this document useful (0 votes)
99 views5 pages

Lab 1 ML 414

This document is a machine learning laboratory manual. It begins with an introduction to machine learning, classifying tasks as supervised learning, unsupervised learning, reinforcement learning, and more. It then discusses common machine learning applications like classification, regression, clustering, and dimensionality reduction. The remainder of the document outlines various machine learning approaches, including decision trees, artificial neural networks, support vector machines, Bayesian networks, genetic algorithms, and more.

Uploaded by

Tushar Sagar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views5 pages

Lab 1 ML 414

This document is a machine learning laboratory manual. It begins with an introduction to machine learning, classifying tasks as supervised learning, unsupervised learning, reinforcement learning, and more. It then discusses common machine learning applications like classification, regression, clustering, and dimensionality reduction. The remainder of the document outlines various machine learning approaches, including decision trees, artificial neural networks, support vector machines, Bayesian networks, genetic algorithms, and more.

Uploaded by

Tushar Sagar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Machine Learning

Laboratory Manual
Subject Code: CO-327

July, 2020

By : Prashant Giridhar

Submitted By : Tushar Sagar (2K19/CO/414)

Department of Computer Science and Engineering


DELHI TECHNOLOGICAL UNIVERSITY, DELHI-
42
Experiment 1
Aim: Study of Machine Learning Techniques.
Theory:
Machine learning is a subset of artificial intelligence in the field of computer science that
often uses statistical techniques to give computers the ability to "learn" (i.e., progressively
improve performance on a specific task) with data, without being explicitly programmed. In
the past decade, machine learning has given us self-driving cars, practical speech recognition,
effective web search, and a vastly improved understanding of the human genome.
Machine learning tasks
Machine learning tasks are typically classified into two broad categories, depending on
whether there is a learning "signal" or "feedback" available to a learning system:
Supervised learning: The computer is presented with example inputs and their desired
outputs, given by a "teacher", and the goal is to learn a general rule that maps inputs to
outputs. As special cases, the input signal can be only partially available, or restricted to
special feedback:
Semi-supervised learning: the computer is given only an incomplete training signal: a training
set with some (often many) of the target outputs missing.
Active learning: the computer can only obtain training labels for a limited set of instances
(based on a budget), and also has to optimize its choice of objects to acquire labels for. When
used interactively, these can be presented to the user for labelling.
Reinforcement learning: training data (in form of rewards and punishments) is given only as
feedback to the program's actions in a dynamic environment, such as driving a vehicle or
playing a game against an opponent.
Unsupervised learning: No labels are given to the learning algorithm, leaving it on its own to
find structure in its input. Unsupervised learning can be a goal in itself (discovering hidden
patterns in data) or a means towards an end (feature learning).
Machine learning applications
In classification, inputs are divided into two or more classes, and the learner must produce a
model that assigns unseen inputs to one or more (multi-label classification) of these classes.
This is typically tackled in a supervised manner. Spam filtering is an example of
classification, where the inputs are email (or other) messages and the classes are "spam" and
"not spam". In regression, also a supervised problem, the outputs are continuous rather than
discrete.
In clustering, a set of inputs is to be divided into groups. Unlike in classification, the groups
are not known beforehand, making this typically an unsupervised task. Density estimation
finds the distribution of inputs in some space. Dimensionality reduction simplifies inputs by
mapping them into a lower- dimensional space. Topic modelling is a related problem, where
a program is given a list of human language documents and is tasked with finding out which
documents cover similar topics.
Machine learning Approaches
Decision tree learning

Decision tree learning uses a decision tree as a predictive model, which maps observations
about an item to conclusions about the item's target value. Association rule learning
Association rule learning is a method for discovering interesting relations between variables
in large databases.
Artificial neural networks

An artificial neural network (ANN) learning algorithm, usually called "neural network" (NN),
is a learning algorithm that is vaguely inspired by biological neural networks. Computations
are structured in terms of an interconnected group of artificial neurons, processing
information using a connectionist approach to computation. Modern neural networks are non-
linear statistical data modelling tools. They are usually used to model complex relationships
between inputs and outputs, to find patterns in data, or to capture the statistical structure in an
unknown joint probability distribution between observed variables.
Deep learning

Falling hardware prices and the development of GPUs for personal use in the last few years
have contributed to the development of the concept of deep learning which consists of
multiple hidden layers in an artificial neural network. This approach tries to model the way
the human brain processes light and sound into vision and hearing. Some successful
applications of deep learning are computer vision and speech recognition.
Inductive logic programming

Inductive logic programming (ILP) is an approach to rule learning using logic programming
as a uniform representation for input examples, background knowledge, and hypotheses.
Given an encoding of the known background knowledge and a set of examples represented as
a logical database of facts, an ILP system will derive a hypothesized logic program that
entails all positive and no negative examples. Inductive programming is a related field that
considers any kind of programming languages for representing hypotheses (and not only
logic programming), such as functional programs.
Support vector machines

Support vector machines (SVMs) are a set of related supervised learning methods used for
classification and regression. Given a set of training examples, each marked as belonging to
one of two categories, an SVM training algorithm builds a model that predicts whether a new
example falls into one category or the other.
Clustering

Cluster analysis is the assignment of a set of observations into subsets (called clusters) so that
observations within the same cluster are similar according to some pre designated criterion or
criteria, while observations drawn from different clusters are dissimilar. Different clustering
techniques make different assumptions on the structure of the data, often defined by some
similarity metric and evaluated for example by internal compactness (similarity between
members of the same cluster) and separation between different clusters. Other methods are
based on estimated density and graph connectivity. Clustering is a method of unsupervised
learning, and a common technique for statistical data analysis.
Bayesian networks

A Bayesian network, belief network or directed acyclic graphical model is a probabilistic


graphical model that represents a set of random variables and their conditional
independencies via a directed acyclic graph (DAG). For example, a Bayesian network could
represent the probabilistic relationships between diseases and symptoms. Given symptoms,
the network can be used to compute the probabilities of the presence of various diseases.
Efficient algorithms exist that perform inference and learning.
Reinforcement learning

Reinforcement learning is concerned with how an agent ought to take actions in an


environment so as to maximize some notion of long-term reward. Reinforcement learning
algorithms attempt to find a policy that maps states of the world to the actions the agent ought
to take in those states. Reinforcement learning differs from the supervised learning problem
in that correct input/output pairs are never presented, nor sub-optimal actions explicitly
corrected.
Genetic algorithms

A genetic algorithm (GA) is a search heuristic that mimics the process of natural selection,
and uses methods such as mutation and crossover to generate new genotype in the hope of
finding good solutions to a given problem. In machine learning, genetic algorithms found
some uses in the 1980s and 1990s. Conversely, machine learning techniques have been used
to improve the performance of genetic and evolutionary algorithms.
Rule-based machine learning

Rule-based machine learning is a general term for any machine learning method that
identifies, learns, or evolves "rules" to store, manipulate or apply, knowledge. The defining
characteristic of a rulebased machine learner is the identification and utilization of a set of
relational rules that collectively represent the knowledge captured by the system. This is in
contrast to other machine learners that commonly identify a singular model that can be
universally applied to any instance in order to make a prediction. Rule-based machine
learning approaches include learning classifier systems, association rule learning, and
artificial immune systems.
Feature selection approach

Feature selection is the process of selecting an optimal subset of relevant features for use in
model construction. It is assumed the data contains some features that are either redundant or
irrelevant, and
can thus be removed to reduce calculation cost without incurring much loss of information.
Common optimality criteria include accuracy, similarity and information measures.

You might also like