prx

freemobilephoneXXX  时间:2021-02-21  阅读:()
Package'emma'February19,2015TypePackageTitleEvolutionarymodel-basedmultiresponseapproachVersion0.
1-0Date2011-10-22AuthorLauraVillanova,KateSmith-MilesandRobJHyndman.
MaintainerLauraVillanovaDependsR(>=2.
9.
2),earth,clusterSimImportsmethodsDescriptionTheevolutionarymodel-basedmultiresponseapproach(EMMA)isanovelmethodologytoprocessoptimisationandproductimprovement.
Theapproachissuitabletocontextsinwhichtheexperimentalcostand/ortimelimitthenumberofimplementabletrials.
LicenseGPL(>=2)LazyLoadyesRepositoryCRANDate/Publication2011-10-2617:59:36NeedsCompilationnoRtopicsdocumented:emma-package2ackley3distance4emma5emmacheck9emmat012emmatn14peaks19plot.
emma2012emma-packageIndex21emma-packageDesigningexperimentsforprocessoptimizationDescriptionTheevolutionarymodel-basedmultiresponseapproach(EMMA)isaprocedureforprocessopti-mizationandproductimprovement.
Itisparticularlysuitedtoprocessesfeaturingirregularexper-imentalregionduetoconstraintsontheinputvariables(factors),multipleresponsesnotaccomo-datedbypolynomialmodels,andexpensiveortime-consumingexperiments.
EMMAiterativellyselectsnewexperimentalpointsthatincreasinglyconcentrateonthemostpromisingregionsoftheexperimentalspace.
Theselectionofthenewexperimentalpointsisperformedonthebasisoftheresultsachievedduringprevioustrials.
Amultivariateadaptiveregressionsplines(MARS)modelandaparticleswarmoptimization(PSO)algorithmareusedtodrivethesearchoftheoptimum.
DetailsPackage:emmaType:PackageVersion:1.
0Date:2011-02-22License:GPL(>=2)LazyLoad:yesAuthor(s)LauraVillanova,KateSmith-MilesandRobJHyndmanMaintainer:LauraVillanovaReferencesVillanovaL.
,FalcaroP.
,CartaD.
,PoliI.
,HyndmanR.
,Smith-MilesK.
(2010)'FunctionalizationofMicroarrayDevices:ProcessOptimizationUsingaMultiobjectivePSOandMultiresponseMARSModelling',IEEECEC2010,DOI:10.
1109/CEC.
2010.
5586165CartaD.
,VillanovaL.
,CostacurtaS.
,PatelliA.
,PoliI.
,Vezzu'S.
,ScopeceP.
,LisiF.
,Smith-MilesK.
,HyndmanR.
J.
,HillA.
J.
,FalcaroP.
(2011)'MethodforOptimizingCoatingPropertiesBasedonanEvolutionaryAlgorithmApproach',AnalyticalChemistry83(16),6373-6380.
Examplesin.
namex1","x2")nlevx",nd=10,na=5,weight,C,w1=0.
7,w2=0.
4,c1i=2.
5,c1f=0.
5,c2i=0.
5,c2f=2.
5,b=5,pr.
mut,graph="no",fn1=peaks)plot(emma.
peaks,fn=peaks,n=50,C=20)ackleyAckleytestproblemDescriptionGeneratestheAckleybenchmarkfunction.
TheAckleyfunctionisacommonlyusedtestproblemforglobaloptimizationprocedures.
Usageackley(x)ArgumentsxAmatrixcontainingthevaluesoftheinputvariables.
ValueVectorofthesamelengthasxgivingthevaluesoftheAckleyfunction.
Author(s)LauraVillanova,KateSmith-MilesandRobJHyndmanReferenceshttp://www-optima.
amp.
i.
kyoto-u.
ac.
jp/member/student/hedar/Hedar_files/TestGO_files/Page295.
htm4distanceExamplesx1x2x1xxpand.
grid(x1,x2)zx(ackley(x),nrow=length(x1))nrzx1,x2,z,col=color[facetcol],theta=0,phi=10,expand=1,xlab="x1",ylab="x2",zlab="f(x1,x2)",ticktype="detailed")distanceDistancemeasurefromthetargetDescriptionComputesascalardistancebetweenthetarget(asetofdesirablevaluesfortheresponses)andtheresponsesvaluesthathavebeeneitherobservedorestimatedforeachpointintheexperimentalspace.
Suchadistanceisusedtoidentifyadditionalexperimentalpointstobeinvestigated.
Usagedistance(xpop,xspace,yspace,weight,opt)ArgumentsxpopAdataframecontainingthefactorvaluesfortheexperimentalpointsinvesti-gated;therownamesuniquelyidentifyeachexperimentalpoint(ID).
xspaceAdataframecontainingthefactorvaluesfortheexperimentalpointsdeningtheentireexperimentalregion;therownamesuniquelyidentifyeachexperi-mentalpoint(ID).
yspaceAdataframecontainingtheresponsevalues(eitherobservedorestimated)forthepointsintheexperimentalregion.
weightAnumericalvector,ofthesamelengthasthenumberofresponses,containingtheweightsassignedtotheeachresponse;thesumoftheweightsmustbeequalto1.
optAcharactervector,ofthesamelengthasthenumberofresponses,deningifeachresponseneedstobeminimizedormaximized.
Theallowedvaluesare'mn'(minimize)and'mx'(maximize).
emma5DetailsThefunctionnormalizestheresponsevalueswithrespecttotheestimatedlimitsoftheresponsespace,sothattheresponsevaluesliebetween0and1.
Subsequently,thefunctionidentiesthetargetandcomputesascalardistancebetweenthetargetandtheresponsevalues.
ValuefitThescalardistancesbetweenthetargetandtheresponse(s)valuesfortheexper-imentalpointsinxpop.
obj.
nnScalardistancefromthetargetforthebestexperimentalpointidentiedbyEMMA.
Author(s)LauraVillanova,KateSmith-MilesandRobJHyndmanReferencesFriedmanJ.
H.
(1991)'Multivariateadaptiveregressionsplines'(withdiscussion),TheAnnalsofStatistics19,1:141.
VillanovaL.
,FalcaroP.
,CartaD.
,PoliI.
,HyndmanR.
,Smith-MilesK.
(2010)'FunctionalizationofMicroarrayDevices:ProcessOptimizationUsingaMultiobjectivePSOandMultiresponseMARSModelling',IEEECEC2010,DOI:10.
1109/CEC.
2010.
5586165emmaEvolutionaryModel-basedMultiresponseApproachDescriptionEMMAdesignstheexperimentsusingaprocedurebasedontheParticleSwarmOptimization(PSO)algorithm.
Firstly,EMMAselectsasetofinitialexperimentalpoints(seeemmat0)thatdenetheinitialpositionoftheparticles;subsequently,foragivennumberofiterations,theparticlesaremovedandnewexperimentalpointsareselected(seeemmatn).
Usageemma(in.
name,nlev,lower,upper,out.
name,opt="mn",nd=10,na=5,weight,C=20,w1=0.
7,w2=0.
4,c1i=2.
5,c1f=0.
5,c2i=0.
5,c2f=2.
5,b=5,pr.
mut,graph,fn1=NULL,fn2=NULL,fn3=NULL,fn4=NULL,nresp)6emmaArgumentsin.
nameAvectorcontainingthenamesoftheinputvariables(factors).
nlevAnumericvectorofthesamelengthasin.
name,containingthenumberoffactorlevels.
lowerAnumericvectorofthesamelengthasin.
name,containingthelowervaluesofthefactors.
upperAnumericvectorofthesamelengthasin.
name,containingtheuppervaluesofthefactors.
out.
nameAvectorcontainingthename(s)oftheoutput/responsevariable(s).
optAcharactervectorofthesamelengthasthenumberofresponses,indicatingforeachresponsefunction,iftheresponsemustbeminimized('mn')ormaximized('mx').
ndNumberofexperimentalpointstobeselectedwhent=0.
naAnumericvalueindicatingthenumberofexperimentalpointstobeselectedwhent>0.
weightAnumericalvectorofthesamelengthasthenumberofresponses,reectingtherelevanceofeachresponse.
Useweight=1ifonlyoneresponseisinvestigated;ifmultipleresponsesareinvestigated,thesumofthevaluesinweightmustbe1.
CAnumericvalueindicatingthemaximumnumberofiterations.
w1TherstnumericvalueusedtocalculatetheinertiaweightparameterofthetimevariantPSOalgorithm;thedefaultisw1=0.
7.
w2ThesecondnumericvalueusedtocalculatetheinertiaweightparameterofthetimevariantPSOalgorithm;Thedefaultisw2=0.
4.
c1iTherstnumericvalueusedtocalculatetheaccelerationcoefcientc1ofthetimevariantPSOalgorithm;thedefaultisc1i=2.
5.
c1fThesecondnumericvalueusedtocalculatetheaccelerationcoefcientc1ofthetimevariantPSOalgorithm;thedefaultisc1f=0.
5.
c2iTherstnumericvalueusedtocalculatetheaccelerationcoefcientc2ofthetimevariantPSOalgorithm;thedefaultisc2i=0.
5.
c2fThesecondnumericvalueusedtocalculatetheaccelerationcoefcientc2ofthetimevariantPSOalgorithm;thedefaultisc2f=2.
5.
bAnumericvalue,usedinthemutationoperator,thatdeterminesthedegreeofdependenceofthemutationontheiterationnumber;thedefaultisb=5.
pr.
mutAnumericvectorofthesamelengthasthenumberofiterationsCcontainingtheprobabilityofmutationforeachtimeinstant.
graphLogical;if'yes',aplotoftheMARSmodelisproduced.
Aplotisproducedonlyifthemodelcontainsmorethanoneexplanatoryvariable.
fn1Therstfunctiontobeoptimised.
Usefn1=NULLifthefunctionisunknown(e.
g.
whendesigningexperimentsinappliedproblems).
fn2Thesecondfunctiontobeoptimised.
Usefn2=NULLifthefunctionisun-known(e.
g.
whendesigningexperimentsinappliedproblems).
emma7fn3Thethirdfunctiontobeoptimised.
Usefn3=NULLifthefunctionisunknown(e.
g.
whendesigningexperimentsinappliedproblems).
fn4Theforthfunctiontobeoptimised.
Usefn4=NULLifthefunctionisunknown(e.
g.
whendesigningexperimentsinappliedproblems).
nrespTheresponsetobeplotted.
Usenresp=1toplottherstresponse.
.
.
DetailsToselectthenewexperimentalpointstobeinvestigated,thefollowingstepsareiterated.
AMARSmodelisttedtothecollecteddatasothatanapproximatedfunctionisobtainedforeachresponse;theseapproximatedfunctionsareusedtopredicttheresponsevaluesatthenon-investigatedexper-imentalpoints.
EachpointintheexperimentalregionE(xspace)isnowassociatedwithavectorofresponsevaluesthathasbeeneithermeasuredorestimated.
Thebest(measuredorestimated)valueofeachresponseisselectedandusedtoidentifythetarget.
Subsequently,foreachexperimentalpointinE,thescalardistancebetweentheresponsevaluesandthetargetiscomputedandthesolu-tionthatisclosesttothetargetisselected.
Ifsuchsolutionhasnotbeentestedyet(seeemmacheck),theexperimentneedstobeperformedanditsresponsevaluesaremeasured.
Thetargetisthenupdated,aswellasthescalardistancesofalltheexperimentalpointsfromthetarget.
Thescalardistancesareusedtoidentifythegoodperformingexperimentalpoints.
Theexperimentalpointwhoseresponsevaluesareclosesttothetargetisreferredtoastheglobalbest.
Similarly,apersonalbestisidentiedforeachparticlebyconsideringtheexperimentalpointsvisitedbythatparticleandselectingthatpointfeaturingtheresponsevaluesthatareclosesttothetarget.
Finally,theparticlesvelocityandpositionareupdatedandanewsetofexperimentalpointsisidentied.
Theparametersw1andw2areusedtocalculatetheinertiaweightwofthePSOalgorithm,namelytheparameterthatcontrolstheinuenceofthepreviousparticlevelocityonthepresentvelocity.
Highvaluesofwfavouraglobalsearch,whereaslowervaluesofwencouragealocalsearch.
InEMMAtheinertiaweightisallowedtodecreaselinearlywithiterationfromw1tow2thusfavouringtheexplorationinitiallyandtheexploitationsubsequently.
Theparametersc1iandc1fareusedtocalculatethecognitiveaccelerationcoefcientc1ofthePSOalgorithm,whereastheparametersc2iandc2fareusedtocalculatethesocialaccelerationcoefcientc2ofthePSOalgorithm.
Highervaluesofc1ensurelargerdeviationoftheparticleinthesearchspace(exploration),whilehighervaluesofc2signifytheconvergencetothecurrentglobalbest(exploitation).
InEMMAc1isallowedtodecreasefromc1itoc1fandc2isallowedtoincreasefromc2itoc2f.
SeeTripathietal.
(2007)formoredetails.
ValueAnobjectofclassemmawiththecomponentslistedbelow:xpopExperimentalpointsinvestigated.
ypopResponsevaluesobservedattheexperimentalpointsinvestigated.
xspaceExperimentalregion.
Itisgivenbyallthepossiblecombinationsofthefactors'levelsandcontainsxpop.
Therownamesuniquelyidentifytheexperimentalpointsandarereportedalsoinxpop.
yspaceResponsevaluesthathavebeeneitherobservedorpredicted.
Observedresponsevaluesarestoredalsoinypop.
PredictedresponsevaluesareobtainedusingaMARSmodelttedtotheavailabledata.
8emmaoptIndicatesifeachsinglefunctioniseitherminimized('mn')ormaximized('mx').
ndNumberofexperimentalpointsselectedinitially(t=0).
naNumberofexperimentalpointsselectedinsubsequentiterations(t>0).
testedIDsofthetestedexperimentalpoints.
timeCurrenttimeinstantoftheEMMAprocedure.
weightRelativeimportanceofeachresponse.
Ifonlyoneresponseisinvestigated,thenweight=1;ifmultipleresponsesareinvestigated,thesumofthevaluesinweightmustbe1.
GbIDofthebestexperimentalpointinvestigated(globalbest).
Usexspace[Gb,]tovisualisetheglobalbestanduseyspace[Gb,]tovisualiseitsmeasuredre-sponsevalue(s).
Gbidentiestheexperimentalpointwhoseresponsevaluesareclosesttothetarget;thetargetisasetofdesirableresponsevalueswhichareau-tomaticallyselectedonthebasisofthemeasuredandpredictedresponsevalues.
PbIDofthebestexperimentalpointinvestigatedbyeachparticle(personalbest).
Usexspace[Pb,]toidentifythepersonalbestsanduseyspace[Pb,]tovisu-alisetheirmeasuredresponsevalues.
Amongtheexperimentalpointsassociatedtooneparticle,thePbidentiestheexperimentalpointthatiswhoseresponsevaluesareclosesttothetarget.
Gb.
archArchiveoftheglobalbestsidentied.
Becausetheglobalbestchangesasnewexperimentalpointsareinvestigated,anarchiveismaintained.
Pb.
archArchiveofthepersonalbestsidentied.
Becausethepersonalbestschangeasnewexperimentalpointsareinvestigated,anarchiveismaintained.
vVelocitiesusedtoupdatetheparticlesposition.
Thepositionofaparticleisuniquelydeterminedbythepredictors'values;italsodenestheexperimenttobeperformed.
AteachstepofEMMA,thepositionofaparticleisupdatedbyaddinganumericalvalue(velocity)tothecurrentvalueofeachsinglepredictor.
sam.
xIDsoftheexperimentsthathavebeenselectedinthecurrentiterationoftheprocedure.
Usexspace[sam.
x,]tovisualisetheexperimentstobeperformed.
addLogical.
If'0'indicatesthatanadditionalexperimentalpointneedstobeinves-tigated;if'1'indicatesthatanadditionalexperimentalpointisnotrequired.
Author(s)LauraVillanova,KateSmith-MilesandRobJHyndmanReferencesVillanovaL.
,FalcaroP.
,CartaD.
,PoliI.
,HyndmanR.
,Smith-MilesK.
(2010)'FunctionalizationofMicroarrayDevices:ProcessOptimizationUsingaMultiobjectivePSOandMultiresponseMARSModelling',IEEECEC2010,DOI:10.
1109/CEC.
2010.
5586165CartaD.
,VillanovaL.
,CostacurtaS.
,PatelliA.
,PoliI.
,Vezzu'S.
,ScopeceP.
,LisiF.
,Smith-MilesK.
,HyndmanR.
J.
,HillA.
J.
,FalcaroP.
(2011)'MethodforOptimizingCoatingPropertiesBasedonanEvolutionaryAlgorithmApproach',AnalyticalChemistry83(16),6373-6380.
FriedmanJ.
H.
(1991)'Multivariateadaptiveregressionsplines'(withdiscussion),TheAnnalsofStatistics19,1:141.
emmacheck9TripathiP.
K.
,BandyopadhyayS.
,PalS.
K.
(2007)'Multi-objectiveparticleswarmoptimizationwithtimevariantinertiaandaccelerationcoefcients'InformationSciences,177,5033:5049.
Examples##1responsevariable##in.
namex1","x2")nlevx1","x2")nlevx"),nd=10,na=5,weight,C,w1=0.
7,w2=0.
4,c1i=2.
5,c1f=0.
5,c2i=0.
5,c2f=2.
5,b=5,pr.
mut,graph="yes",fn1=ackley,fn2=peaks,nresp=2)emmacheckCheckingtheneedforadditionalexperimentsDescriptionThefunctionevaluatesifoneadditionalexperimentalpointisrequired.
Ifthisisthecase,thefunctionprovideswithdetailsabouttheadditionalexperimenttobeperformed.
Usageemmacheck(x,graph,fn1=NULL,fn2=NULL,fn3=NULL,fn4=NULL,nresp)10emmacheckArgumentsxAnobjectofclassemmatn.
graphLogical;if"yes",aplotoftheMARSmodelisproduced.
Notethataplotisproducedonlyifthemodelcontainsmorethanoneexplanatoryvariable.
fn1Therstfunctiontobeoptimised.
Usefn1=NULLifthefunctionisunknown(e.
g.
whendesigningexperimentsinappliedproblems).
fn2Thesecondfunctiontobeoptimised.
Usefn2=NULLifthefunctionisun-known(e.
g.
whendesigningexperimentsinappliedproblems).
fn3Thethirdfunctiontobeoptimised.
Usefn3=NULLifthefunctionisunknown(e.
g.
whendesigningexperimentsinappliedproblems).
fn4Thefourthfunctiontobeoptimised.
Usefn4=NULLifthefunctionisunknown(e.
g.
whendesigningexperimentsinappliedproblems).
nrespTheresponsetobeplotted.
Usenresp=1toplottherstresponse.
.
.
DetailsOncetheexperimentsidentiedbyemmaareimplemented,theobservedresponsevalues,thepre-dictedresponsevalues,thetargetandthescalardistancesfromthetargetareupdated.
Thesolutionwiththeresponsevaluesclosesttothetargetisthusidentied.
Ifsuchasolutionhasnotbeentestedyet,emmacheckselectsitasanadditionalexperimentalpointthatneedstobeinvestigated.
ValueAnobjectofclassemmatnwiththecomponentslistedbelow:xpopExperimentalpointsinvestigated.
ypopResponsevaluesobservedattheexperimentalpointsinvestigated.
xspaceExperimentalregion.
Itisgivenbyallthepossiblecombinationsofthefactors'levelsandcontainsxpop.
Therownamesuniquelyidentifytheexperimentalpointsandarereportedalsoinxpop.
yspaceResponsevaluesthathavebeeneitherobservedorpredicted.
Observedresponsevaluesarestoredalsoinypop.
PredictedresponsevaluesareobtainedusingaMARSmodelttedtotheavailabledata.
optIndicatesifeachsinglefunctioniseitherminimized('mn')ormaximized('mx').
ndNumberofexperimentalpointsselectedinitially(t=0).
naNumberofexperimentalpointsselectedinsubsequentiterations(t>0).
GbIDofthebestexperimentalpointinvestigated.
Usexspace[Gb,]tovisualisethebestexperimentalpointanduseyspace[Gb,]tovisualisethemeasuredre-sponsevalue(s).
Gbidentiestheexperimentalpointwhoseresponsevaluesareclosesttothetarget.
Thetargetisasetofdesirableresponsevalueswhichareautomaticallyselectedonthebasisofthemeasuredandpredictedresponseval-ues.
addLogical.
If'0'indicatesthatanadditionalexperimentalpointneedstobeinves-tigated;if'1'indicatesthatanadditionalexperimentalpointisnotrequired.
emmacheck11testIDsofthetestedexperimentalpoints.
timeCurrenttimeinstantoftheEMMAprocedure.
weightImportanceofeachresponse.
Ifonlyoneresponseisinvestigated,thenweight=1;ifmultipleresponsesareinvestigated,thesumofthevaluesinweightmustbe1.
Author(s)LauraVillanova,KateSmith-MilesandRobJHyndmanReferencesVillanovaL.
,FalcaroP.
,CartaD.
,PoliI.
,HyndmanR.
,Smith-MilesK.
(2010)'FunctionalizationofMicroarrayDevices:ProcessOptimizationUsingaMultiobjectivePSOandMultiresponseMARSModelling',IEEECEC2010,DOI:10.
1109/CEC.
2010.
5586165CartaD.
,VillanovaL.
,CostacurtaS.
,PatelliA.
,PoliI.
,Vezzu'S.
,ScopeceP.
,LisiF.
,Smith-MilesK.
,HyndmanR.
J.
,HillA.
J.
,FalcaroP.
(2011)'MethodforOptimizingCoatingPropertiesBasedonanEvolutionaryAlgorithmApproach',AnalyticalChemistry83(16),6373-6380.
FriedmanJ.
H.
(1991)'Multivariateadaptiveregressionsplines'(withdiscussion),TheAnnalsofStatistics19,1:141.
Examples##definetheproblemvariablesin.
namex1","x2")nlevxperimentalruns(initialization)tnxperimentalrunsduringsubsequentstepsofthe##EMMAprocedurefor(tin1:(C-1)){tnxperimentalruns(initialization)tnxperimentsin\code{tn$xpop}andmeasuretheresponse##values,thenloadthemeasuredresponsevaluesin\code{tn$ypop}tn$ypopxpop)##identifytheexperimentalrunsduringsubsequentstepsofthe##EMMAprocedurefor(tin1:(C-1)){tnxpop)tnxpop)}emmat0DeningtheinitialdesignDescriptionThefunctioninitializestheEMMAprocedure.
Itgeneratestheexperimentalspaceandselectstheinitialsetofexperimentalpoints,namelytheinitialsetofexperimentstobeperformed.
Randomsamplingisusedforthatpurpose.
Usageemmat0(in.
name,nlev,lower,upper,out.
name,nd,fn1=NULL,fn2=NULL,fn3=NULL,fn4=NULL)Argumentsin.
nameAvectorcontainingthenamesoftheinputvariables(factors).
nlevAnumericvectorofthesamelengthasin.
name,containingthenumberoffactorlevels.
lowerAnumericvectorofthesamelengthasin.
name,containingthelowervaluesofthefactors.
upperAnumericvectorofthesamelengthasin.
name,containingtheuppervaluesofthefactors.
out.
nameAvectorcontainingthename(s)oftheoutput/responsevariable(s).
ndNumberofexperimentalpointstobeselectedwhent=0.
emmat013fn1Therstfunctiontobeoptimised;usefn1=NULLiftheobjectivefunctionisunknown,likeinappliedproblems.
fn2Therstfunctiontobeoptimised;usefn2=NULLiftheobjectivefunctionisunknown,likeinappliedproblems.
fn3Thethirdfunctiontobeoptimised;usefn3=NULLiftheobjectivefunctionisunknown,likeinappliedproblems.
fn4Thefourthfunctiontobeoptimised;usefn4=NULLiftheobjectivefunctionisunknown,likeinappliedproblems.
DetailsAtthemomentthefunctiondoesnotimplementtheuseofconstraintsforthefactors.
Unfeasibleexperimentsareeasilyexcludedbymanipulatingthematrixxspaceinanobjectofclassemmat0.
ValueAnobjectofclassemmat0withthecomponentslistedbelow:xpopExperimentalpointsinvestigated.
ypopResponsevaluesobservedattheexperimentalpointsinvestigated.
xspaceExperimentalregion.
yspaceResponsevaluesthathavebeeneitherobservedorpredicted.
Observedresponsevaluesarestoredalsoinypop.
PredictedresponsevaluesareobtainedusingaMARSmodelttedtotheavailabledata.
optIndicatesifeachsinglefunctioniseitherminimized('mn')ormaximized('mx').
ndNumberofexperimentalpointsselectedinitially(t=0).
naNumberofexperimentalpointsselectedinsubsequentiterations(t>0).
testedIDofthetestedexperimentalpoints.
timeCurrenttimeinstantoftheEMMAprocedure.
optIndicatesifeachsingleobjectivefunctioniseitherminimized('mn')ormaxi-mized('mx').
Author(s)LauraVillanova,KateSmith-MilesandRobJHyndmanReferencesVillanovaL.
,FalcaroP.
,CartaD.
,PoliI.
,HyndmanR.
,Smith-MilesK.
(2010)'FunctionalizationofMicroarrayDevices:ProcessOptimizationUsingaMultiobjectivePSOandMultiresponseMARSModelling',IEEECEC2010,DOI:10.
1109/CEC.
2010.
5586165CartaD.
,VillanovaL.
,CostacurtaS.
,PatelliA.
,PoliI.
,Vezzu'S.
,ScopeceP.
,LisiF.
,Smith-MilesK.
,HyndmanR.
J.
,HillA.
J.
,FalcaroP.
(2011)'MethodforOptimizingCoatingPropertiesBasedonanEvolutionaryAlgorithmApproach',AnalyticalChemistry83(16),6373-6380.
14emmatnExamples##1responsevariable####definetheproblemvariablesin.
namex1","x2")nlevxperimentalruns(initialization)##simulatedproblem(withknownobjectivefunction)tnxperimentsin\code{tn$xpop}andmeasurethe##responsevalues,thenloadin\code{tn$ypop}themeasured##responsevalues#tn$ypopx1","x2")nlevxperimentalpointsDescriptionGiventhesetofexperimentalpointsinvestigatedinpreviousstepsoftheEMMAprocedureandtheirmeasuredresponsevalues,emmatnreturnsanewsetofexperimentalpointstobeinvestigated(andthusnewexperimentstobeperformed).
emmatn15Usageemmatn(t,x,na,opt,weight,C,w1,w2,c1i,c1f,c2i,c2f,b,pr.
mut,graph,fn1=NULL,fn2=NULL,fn3=NULL,fn4=NULL,nresp)ArgumentstAnumericvalueindicatingthecurrenttimeinstantoftheEMMAprocedure.
xAnobjectofclassemmat0oremmatn.
Useemmat0ift=1;useemmatnift>1.
naAnumericvalueindicatingthenumberofexperimentalpointstobeselectedwhent>0.
optAcharactervectorofthesamelengthasthenumberofresponses,indicatingforeachresponsefunction,iftheresponsemustbeminimized('mn')ormaximized('mx').
weightAnumericalvectorofthesamelengthasthenumberofresponses,reectingtherelevanceofeachresponse.
Useweight=1ifonlyoneresponseisinvestigated;ifmultipleresponsesareinvestigated,thesumofthevaluesinweightmustbe1.
CAnumericvalueindicatingthemaximumnumberofiterations.
ThedefaultisC=20.
w1TherstnumericvalueusedtocalculatetheinertiaweightparameterofthetimevariantPSOalgorithm.
Thedefaultisw1=0.
7.
w2ThesecondnumericvalueusedtocalculatetheinertiaweightparameterofthetimevariantPSOalgorithm.
Thedefaultisw2=0.
4.
c1iTherstnumericvalueusedtocalculatetheaccelerationcoefcientc1ofthetimevariantPSOalgorithm.
Thedefaultisc1i=2.
5.
c1fThesecondnumericvalueusedtocalculatetheaccelerationcoefcientc1ofthetimevariantPSOalgorithm.
Thedefaultisc1f=0.
5.
c2iTherstnumericvalueusedtocalculatetheaccelerationcoefcientc2ofthetimevariantPSOalgorithm.
Thedefaultisc2i=0.
5.
c2fThesecondnumericvalueusedtocalculatetheaccelerationcoefcientc2ofthetimevariantPSOalgorithm.
Thedefaultisc2f=2.
5.
bAnumericvalue,usedinthemutationoperator,thatdeterminesthedegreeofdependenceofthemutationontheiterationnumber.
Thedefaultisb=5.
pr.
mutAnumericvectorofthesamelengthasthenumberofiterationsCcontainingtheprobabilityofmutationforeachtimeinstant.
graphLogical;if'yes',aplotoftheMARSmodelisproduced.
Aplotisproducedonlyifthemodelcontainsmorethanoneexplanatoryvariable.
fn1Therstfunctiontobeoptimised;usefn1=NULLiftheobjectivefunctionisunknown,likeinappliedproblems.
fn2Therstfunctiontobeoptimised;usefn2=NULLiftheobjectivefunctionisunknown,likeinappliedproblems.
16emmatnfn3Thethirdfunctiontobeoptimised;usefn3=NULLiftheobjectivefunctionisunknown,likeinappliedproblems.
fn4Thefourthfunctiontobeoptimised;usefn4=NULLiftheobjectivefunctionisunknown,likeinappliedproblems.
nrespTheresponsetobeplotted.
Usenresp=1toplottherstresponse.
.
.
DetailsTheparametersw1andw2areusedtocalculatetheinertiaweightwofthePSOalgorithm,namelytheparameterthatcontrolstheinuenceofthepreviousparticlevelocityonthepresentvelocity.
Highvaluesofwfavouraglobalsearch,whereaslowervaluesofwencouragealocalsearch.
InEMMAtheinertiaweightisallowedtodecreaselinearlywithiterationfromw1tow2thusfavouringtheexplorationinitiallyandtheexploitationsubsequently.
Theparametersc1iandc1fareusedtocalculatethecognitiveaccelerationcoefcientc1ofthePSOalgorithm,whereastheparametersc2iandc2fareusedtocalculatethesocialaccelerationcoefcientc2ofthePSOalgorithm.
Highervaluesofc1ensurelargerdeviationoftheparticleinthesearchspace(exploration),whilehighervaluesofc2signifytheconvergencetothecurrentglobalbest(exploitation).
InEMMAc1isallowedtodecreasefromc1itoc1fandc2isallowedtoincreasefromc2itoc2f.
SeeTripathietal.
(2007)formoredetails.
ValueAnobjectofclassemmawiththecomponentslistedbelow:xpopExperimentalpointsinvestigated.
ypopResponsevaluesobservedattheexperimentalpointsinvestigated.
xspaceExperimentalregion.
Itisgivenbyallthepossiblecombinationsofthefactors'levelsandcontainsxpop.
Therownamesuniquelyidentifytheexperimentalpointsandarereportedalsoinxpop.
yspaceResponsevaluesthathavebeeneitherobservedorpredicted.
Observedresponsevaluesarestoredalsoinypop.
PredictedresponsevaluesareobtainedusingaMARSmodelttedtotheavailabledata(xpop,ypop).
optIndicatesifeachsinglefunctioniseitherminimized('mn')ormaximized('mx').
ndNumberofexperimentalpointsselectedinitially(t=0).
naNumberofexperimentalpointsselectedinsubsequentiterations(t>0).
testedIDsofthetestedexperimentalpoints.
timeCurrenttimeinstantoftheEMMAprocedure.
weightRelativeimportanceofeachresponse.
Ifonlyoneresponseisinvestigated,thenweight=1;ifmultipleresponsesareinvestigated,thesumofthevaluesinweightmustbe1.
GbIDofthebestexperimentalpointinvestigated(globalbest).
Gbidentiestheexperimentalpointwhoseresponsevaluesareclosesttothedesirableresponsevalues(target);thetargetisautomaticallyselectedonthebasisofthemeasuredandpredictedresponsevalues.
Usexspace[Gb,]tovisualisetheglobalbestanduseyspace[Gb,]tovisualiseitsmeasuredresponsevalue(s).
emmatn17PbIDofthebestexperimentalpointinvestigatedbyeachparticle(personalbest).
Usexspace[Pb,]toidentifythepersonalbestsanduseyspace[Pb,]tovisu-alisetheirmeasuredresponsevalues.
Amongtheexperimentalpointsassociatedtooneparticle,thePbidentiestheexperimentalpointthatiswhoseresponsevaluesareclosesttothetarget.
Gb.
archArchiveoftheglobalbestsidentied.
Becausetheglobalbestchangesasnewexperimentalpointsareinvestigated,anarchiveismaintained.
Pb.
archArchiveofthepersonalbestsidentied.
Becausethepersonalbestschangeasnewexperimentalpointsareinvestigated,anarchiveismaintained.
vVelocitiesusedtoupdatetheparticlesposition.
Thepositionofaparticleisuniquelydeterminedbythepredictors'values;italsodenestheexperimenttobeperformed.
AteachstepofEMMA,thepositionofaparticleisupdatedbyaddinganumericalvalue(velocity)tothecurrentvalueofeachsinglepredictor.
sam.
xIDsoftheexperimentsthathavebeenselectedinthecurrentiterationoftheprocedure.
Usexspace[sam.
x,]tovisualisetheexperimentstobeperformed.
addLogical.
If'0'indicatesthatanadditionalexperimentalpointneedstobeinves-tigated;if'1'indicatesthatanadditionalexperimentalpointisnotrequired.
Author(s)LauraVillanova,KateSmith-MilesandRobJHyndmanReferencesVillanovaL.
,FalcaroP.
,CartaD.
,PoliI.
,HyndmanR.
,Smith-MilesK.
(2010)'FunctionalizationofMicroarrayDevices:ProcessOptimizationUsingaMultiobjectivePSOandMultiresponseMARSModelling',IEEECEC2010,DOI:10.
1109/CEC.
2010.
5586165CartaD.
,VillanovaL.
,CostacurtaS.
,PatelliA.
,PoliI.
,Vezzu'S.
,ScopeceP.
,LisiF.
,Smith-MilesK.
,HyndmanR.
J.
,HillA.
J.
,FalcaroP.
(2011)'MethodforOptimizingCoatingPropertiesBasedonanEvolutionaryAlgorithmApproach',AnalyticalChemistry83(16),6373-6380.
FriedmanJ.
H.
(1991)'Multivariateadaptiveregressionsplines'(withdiscussion),TheAnnalsofStatistics19,1:141.
TripathiP.
K.
,BandyopadhyayS.
,PalS.
K.
(2007)'Multi-objectiveparticleswarmoptimizationwithtimevariantinertiaandaccelerationcoefcients'InformationSciences,177,5033:5049.
Examples##Notrun:##1responsevariable##in.
namex1","x2")nlevxpop)for(tin1:(C-1)){tnxpop)tnxpop)}##End(Notrun)##2responsevariables##in.
namex1","x2")nlevx"),weight,pr.
mut=pr.
mut,graph="yes",fn1=ackley,fn2=peaks)tnx)ArgumentsxAmatrixcontainingthevaluesoftheinputvariables.
ValueVectorofthesamelengthasxgivingthevaluesofthebenchmarkfunction.
Author(s)LauraVillanova,KateSmith-MilesandRobJHyndmanExamplesx1x2x1xxpand.
grid(x1,x2)zx(peaks(x),nrow=length(x1))nrzx1,x2,z,col=color[facetcol],theta=0,phi=10,expand=1,xlab="x1",ylab="x2",zlab="f(x1,x2)",ticktype="detailed")20plot.
emmaplot.
emma3DsimulationplotDescriptionForaproblemwith1responseand2inputvariables(factors)plotsa3Dgraphandshowshowthesimulationevolves.
Usage##S3methodforclassemmaplot(x,n=50,fn,C=10,.
.
.
)ArgumentsxAnobjectofclass'emma'.
nThenumberoffactors'levelstobeplotted.
fnTheoptimizationfunction.
CThenumberoftimeinstantsusedintheEMMAprocedure.
.
.
.
Otherargumentsnotused.
Value.
.
.
Author(s)LauraVillanova,KateSmith-MilesandRobJHyndmanExamplesin.
namex1","x2")nlevx",nd=10,na=5,weight,C,w1=0.
7,w2=0.
4,c1i=2.
5,c1f=0.
5,c2i=0.
5,c2f=2.
5,b=5,pr.
mut,graph="no",fn1=peaks)plot(emma.
peaks,fn=peaks,n=50,C=20)IndexTopic\textasciitildeDesignedExperimentsdistance,4emma,5emma-package,2emmacheck,9emmat0,12emmatn,14Topic\textasciitildeOptimizationackley,3distance,4emma,5emmacheck,9emmat0,12emmatn,14peaks,19plot.
emma,20ackley,3distance,4EMMA(emma-package),2emma,5,7,10,16emma-package,2emmacheck,7,9emmat0,5,12,13,15emmatn,5,10,14,15peaks,19plot.
emma,2021

