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
  • Better Essays

    Kudler Fine Foods is a specialty grocery store located in the San Diego area. The first location was opened by Kathy Kudler in June 1998. Currently there are three locations in La Jolla, Del Mar, and Encinitas. Kudler Fine Foods has a variety of domestic and imported food and beverage items including produce, meat, seafood, condiments, packaged foods, cheese, dairy products, wine, and a bakery. Our firm has been hired by Kudler Fine Foods in order to assess their accounting and information technology systems. This brief will address their business and accounting information needs, their current hardware and software, the strengths and weaknesses of the current computer system, explore opportunities for upgrades in technology use, evaluate threats regarding the current information technology systems, and recommendations that could improve their ability to conduct business.…

    • 1317 Words
    • 6 Pages
    Better 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
  • Satisfactory Essays

    Ais Project

    • 1021 Words
    • 5 Pages

    (2)Because if your password is known by others, these people might log on the system to see what you do.…

    • 1021 Words
    • 5 Pages
    Satisfactory 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
  • 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
  • Good Essays

    Intro to Computers

    • 609 Words
    • 3 Pages

    | Allows users to organize data in rows and columns and perform calculations and recalculate when data changes.…

    • 609 Words
    • 3 Pages
    Good 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
  • 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

    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
  • 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
  • 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
  • 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