** Short Document for Using CL **


What is CL?
About CLNG.
Getting Start with CL.
Commands Useful for the Novice.
Sample Session.
Reference.


Back to Syllabus Page

What is CL:

CL, stands for Competitive Learning, is a command-driven system designed by McClelland and Rumelhart for training and testing neural networks using competitive learning topology. Competitive learning paradigm is one of the simplest paradigms in unsupervised learning and has been used in a number of applications, such as speech perception, word recognition, visual perception, and cell formation.


Back to Top of the Page

About CLNG:

Preparing data files to run CL is a complicated and time consuming process. To simplify the task, a program generator called CLNG is developed to generate all files needed to run CL. However, CLNG is designed for solving cell formation problem only. The machine/part matrix, which is needed for cell formation, must be stored in a file. The format of this data file must be organized as follows:

R (number of rows - machines)
C (number of columns - parts)
Machine/Part Matrix (R x C binary matrix)

An sample file "Exa" is stored in the server for reference, where the machine/part matrix contains 12 machines and 10 parts.


Back to Top of the Page

Getting Start with CL:

The "CL" program and its utility "CLNG" were stored in my course server under the directory of "m528\systems\cl". First, create a directory (e.g., CL) in your hard drive, download the files into that directory. To access the programs, you must quit the Window environment to DOS environment. Change your default directory to where CL was stored. You must run "CLNG" to generate the necessary files for use by CL and then run CL by typing "CL file.tem file.str", where "file" is the corresponding file name you designed in the CLNG run.


Back to Top of the Page

Commands Useful for the Novice:

CL is a command-driven system; that is you must enter proper command to trigger the system. The following commands are useful for the novice:


Back to Top of the Page

Sample Session:

The following sequence of commands (in bold face) can be used to setup the initial weights (reset or newstart), train the network (ptrain or strain), and test the network (tall or test):

  1. reset (to reset initial weights)
  2. ptrain (train the network in random order)
    (Repeat the ptrain command until no change in the weights)
  3. tall (test the network for all units)
    (Write down the result. Press "Enter" key until all units have been tested)

Note:


Back to Top of the Page

Reference:


Back to Top of the Page
Back to Syllabus Page