华纳云不限流量¥324/年,香港双向CN2(GIA)云服务器/1核1G/50G存储/2Mbps

华纳云(HNCloud Limited)是一家专业的全球数据中心基础服务提供商,总部在香港,隶属于香港联合通讯国际有限公司,拥有香港政府颁发的商业登记证明,保证用户的安全性和合规性。 华纳云是APNIC 和 ARIN 会员单位。主要提供香港和美国机房的VPS云服务器和独立服务器。商家支持支付宝、网银、Paypal付款。华纳云主要面向国内用户群,所以线路质量还是不错的,客户使用体验总体反响还是比较好...

腾讯云轻量应用服务器关于多个实例套餐带宽

腾讯云轻量应用服务器又要免费升级配置了,之前已经免费升级过一次了(腾讯云轻量应用服务器套餐配置升级 轻量老用户专享免费升配!),这次在上次的基础上再次升级。也许这就是良心云吧,名不虚传。腾讯云怎么样?腾讯云好不好。腾讯云轻量应用服务器 Lighthouse 是一种易于使用和管理、适合承载轻量级业务负载的云服务器,能帮助个人和企业在云端快速构建网站、博客、电商、论坛等各类应用以及开发测试环境,并提供...

ParkInHost - 俄罗斯VPS主机 抗投诉 55折,月付2.75欧元起

