-
Notifications
You must be signed in to change notification settings - Fork 36
/
jfs.m
69 lines (65 loc) · 2.54 KB
/
jfs.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
% Wrapper Feature Selection Toolbox by Jingwei Too - 9/12/2020
function model = jfs(type,feat,label,opts)
switch type
% 2020
case 'mpa' ; fun = @jMarinePredatorsAlgorithm;
case 'gndo' ; fun = @jGeneralizedNormalDistributionOptimization;
case 'sma' ; fun = @jSlimeMouldAlgorithm;
case 'eo' ; fun = @jEquilibriumOptimizer;
case 'mrfo' ; fun = @jMantaRayForagingOptimization;
% 2019
case 'aso' ; fun = @jAtomSearchOptimization;
case 'hho' ; fun = @jHarrisHawksOptimization;
case 'hgso' ; fun = @jHenryGasSolubilityOptimization;
case 'pfa' ; fun = @jPathFinderAlgorithm;
case 'pro' ; fun = @jPoorAndRichOptimization;
% 2018
case 'boa' ; fun = @jButterflyOptimizationAlgorithm;
case 'epo' ; fun = @jEmperorPenguinOptimizer;
case 'tga' ; fun = @jTreeGrowthAlgorithm;
% 2017
case 'abo' ; fun = @jArtificialButterflyOptimization;
case 'ssa' ; fun = @jSalpSwarmAlgorithm;
case 'sbo' ; fun = @jSatinBowerBirdOptimization;
case 'wsa' ; fun = @jWeightedSuperpositionAttraction;
% 2016
case 'ja' ; fun = @jJayaAlgorithm;
case 'csa' ; fun = @jCrowSearchAlgorithm;
case 'sca' ; fun = @jSineCosineAlgorithm;
case 'woa' ; fun = @jWhaleOptimizationAlgorithm;
% 2015
case 'alo' ; fun = @jAntLionOptimizer;
case 'hlo' ; fun = @jHumanLearningOptimization;
case 'mbo' ; fun = @jMonarchButterflyOptimization;
case 'mfo' ; fun = @jMothFlameOptimization;
case 'mvo' ; fun = @jMultiVerseOptimizer;
case 'tsa' ; fun = @jTreeSeedAlgorithm;
% 2014
case 'gwo' ; fun = @jGreyWolfOptimizer;
case 'sos' ; fun = @jSymbioticOrganismsSearch;
% 2012
case 'fpa' ; fun = @jFlowerPollinationAlgorithm;
case 'foa' ; fun = @jFruitFlyOptimizationAlgorithm;
% 2009 - 2010
case 'ba' ; fun = @jBatAlgorithm;
case 'fa' ; fun = @jFireflyAlgorithm;
case 'cs' ; fun = @jCuckooSearchAlgorithm;
case 'gsa' ; fun = @jGravitationalSearchAlgorithm;
% Traditional
case 'abc' ; fun = @jArtificialBeeColony;
case 'hs' ; fun = @jHarmonySearch;
case 'de' ; fun = @jDifferentialEvolution;
case 'aco' ; fun = @jAntColonyOptimization;
case 'acs' ; fun = @jAntColonySystem;
case 'pso' ; fun = @jParticleSwarmOptimization;
case 'gat' ; fun = @jGeneticAlgorithmTour;
case 'ga' ; fun = @jGeneticAlgorithm;
case 'sa' ; fun = @jSimulatedAnnealing;
end
tic;
model = fun(feat,label,opts);
% Computational time
t = toc;
model.t = t;
fprintf('\n Processing Time (s): %f % \n',t); fprintf('\n');
end