BACK TO THE HOMEPAGE

This page was automatically generated by NetLogo 4.0.4. Questions, problems? Contact feedback@ccl.northwestern.edu.

The applet requires Java 1.4.1 or higher. It will not run on Windows 95 or Mac OS 8 or 9. Mac users must have OS X 10.2.6 or higher and use a browser that supports Java 1.4. (Safari works, IE does not. Mac OS X comes with Safari. Open Safari and set it as your default web browser under Safari/Preferences/General.) On other operating systems, you may obtain the latest Java plugin from Sun's Java site.


In order for this to work, this file, your model file (APS_recognition-numbersEnd.nlogo), and the file NetLogoLite.jar must all be in the same directory. (You can copy NetLogoLite.jar from the directory where you installed NetLogo.)

On some systems, you can test the applet locally on your computer before uploading it to a web server. It doesn't work on all systems, though, so if it doesn't work from your hard drive, please try uploading it to a web server.

You don't need to include everything in this file in your page. If you want, you can just take the HTML code beginning with <applet> and ending with </applet>, and paste it into any HTML file you want. It's even OK to put multiple <applet> tags on a single page.

If NetLogoLite.jar and your model are in different directories, you must modify the archive= and value= lines in the HTML code to point to their actual locations. (For example, if you have multiple applets in different directories on the same web server, you may want to put a single copy of NetLogoLite.jar in one central place and change the archive= lines of all the HTML files to point to that one central copy. This will save disk space for you and download time for your users.)

powered by NetLogo

view/download model file: APS_recognition-numbersEnd.nlogo

WHAT IS IT?

This model is able to recognize numbers (in range: 0 - 9).
Modified version of the algorithm of positive selection is used for it (learning phase of the immature T-lymphocytes are not contained in this implementation).


HOW TO USE IT

Firstly you have to set up affinity threshold value (slider SelectedAffinity) - sensitivity of the recognition. Higher value of the threshold means that more properties have to be same in recognition between our number and implemented numbers (self-antigens) in NetLogo. Slider color-pen is for setting color of the pen that will be used for creating new object. Then we can use SETUP button. This button inicializes the model. Numbers (self-antigens) are created on the background of the model, but they are not visible, because new object is painted by the user on this bacground later.

After that, you have to create new number, that will be recognized by self-antigens that are invisible in the model. Use the button CREATE-NEW-OBJECT and paint squares on the selected red crosses on the NetLogo background.

If you want to know, with which number is your number similar, click on the RECOGNIZE-NEW-OBJECT button and you will see information about recognition on the right side of the model - in the text area (output-window).


EXTENDING THE MODEL

This model is not perfect :-), because the grid is rough.
Data structure List was used for implementing properties of the numbers.
I think that matrix is more suitable for it.


AUTHOR

Martina Husáková
email: martina.husakova.2@uhk.cz