ParkInHost主机商是首次介绍到的主机商,这个商家是2013年的印度主机商,隶属于印度DiggDigital公司,主营业务有俄罗斯、荷兰、德国等机房的抗投诉虚拟主机、VPS主机和独立服务器。也看到商家的数据中心还有中国香港和美国、法国等,不过香港机房肯定不是直连的。根据曾经对于抗投诉外贸主机的了解,虽然ParkInHost以无视DMCA的抗投诉VPS和抗投诉服务器,但是,我们还是要做好数据备...

freemobilephoneXXX为你推荐
安徽汽车网安徽汽车票查询今日油条油条晚上炸好定型明天可再复炸吗?www.983mm.comwww.47683.com18comic.fun黑色禁药http://www.lovecomic.cn/attachment/Fid_18/18_4_00d3b0cb502ea74.jpg这幅画名字叫什么?lunwenjiancepaperrater论文检测准确吗长尾关键词挖掘工具大家是怎么挖掘长尾关键词的?www.147.qqq.com谁有147清晰的视频?学习学习29ff.comhttp://fcm.com在哪里输入这个网址啊www.5566.com.cn免费手机游戏网站检测工具网站数据分析员都在使用那些工具监测网站啊?
域名抢注 快速域名备案 香港加速器 themeforest sugarsync 60g硬盘 174.127.195.202 godaddy优惠券 一点优惠网 ibrs 元旦促销 刀片服务器是什么 柚子舍官网 中国电信宽带测速网 789电视剧 我的世界服务器ip 万网空间 alexa世界排名 apache启动失败 tracert 更多