C++ Neural Networks and Fuzzy Logic: Preface



Download 1,14 Mb.
Pdf ko'rish
bet252/443
Sana29.12.2021
Hajmi1,14 Mb.
#77367
1   ...   248   249   250   251   252   253   254   255   ...   443
Bog'liq
C neural networks and fuzzy logic

C++ Code Development

The changes to the Kohonen program are relatively minor. The following listing indicates these changes.



Changes to the Kohonen Program

The first change to make is to the Kohonen_network class definition. This is in the file, layerk.h, shown in

Listing 12.1.

Listing 12.1 Updated layerk.h file

class Kohonen_network

C++ Neural Networks and Fuzzy Logic:Preface

C++ Code Development

245



{

private:


       layer *layer_ptr[2];

       int layer_size[2];

       int neighborhood_size;

public:


       Kohonen_network();

       ~Kohonen_network();

       void get_layer_info();

       void set_up_network(int);

       void randomize_weights();

       void update_neigh_size(int);

       void update_weights(const float);

       void list_weights();

       void list_outputs();

       void get_next_vector(FILE *);

       void process_next_pattern();

       float get_win_dist();

       int get_win_index();

void display_input_char();

void display_winner_weights();

};

Previous Table of Contents Next



Copyright ©

 IDG Books Worldwide, Inc.

C++ Neural Networks and Fuzzy Logic:Preface

C++ Code Development

246




Download 1,14 Mb.

Do'stlaringiz bilan baham:
1   ...   248   249   250   251   252   253   254   255   ...   443




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish