Preview

Soft Computing Practical File

Powerful Essays
Open Document
Open Document
4066 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Soft Computing Practical File
practaSAGAR INSTITUTE OF RESEARCH
AND TECHNOLOGY

SOFT COMPUTING PRACTICAL FILE (CS-801)

Subject Guide: Submitted by:

INDEX S.No. | List of Experiments | Signature | 1. | Implement Perceptron network with binary input and output. | | 2. | Using Madaline net, generate XOR function with bipolar inputs and targets. | | 3. | Calculation of new weights for a back propagation network, given the values of input pattern, output pattern, target output, learning rate and activation function. | | 4. | Use of ART algorithm to cluster vectors. | | 5. | Implement traveling salesman problem using genetic algorithm. | | 6. | Implement various laws associated with fuzzy sets. | | 7. | Implement fuzzy sets. | | 8. | Implement word matching using GA. | |
Experiment 1: Implement Perceptron network with binary input and output.
Program:
/*PERCEPTRON*/
#include<stdio.h>
#include<conio.h> main() { signed int x[4][2],tar[4]; float w[2],wc[2],out=0; int i,j,k=0,h=0; float s=0,b=0,bc=0,alpha=0; float theta; clrscr(); printf("Enter the value of theta & alpha"); scanf("%f%f",&theta,&alpha); for(i=0;i<=3;i++) { printf("Enter the value of %d Inputrow & Target",i); for(j=0;j<=1;j++) { scanf("%d",&x[i][j]);} scanf("%d",&tar[i]); w[i]=0; wc[i]=0;} printf("\Net \t Target\tWeight changes\tNew weights\t Bias changes\tBias \n"); printf("-----------------------------------------------------------------------------\n"); mew: printf("ITERATION %d\n",h);

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Unit 7 Lab Report

    • 493 Words
    • 2 Pages

    First apply the inputs to the network and work out the output. This initial output could be anything, as the initial weights are random numbers.…

    • 493 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Solutions Chapter 7

    • 7531 Words
    • 30 Pages

    Objective Topic Edition Edition 31 LO 2 Gain recognition and basis computation Unchanged 31…

    • 7531 Words
    • 30 Pages
    Powerful Essays
  • Good Essays

    Just wanted to confirm that we will be submitting our expert systems proposal to the CEC next week. We 've pinned down the figures, and they 're well within the $1 million we budgeted. We 've selected a shell program from a first-rate vendor and lined up a top-notch knowledge engineering consultant who specializes in insurance applications. Two of our most experienced underwriters and eight programmers from my department will work closely with the consultant. We 're excited about this program and are anxious to get started.…

    • 3011 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    Cs Programming Chapter 1

    • 2450 Words
    • 10 Pages

    ____ data items may involve organizing or sorting them, checking them for accuracy, or performing calculations with them.…

    • 2450 Words
    • 10 Pages
    Satisfactory Essays
  • Good Essays

    • You have approximately 25 hours in which to complete this scenario. • Before starting work on the problem, read the whole of this Candidate Booklet thoroughly. You can…

    • 1453 Words
    • 6 Pages
    Good Essays
  • Good Essays

    AIS sample project

    • 554 Words
    • 3 Pages

    2. Prepare a listing of the tables that you would need to create a working database. For each table,…

    • 554 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    When I was interpreting the problem I was trying to look at the whole picture. When in all reality I should have been breaking down the problem into sections so I could concentrate on the issue at hand. I will have to admit that shook my head allot over this because it was hard to look outside the box, as one might want to say. The goal was to get all three animals to the other side of the river without any of them being harmed by one of the other animals. The cat would eat the mouse if left alone, or the dog and the cat would fight if left alone. The strange part was the mouse and the dog could not be left on the other side of the bank either.…

    • 717 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    This assignment requires you to understand a python program that manipulates some data involving a warehouse ordering system for a group of shoe stores at various locations. Based on this provided code, you are then asked to create a new python program for a different (but similar) system. You are provided with 3 files:  This document,  A data file, “orders.txt”  A Python file, “ordersystemcomplete.py”. The data file and Python file should be downloaded into the same folder. Save your copy of the Python file as system.py, for example, 20119999system.py…

    • 3019 Words
    • 13 Pages
    Powerful Essays
  • Satisfactory Essays

    HCS12 microcontroller is an 8bit microcontroller, manufactured by Free scale Semiconductors. It has three 8bit registers (A, B, CCR) and four 16bit pointers(X, Y, SP, PC).…

    • 328 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    This certificate is to certify that ________of class ____ has successfully completed the Investigatory Project entitled for the subject Computer Science as prescribed by Central Board of Secondary Education (CBSE) for the year 2014-15.…

    • 989 Words
    • 10 Pages
    Better Essays
  • Powerful Essays

    Draft Papers

    • 1282 Words
    • 6 Pages

    converted into a vector of word weights and a search is conducted to find the training…

    • 1282 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    ABSTRACT- This paper presents the implementation of a Hebbian learning rule and genetic algorithm to store and later, recall of superimposed images of numerals in Hopfield network associative memory. A set of ten objects (i.e. 0 to 9 numerals) has been considered as the pattern set. In the Hopfield network associative memory, the weighted code of input patterns provides an auto-associative function in the network. The storing of images is done by hebbian learning rule and recalling is done by using both hebbian rule and genetic algorithm. The simulated results shows that the genetic algorithm gives efficient results as compared to hebbian rule for superimposed images of numerals.…

    • 3797 Words
    • 16 Pages
    Good Essays
  • Powerful Essays

    Praxis Computer Research

    • 1309 Words
    • 6 Pages

    Here’s some information you should find helpful regarding our training for the Sawtooth Sensus and WinCati system.…

    • 1309 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Chapter 2 REVIEW OF RELATED STUDIES Related Studies Local Studies Based on the previous research, the computer has also disadvantages aside from the fact that it provides the students information’s and other features. In that research they conclude many students spent more time playing rather...…

    • 111 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Feature Writing Sample

    • 786 Words
    • 4 Pages

    They call me Pogi. I am a four-legged, furry creature. God gave me this eyes that lets me see even from extreme distances also lets me see through sinister surroundings. He made me possess this ears that lets me perceive even the lightest of sounds. I can locate bits and pieces and deliver them to their owners because I have this sharp-smelling nose. I am a fine creation of the highest divinity.…

    • 786 Words
    • 4 Pages
    Good Essays

Related Topics