Unit 3 (B) NGP
Unit 3 (B) NGP
• https://www.hackerearth.com/blog/developers/radial-basis-function-
network/#:~:text=Architecture%20of%20RBF,neurons%20is%20a%20
Gaussian%20function.
• Filter methods measure the relevance of features by their
correlation with dependent variable while wrapper methods
measure the usefulness of a subset of feature by training a
model on it.
• Filter methods are much faster compared to wrapper methods
as they do not involve training the models. On the other hand,
wrapper methods are computationally very expensive as well.
• Filter methods use statistical methods for evaluation of a subset
of features while wrapper methods use cross validation.
Wrapper method:
Filter method:
Instance-based learning
• Instance-based learning refers to a family of techniques for
classification and regression, which produce a class
label/predication based on the similarity of the query to its
nearest neighbor(s) in the training set.
• Lazy learning refers to machine learning processes in which
generalization of the training data is delayed until a query
is made to the system.
• This type of learning is also known as Instance-based Learning.
Lazy classifiers are very useful when working with large
datasets that have a few attributes.
Instance-based learning
• The systems that learn the training examples by heart and then generalizes
to new instances based on some similarity measure.
• It is called instance-based because it builds the hypotheses from the
training instances.
• It is also known as memory-based learning or lazy-learning because they
delay processing until a new instance must be classified.
• The time complexity of this algorithm depends upon the size of training
data. Each time whenever a new query is encountered, its previously stores
data is examined. And assign to a target function value for the new
instance.
• The worst-case time complexity of this algorithm is O (n), where n is the
number of training instances.
Instance based learning
• Instance based learning is a supervised classification learning
algorithm that performs operation after comparing the current
instances with the previously trained instances, which have been
stored in memory.
• Instance: A single row of data is called an instance. It is an
observation from the domain.
• Feature: A single column of data is called a feature. It is a
component of an observation and is also called an attribute of a
data instance.
Instance based learning
• Advantages:
1.Instead of estimating for the entire instance set, local approximations
can be made to the target function.
2.This algorithm can adapt to new data easily, one which is collected as
we go .
• Disadvantages:
1.Classification costs are high
2.Large amount of memory required to store the data, and each query
involves starting the identification of a local model from scratch.
Some of the instance-based learning algorithms are :