代码搜索结果
找到约 10,000 项符合
Algorithm 的代码
som_algorithm.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
k_algorithm.c
#include
#include
#include
#include
int vectornum;
int vectorsize;
float * datafield;
float * tempcenter;
struct GROUP
{
rmf_algorithm.m
%检验收匹配滤波器算法的正确性;
clc;
clear;
h=[12 -8 45 -6 23 49];
x=[32 9 -13 -27 10 -3];
whole_sum=sum(h.*x);
for i=1:length(h)
if h(i)
genetic_algorithm.m
function gaTSP
CityNum=30;
[dislist,Clist]=tsp(CityNum);
inn=100; %初始种群大小
gnmax=500; %最大代数
pc=0.8; %交叉概率
pm=0.8; %变异概率
tic
%产生初始种群
for i=1:inn
s(i,:)=randperm(CityNum);
end
[f,p
gp_algorithm.m
% GP算法求关联维和嵌入维
%clc
clear
close all
IsPlot = 1;
%---------------------------------------------------
% 产生 Lorenz 时间序列
sigma = 10; % Lorenz方程参数
r = 28;
b = 8/3;
y
_mean_algorithm.h
// _Mean_Algorithm.h: interface for the C_Mean_Algorithm class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX__MEAN_ALGORITHM_H__5644CAA6_20B0_4748_97
_mean_algorithm.cpp
// _Mean_Algorithm.cpp: implementation of the C_Mean_Algorithm class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "PR_exercise.h"
#inc
genetic_algorithm.m
function D = Genetic_Algorithm(train_features, train_targets, params, region);
% Classify using a basic genetic algorithm
% Inputs:
% features - Train features
% targets - Train targets
% Para