首页 数据库 其它     /    SAX符号化序列范例源码

SAX符号化序列范例源码

上传者: u011292579 | 上传时间:2025/3/29 15:54:56 | 文件大小:24KB | 文件类型:zip
SAX符号化序列范例源码
SAX符号化序列范例源码--------------------timeseries2symbol.m:--------------------Thisfunctiontakesinatimeseriesandconvertittostring(s).Therearetwooptions:1.ConverttheentiretimeseriestoONEstring2.Useslidingwindows,extractthesubsequencesandconvertthesesubsequencestostringsForthefirstoption,simplyenterthelengthofthetimeseriesas"N"ex.Wehaveatimeseriesoflength32andwewanttoconvertittoa8-symbolstring,withalphabetsize3:timeseries2symbol(data,32,8,3)Forthesecondoption,enterthedesiredslidingwindowlengthas"N"ex.Wehaveatimeseriesoflength32andwewanttoextractsubsequencesoflength16usingslidingwindows,andconvertthesubsequencesto8-symbolstrings,withalphabetsize3:timeseries2symbol(data,16,8,3)Input:dataistherawtimeseries.Nisthelengthofslidingwindow(usethelengthoftherawtimeseriesinsteadifyoudon'twanttohaveslidingwindows)nisthenumberofsymbolsinthelowdimensionalapproximationofthesubsequence.alphabet_sizeisthenumberofdiscretesymbols.2<=alphabet_size<=10,althoughalphabet_size=2isa special"useless"case.Output:symbolic_data:matrixofsymbolicdata(no-repetition).Ifconsecutivesubsequenceshavethesamestring,thenonlythefirstoccurrenceisrecorded,withapointertoitslocationstoredin"pointers"pointers:locationofthefirstoccurrencesofthestringsN/nmustbeaninteger,otherwisetheprogramwillgiveawarning,andabort.Thevariable"win_size"isassignedtoN/n,thisisthenumberofdatapointsontherawtimeseriesthatwillbemappedtoasinglesymbol,andcanbeimaginedasthe"compressionrate".Thesymbolicdataisreturnedin"symbolic_data",withpointerstoth 本软件ID:5693869

文件下载

资源详情

[{"title":"(8个子文件24KB)SAX符号化序列范例源码","children":[{"title":"SAX_2006_ver","children":[{"title":"README.txt <span style='color:#111;'>8.26KB</span>","children":null,"spread":false},{"title":"SAX.doc <span style='color:#111;'>32.50KB</span>","children":null,"spread":false},{"title":"symbolic_visual.m <span style='color:#111;'>5.94KB</span>","children":null,"spread":false},{"title":"mindist_demo.m <span style='color:#111;'>2.29KB</span>","children":null,"spread":false},{"title":"sax_to_20.xls <span style='color:#111;'>17.00KB</span>","children":null,"spread":false},{"title":"timeseries2symbol.m <span style='color:#111;'>7.84KB</span>","children":null,"spread":false},{"title":"sax_demo.m <span style='color:#111;'>5.13KB</span>","children":null,"spread":false},{"title":"min_dist.m <span style='color:#111;'>4.28KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • oBaoZuo123456:
    不错的资源哦,SAX算法可以运行,正在学习中。2015-10-03
  • 月夜漫步:
    .m格式要用Matlab才能打开,看着应该能用!2015-05-07
  • wuqin0606:
    很不错的资源哦,SAX算法可以运行,正在学习中。2014-12-29

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明