0% found this document useful (0 votes)
150 views13 pages

Differences Between Soft and Hard Computing

Uploaded by

WASIM RAZA
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)
150 views13 pages

Differences Between Soft and Hard Computing

Uploaded by

WASIM RAZA
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

Ankan Sir's suggestion

1. Difference between soft computing vs hard computing.

[Link] Soft Computing Hard Computing

Soft Computing is liberal of


Hard computing needs a exactly
1. inexactness, uncertainty, partial
state analytic model.
truth and approximation.

Soft Computing relies on formal Hard computing relies on binary


2.
logic and probabilistic reasoning. logic and crisp system.

Soft computing has the features Hard computing has the features
3. of approximation and of exactitude(precision) and
dispositionality. categoricity.

Soft computing is stochastic in Hard computing is deterministic in


4.
nature. nature.

Soft computing works on Hard computing works on exact


5.
ambiguous and noisy data. data.

Soft computing can perform Hard computing performs


6.
parallel computations. sequential computations.

Soft computing produces Hard computing produces precise


7.
approximate results. results.

Soft computing will emerge its Hard computing requires


8.
own programs. programs to be written.

Soft computing incorporates


9. Hard computing is settled.
randomness .

Soft computing will use Hard computing uses two-valued


10.
multivalued logic. logic.
2. Mathematical model of ANN.

3. Description of ANN with diagram.


An artificial neural network is a system that receives an input,
process the data and provides an output as shown in Fig 3. Input
consists of data array which can be anything such as data from an
image file, a wave sound or any kind of data that can be
represented in an array.

4. NN topologies -> Single layer, multi layer, recurrent (diagrams only)


5. Learning strategies.

2 marks

Q1. Define the term fuzzy set

A fuzzy set is a class of objects with a continuum of grades of membership. Such a set is
characterized by a membership (characteristic) function which assigns to each object a
grade of membership ranging between zero and one.

Q2. Define membership functions

A membership function maps items in a set to numbers in the real interval [0, 1]. This can be
a one-to-one mapping where one item is a member of one and only one other set, or it could
be a fuzzy and/or probabilistic relationship. Membership functions are often used in fuzzy
logic.

Q3. Define the equality of fuzzy sets

The equality and inclusion relation for fuzzy sets are defined as
follows. Definition 1.2. Let A, B ∈ F(X). If µA(x) ≤ µB(x) for all x ∈ X,
we write A ⊆ B and say that A is included in B or B contains A.

Q4. How to find the difference between 2 fuzzy sets.

A(x) = B(x), if µA(x)= µB(x) Note: Two fuzzy sets A(x) and B(x) are
said to be unequal, if µA(x) ≠ µB(x) for at least x ∈ X.
Q5. Illustrate how to find the algebraic sum of 2 fuzzy sets.

To find the algebraic sum of fuzzy sets A and B, add their membership values element-wise. The
result is a new fuzzy set representing the combined influence of A and B.

Q6. Illustrate how ai and soft computing are related.

1. Soft Computing in AI:


 Soft Computing is a subset of AI that deals with uncertain, imprecise, and
ambiguous information. It provides techniques to handle fuzzy, probabilistic,
and approximate reasoning.
2. Relationship:
 Soft Computing techniques, such as fuzzy logic, neural networks, genetic
algorithms, and swarm intelligence, are often integrated into AI systems.
 AI systems may utilize Soft Computing approaches to handle uncertainty and
imprecision, making them more adaptable and robust.

5 marks
Q1. Explain with example fuzzyfication defuzzyfication with suitable
diagram

Fuzzification: It is the method of transforming a crisp quantity(set) into a


fuzzy quantity(set). This can be achieved by identifying the various known
crisp and deterministic quantities as completely nondeterministic and quite
uncertain in nature.
Defuzzification: It is the inverse of fuzzification. The former one was used to
convert the crisp results into fuzzy results but here the mapping is done to
convert the fuzzy results into crisp results. This process is capable of
generating a non-fuzzy control action which illustrates the possibility
distribution of an inferred fuzzy control action.

Q2. Explain how fuzzy relationship matrix is formed


Q3. Given two fuzzy sets find union intersection

Cartesian products and algebraic sum


Q5. What do you mean by scaler product of fizzy sets. Illustrate with one
Example .

The scalar product of fuzzy sets involves multiplying each membership value in one fuzzy set
by a constant scalar value. Here's an illustration with an example:

Q1. A={1/a,0.2/6,0.4/c,0.9/d,0/e}

B={0.7/a,0.8/6,0.3/c,0.5/d,0.5/e}

Calculate the support of A , B


Q2. What is fuzzy matrix

Whats is crisp set and crisp matrix

Relation between fuzzy set & crisp set

Find the following operations on fuzzy sets

Addition , maximum , minimum and product

 Fuzzy Matrix:
 A fuzzy matrix is a matrix where each element represents a fuzzy set. The
entries in the matrix are membership values indicating the degree of
membership of elements in the fuzzy set.
 Crisp Set and Crisp Matrix:
 A crisp set is a conventional set where elements either belong or do not
belong, without any uncertainty. A crisp matrix is a matrix with binary entries,
representing the presence (1) or absence (0) of elements in a set.
 Relation between Fuzzy Set & Crisp Set:
 A fuzzy set is a generalization of a crisp set. While a crisp set has binary
membership (1 or 0), a fuzzy set allows degrees of membership between 0
and 1, capturing uncertainty and imprecision.
 Operations on Fuzzy Sets (Short):
 Addition: The algebraic sum of membership values for corresponding
elements.
 Maximum: Take the maximum of membership values for corresponding
elements (union).
 Minimum: Take the minimum of membership values for corresponding
elements (intersection).
 Product: Multiply membership values element-wise.

These operations are fundamental in fuzzy set theory and are used to manipulate
and combine fuzzy sets.

Q3. Illustrate the following defuzzification method

Center of sum

Lymda cut method

Maxima methods
Q4. Weighted average method

Q5. Centroid method

Common questions

Powered by AI

Soft computing is tolerant of imprecision, uncertainty, and approximation; it is stochastic in nature and often relies on probabilistic reasoning and multi-valued logic. It can handle ambiguous and noisy data and may perform parallel computations. Conversely, hard computing requires precise inputs and deterministic methods, depending on binary logic. It produces exact results through sequential computations and requires explicitly written programs .

Membership functions in fuzzy logic map elements to a continuum between 0 and 1, representing their degree of membership to a fuzzy set. This depiction of partial membership allows fuzzy systems to model real-world uncertainties and complexity, assisting in nuanced decision-making processes where binary distinctions would fail .

The mathematical model of an ANN involves receiving input, processing via interconnected nodes (neurons), and outputting results. The network adapts through learning strategies and topologies (such as single-layer, multi-layer, or recurrent). This structure allows ANNs to handle complex, non-linear relationships in data, making them effective for pattern recognition, prediction, and decision-making tasks .

Different neural network topologies influence learning capabilities and applications. Single-layer networks are suitable for linear problems, while multi-layer networks, with their hidden layers, can learn complex, non-linear relationships. Recurrent networks, featuring feedback connections, are adept at temporal learning, often used in sequence prediction and time-series analysis. Each topology broadens applicability towards specific tasks .

Soft computing enhances AI by dealing with uncertain, imprecise, and ambiguous data through techniques like fuzzy logic, neural networks, and genetic algorithms. This adaptability allows AI systems to function effectively where rigid logic fails, improving robustness and flexibility in unpredictable or variable environments .

Probabilistic reasoning in soft computing allows for handling uncertainties and predicting outcomes with varying likelihoods, essential in complex, real-world situations where data may be noisy or incomplete. On the other hand, deterministic approaches in hard computing require precise, exact inputs to produce reliable outputs, limiting their applicability in dynamic or uncertain environments .

Multi-valued logic in soft computing accommodates a spectrum of truth values beyond binary options, allowing systems to handle partial truths and ambiguities. This contrasts with traditional computing's binary logic, which operates on fixed true/false values. This flexibility enhances soft computing's ability to mimic human reasoning and adapt to varied scenarios .

Scalar multiplication in fuzzy sets involves multiplying each membership value by a constant scalar, thereby scaling the entire set. This operation can adjust the impact of a fuzzy set. For example, multiplying a fuzzy set A by 0.5 reduces the degree of membership of each element by half, possibly reflecting less confidence or altered significance in a decision-making context .

Fuzzy set theory generalizes crisp set theory by allowing degrees of membership between 0 and 1, rather than just binary membership. This captures uncertainty and imprecision. Operations on fuzzy sets include addition (algebraic sum of membership values), maximum (union taking the maximum membership value), minimum (intersection taking the minimum membership value), and product (element-wise multiplication of memberships).

Fuzzification transforms crisp quantities into fuzzy sets by interpreting deterministic data as uncertain. This process is crucial for making real-world information usable within a fuzzy logic system, which operates on fuzzy sets. In contrast, defuzzification converts fuzzy results back into crisp values, providing actionable output from fuzzy computations. This allows fuzzy logic systems to produce practical control actions from the derived fuzzy data .

You might also like