This directory contains code implementing the Learning vector quantization
network. Source code may be found in LVQ.CPP. Sample training data is found
in LVQ1.PAT. Sample test data is found in LVQTEST1.TST and LVQTEST2.TST. The
LVQ program accepts input consisting of vectors and calculates the LVQ
network weights. If a test set is specified, the winning neuron (class) for
each neuron is identified and the Euclidean distance between the pattern and
each neuron is reported. Output is directed to the screen.
Usage for LVQ is:
LVQ TRAININGFILE [TESTFILE] <enter>
Specification of a test file is optional.
The format of both the training and the test file is:
NumPatterns - Number of patterns (int)
SizeVector - Size of vector (int)
NumClasses - Number of classes (int)
vect[1,1] ... vect[1,SizeVect] - pattern vector 1 (real)
vect[2,1] ... vect[2,SizeVect] - pattern vector 2 (real)
. .
. .
. .
vect[NPat,1] ... vect[NClust,SizeVector] - pattern vector N (real)
Class - Desired/Expected class membership
To compile:
ICC LVQ.CPP <enter>
LVQ学习矢量化算法.rar_LVQ source code_LVQ-EXAMPLE_Vector Quantization_l
版权申诉
14 浏览量
2022-09-20
13:48:54
上传
评论
收藏 38KB RAR 举报
我虽横行却不霸道
- 粉丝: 72
- 资源: 1万+
最新资源
- 3122080306 邹子轩 实验报告二.docx
- 基于STM32 NUCLEO板设计彩色LED照明灯(纯cubeMX开发)(大赛作品,文档完整,可直接运行)
- 发那科工业机器人保养大全
- Sphere.h
- REMD固有时间尺度分解信号分量可视化(Matlab完整源码和数据)
- 嵌入式系统双单片机STC89C52+STC15W104多功能学习板电路图可扩展 适用于单片机初学者和教学
- 基于STM32蓝牙控制小车系统设计(硬件+源代码+论文)大赛作品
- XILINXFPGA源码基于Spartan3火龙刀系列FPGA开发板VGA测试例程
- Java聊天室的设计与实现【尚学堂·百战程序员】
- python中matplotlib教程
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