Professional Documents
Culture Documents
Ai Ca3 New
Ai Ca3 New
Ai Ca3 New
PROFESSIONAL
UNIVERSITY
ASSIGNMENT
OF
INTRODUCTION TO ARTIFICIAL
INTELLIGENCE
(ECE241)
Submitted to :- Submitted by :-
Ms. Ayani Nandi Name - Navdeep Singh
Roll no.- 08
Reg no. - 11712668
Section :- EE018
Introduction :-
Competitive Learning:-
Extracts a set of centers of data clusters . Each center points
is stored in a weight vector. It is obvious that the number of clusters is
independent of dimensionality of the input space. In Figure 2 two-
dimensional data is organised in three clusters, their centers represented
by three weight vectors.
An important extension of a basic competitive learning is known as
feature maps. A feature map is obtained by adding some form of
topological organization to neurons.
Locality of Plain Hebbian Learning :-
Looking at one synapse at a time (from input unit j)
∆wj = η V Ej
This is a local update rule. The Hebbian synapse, characterized by a
weight wj, is modified as a function of the activity of only the two units it
connects. By contrast, back-prop is non-local. The update rule involves
the back - propagation of a distant error signal, computed (potentially
many) layers above it. This makes Hebbian learning a likely candidate for
biological systems.
A Consequence of ∆w = η V E :-
Let’s look at the update rule Eq 3 given our expression for V in Eq 2:
∆w = η V E
= η # w T E $ E (inner product)
= η # E E T $ w (outer product)
Given a current value of the weight vector w, the weight update ∆w will
be a function of the outer product of the input pattern with itself.
We’ve shown that for zero-mean data, the weight vector aligns itself with
the direction of maximum variance as training continues.
Oja’s Rule :-
E = Ei ei = Ci Ui
E1 e1 + E2 e2 = C1u1 + C2 u2
Activation
Application Architecture / Algorithm
Function
Process modeling
Radial Basis Network Radial Basis
and control
Tan- Sigmoid
Medical Diagnosis Multilayer Perceptron
Function
Financial Logistic
Backpropagation Algorithm
Forecasting function
Intelligent Logistic
Deep Neural Network
searching function
Flow Chart :-
MATLAB CODE :-
Clc;
Clear all;
Close all;
X= [1 1 -1 -1;1 -1 1 -1];
t=[1 -1 -1 -1];
W=[0,0];
B=0;
For I=1:4;
For j=1:2;
End
B=b+ t(i);
End
Disp(‘final weight matrix:’);
Disp (w);
Disp (‘final bias values:’);
Disp (b);
Plot(x(1,1),x(2,1),’or’,’Markersize’,20,’Markerfacecolor’,[0 0
1]); hold on;
Plot(x(1,2),x(2,2),’or’,’Markersize’,20,’Markerfacecolor’,[1 0
0]); hold on;
Plot(x(1,3),x(2,3),’or’,’Markersize’,20,’Markerfacecolor’,[1 0
0]); hold on;
Plot(x(1,4),x(2,4),’or’,’Markersize’,20,’Markerfacecolor’,[1 0
0]); hold on;
Hold on;
M = -(w(1)/w(2));
C = b/w(2);
X1 = linspace (-2, 2, 100);
X2 = m *x1+c;
Plot (x2,x1,’r’);
Axies ([-2 2 -2 2]);
Matlab screenshot :-
Code :-
Output :-
Questions :-
Ans 1.
# Learning outcomes :-
1. I learnt about the basic models of ANN.
2. I learnt about the comparison between biological and artificial neuron.
3. I learnt about basic fundamental neuron model and hebb network.
4. I learnt about the different types of connections of NN, learning and
activation function.
Ans 2.
The best learning outcome is learning about basic fundamental neuron
model and hebb network, because it gives detailed and very usefull
information about hebb net.
Ans 3.
I used MATLAB software to solve the given problem.
MATLAB combines a desktop environment tuned for iterative analysis
and design processes with a programming language that expresses matrix
and array mathematics directly
MATLAB stands for matrix laboratory.
System specifications for installing matlab software :-
Processors :-
Minimum: Any Intel or AMD x86-64 processor
Recommended: Any Intel or AMD x86-64 processor with four logical
cores and AVX2 instruction set support
Disk:-
Minimum: 2.9 GB of HDD space for MATLAB only, 5-8 GB for a
typical installation
Recommended: An SSD is recommended
A full installation of all MathWorks products may take up to 29 GB of
disk space.
RAM :-
Minimum: 4 GB
Recommended: 8 GB
For Polyspace, 4 GB per core is recommended
Graphics :-
No specific graphics card is required.
Hardware accelerated graphics card supporting OpenGL 3.3 with 1GB
GPU memory is recommended.
GPU acceleration using the Parallel Computing Toolbox requires a
CUDA GPU. See GPU Computing Support for details.
Ans 4.
Access MATLAB Add-On Toolboxes
Statistics and Machine Learning Toolbox (Statistics and Machine Learning Toolbox)
Curve Fitting Toolbox (Curve Fitting Toolbox)
Control System Toolbox (Control System Toolbox)
Signal Processing Toolbox (Signal Processing Toolbox)
Mapping Toolbox (Mapping Toolbox)
System Identification Toolbox (System Identification Toolbox)
Deep Learning Toolbox (Deep Learning Toolbox)
DSP System Toolbox (DSP System Toolbox)
Datafeed Toolbox (Datafeed Toolbox)
Financial Toolbox (Financial Toolbox)
Image Processing Toolbox (Image Processing Toolbox)
Text Analytics Toolbox (Text Analytics Toolbox)
Predictive Maintenance Toolbox
Ans 5.
71 companies reportedly use MATLAB in their tech stacks, including
Empatica, ADEXT, and doubleSlash.
Empatica.
ADEXT.
doubleSlash ...
Walter.
RideCell.
Broadcom.
Diffbot
THANK YOU