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

PacificRack 下架旧款方案 续费涨价 谨慎自动续费

前几天看到网友反馈到PacificRack商家关于处理问题的工单速度慢,于是也有后台提交个工单问问,没有得到答复导致工单自动停止,不清楚商家最近在调整什么。而且看到有网友反馈到,PacificRack 商家的之前年付低价套餐全部下架,而且如果到期续费的话账单中的产品价格会涨价不少。所以,如果我们有需要续费产品的话,谨慎选择。1、特价产品下架我们看到他们的所有原来发布的特价方案均已下架。如果我们已有...

CloudCone:洛杉矶MC机房KVM月付1.99美元起,支持支付宝/PayPal

CloudCone是一家成立于2017年的国外VPS主机商,提供独立服务器租用和VPS主机,其中VPS基于KVM架构,多个不同系列,譬如常规VPS、大硬盘VPS等等,数据中心在洛杉矶MC机房。商家2021年Flash Sale活动继续,最低每月1.99美元,支持7天退款到账户,支持使用PayPal或者支付宝付款,先充值后下单的方式。下面列出几款VPS主机配置信息。CPU:1core内存:768MB...

LOCVPS-2021年6月香港便宜vps宽带升级,充值就送代金券,其它八折优惠!

LOCVPS怎么样?LOCVPS是一家成立于2011年的稳定老牌国人商家,目前提供中国香港、韩国、美国、日本、新加坡、德国、荷兰等区域VPS服务器,所有机房Ping延迟低,国内速度优秀,非常适合建站和远程办公,所有机房Ping延迟低,国内速度优秀,非常适合做站。XEN架构产品的特点是小带宽无限流量、不超售!KVM架构是目前比较流行的虚拟化技术,大带宽,生态发展比较全面!所有大家可以根据自己业务需求...

freemobilephoneXXX为你推荐
sonicchatwe chat和微信区别中老铁路地铁路是怎么造的?是钻地吗?rawtoolsTF卡被写保护了怎么办?rawtools照片上面的RAW是什么意思,为什么不能到PS中去编辑月神谭求男变女类的变身小说www.kk4kk.com猪猪影院www.mlzz.com 最新电影收费吗?www.228gg.comwww.a8tb.com这个网站该如何改善www.119mm.comwww.993mm+com精品集!百度指数词百度指数我创建的新词partnersonline国外外贸平台有哪些?
idc评测 好看的桌面背景图片 ev证书 最好的免费空间 服务器是干什么的 根服务器 防cc攻击 cdn服务 上海联通 聚惠网 香港博客 512内存 镇江高防服务器 shuangcheng 湖南铁通 火山互联 华为云服务器宕机 大硬盘分区 ddos攻击教程 次世代主机 更多