maxent原版英文说明复习进程Word格式文档下载.docx

上传人:b****2 文档编号:13993859 上传时间:2022-10-16 格式:DOCX 页数:12 大小:819.96KB
下载 相关 举报
maxent原版英文说明复习进程Word格式文档下载.docx_第1页
第1页 / 共12页
maxent原版英文说明复习进程Word格式文档下载.docx_第2页
第2页 / 共12页
maxent原版英文说明复习进程Word格式文档下载.docx_第3页
第3页 / 共12页
maxent原版英文说明复习进程Word格式文档下载.docx_第4页
第4页 / 共12页
maxent原版英文说明复习进程Word格式文档下载.docx_第5页
第5页 / 共12页
点击查看更多>>
下载资源
资源描述

maxent原版英文说明复习进程Word格式文档下载.docx

《maxent原版英文说明复习进程Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《maxent原版英文说明复习进程Word格式文档下载.docx(12页珍藏版)》请在冰豆网上搜索。

maxent原版英文说明复习进程Word格式文档下载.docx

Spring2010

Lab6MaximumEntropy

Assigned:

MondayMarch1

Due:

MondayMarch8

20points

ThislabexercisewasprimarilywrittenbyStevenPhillips,MiroDudikandRobSchapire,withsupportfromAT&

TLabs-Research,PrincetonUniversity,andtheCenterforBiodiversityandConservation,AmericanMuseumofNaturalHistory.Thislabexerciseisbasedontheirpaperanddata:

StevenJ.Phillips,RobertP.Anderson,RobertE.Schapire.

Maximumentropymodelingofspeciesgeographicdistributions.

EcologicalModelling,Vol190/3-4pp231-259,2006.

MygoalistogiveyouabasicintroductiontouseoftheMaxEntprogramformaximumentropymodelingofspecies’geographicdistributions.

TheenvironmentaldataconsistofclimaticandelevationaldataforSouthAmerica,togetherwithapotentialvegetationlayer.ThesamplespeciestheauthorsusedwillbeBradypusvariegatus,thebrown-throatedthree-toedsloth.

NOTEontheMaxentsoftware

Thesoftwareconsistsofajarfile,maxent.jar,whichcanbeusedonanycomputerrunningJavaversion1.4orlater.Itcanbedownloaded,alongwithassociatedliterature,fromwww.cs.princeton.edu/~schapire/maxent.IfyouareusingMicrosoftWindows(asweassumehere),youshouldalsodownloadthefilemaxent.bat,andsaveitinthesamedirectoryasmaxent.jar.Thewebsitehasafilecalled“readme.txt”,whichcontainsinstructionsforinstallingtheprogramonyourcomputer.

Thesoftwarehasalreadybeendownloadedandinstalledonthemachinesin317Percival.

ð

Firstgototheclasswebsiteanddownloadthemaxent-tutorial-data.zipfile.Extractittothec:

/tempfolderwhichwillcreateac:

/temp/tutorial-datadirectory.

Findthemaxentdirectoryonthec:

/driveofyourcomputerandsimplyclickonthefilemaxent.bat.Thefollowingscreenwillappear:

Toperformarun,youneedtosupplyafilecontainingpresencelocalities(“samples”),adirectorycontainingenvironmentalvariables,andanoutputdirectory.Inourcase,thepresencelocalitiesareinthefile“c:

\temp\tutorial-data\samples\bradypus.csv”,theenvironmentallayersareinthedirectory“layers”,andtheoutputsaregoingtogointhedirectory“outputs”.Youcanentertheselocationsbyhand,orbrowseforthem.Whilebrowsingfortheenvironmentalvariables,rememberthatyouarelookingforthedirectorythatcontainsthem–youdon’tneedtobrowsedowntothefilesinthedirectory.AfterenteringorbrowsingforthefilesforBradypus,theprogramlookslikethis:

Thefile“samples\bradypus.csv”containsthepresencelocalitiesin.csvformat.Thefirstfewlinesareasfollows:

species,longitude,latitude

bradypus_variegatus,-65.4,-10.3833

bradypus_variegatus,-65.3833,-10.3833

bradypus_variegatus,-65.1333,-16.8

bradypus_variegatus,-63.6667,-17.45

bradypus_variegatus,-63.85,-17.4

Therecanbemultiplespeciesinthesamesamplesfile,inwhichcasemorespecieswouldappearinthepanel,alongwithBradypus.Othercoordinatesystemscanbeused,otherthanlatitudeandlongitude,aslongasthesamplesfileandenvironmentallayersusethesamecoordinatesystem.The“x”coordinateshouldcomebeforethe“y”coordinateinthesamplesfile.

Thedirectory“layers”containsanumberofasciirastergrids(inESRI’s.ascformat),eachofwhichdescribesanenvironmentalvariable.Thegridsmustallhavethesamegeographicboundsandcellsize.MAKESUREYOURASCIIFILESHAVETHE.ascEXTENSION!

!

Oneofourvariables,“ecoreg”,isacategoricalvariabledescribingpotentialvegetationclasses.Youmusttelltheprogramwhichvariablesarecategorical,ashasbeendoneinthepictureabove.

Doingarun

Simplypressthe“Run”button.Aprogressmonitordescribesthestepsbeingtaken.Aftertheenvironmentallayersareloadedandsomeinitializationisdone,progresstowardstrainingofthemaxentmodelisshownlikethis:

The“gain”startsat0andincreasestowardsanasymptoteduringtherun.Maxentisamaximum-likelihoodmethod,andwhatitisgeneratingisaprobabilitydistributionoverpixelsinthegrid.Notethatitisn’tcalculating“probabilityofoccurrence”–itsprobabilitiesaretypicallyverysmallvalues,astheymustsumto1overthewholegrid.Thegainisameasureofthelikelihoodofthesamples;

forexample,ifthegainis2,itmeansthattheaveragesamplelikelihoodisexp

(2)≈7.4timeshigherthanthatofarandombackgroundpixel.Theuniformdistributionhasgain0,soyoucaninterpretthegainasrepresentinghowmuchbetterthedistributionfitsthesamplepointsthantheuniformdistributiondoes.Thegainiscloselyrelatedto“deviance”,asusedinstatistics.

Therunproducesanumberofoutputfiles,ofwhichthemostimportantisanhtmlfilecalled“bradypus.html”.Partofthisfilegivespointerstotheotheroutputs,likethis:

Lookingata

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > PPT模板 > 节日庆典

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1