Click here to Skip to main content
15,884,099 members
Articles / Programming Languages / C++

Calculating the weights for an ADALINE using the Delta Rule

Rate me:
Please Sign up or sign in to vote.
4.14/5 (3 votes)
25 Jun 20075 min read 32.2K   1.2K   14  
For an ADALINE with two inputs taking +1 or -1 and an offset of +1.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by adaline.rc
//
#define IDD_ABOUTBOX                    100
#define IDD_ADALINE_FORM                101
#define IDR_MAINFRAME                   128
#define IDR_ADALINTYPE                  129
#define IDC_EDITOUTPUT                  1001
#define IDC_BUTTON_GO                   1002
#define IDC_EDITW0                      1003
#define IDC_EDITW1                      1004
#define IDC_EDITW2                      1005
#define IDC_EDITX10                     1006
#define IDC_EDITX11                     1007
#define IDC_EDITX12                     1008
#define IDC_EDITX20                     1009
#define IDC_EDITX21                     1010
#define IDC_EDITX22                     1011
#define IDC_EDITX30                     1012
#define IDC_EDITX31                     1013
#define IDC_EDITX32                     1014
#define IDC_EDITX40                     1015
#define IDC_EDITX41                     1016
#define IDC_EDITETA                     1018
#define IDC_EDITX42                     1019
#define IDC_EDITD1                      1020
#define IDC_EDITD2                      1021
#define IDC_EDITD3                      1022
#define IDC_EDITD4                      1023

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS                     1
#define _APS_NEXT_RESOURCE_VALUE        130
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1004
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United Kingdom United Kingdom

Comments and Discussions