SAX符号化序列范例源码

上传者: u011292579 | 上传时间: 2019-12-21 21:22:03 | 文件大小: 24KB | 文件类型: zip
SAX符号化序列范例源码 -------------------- timeseries2symbol.m: -------------------- This function takes in a time series and convert it to string(s). There are two options: 1. Convert the entire time series to ONE string 2. Use sliding windows, extract the subsequences and convert these subsequences to strings For the first option, simply enter the length of the time series as "N" ex. We have a time series of length 32 and we want to convert it to a 8-symbol string, with alphabet size 3: timeseries2symbol(data, 32, 8, 3) For the second option, enter the desired sliding window length as "N" ex. We have a time series of length 32 and we want to extract subsequences of length 16 using sliding windows, and convert the subsequences to 8-symbol strings, with alphabet size 3: timeseries2symbol(data, 16, 8, 3) Input: data is the raw time series. N is the length of sliding window (use the length of the raw time series instead if you don't want to have sliding windows) n is the number of symbols in the low dimensional approximation of the sub sequence. alphabet_size is the number of discrete symbols. 2 <= alphabet_size <= 10, although alphabet_size = 2 is a special "useless" case. Output: symbolic_data: matrix of symbolic data (no-repetition). If consecutive subsequences have the same string, then only the first occurrence is recorded, with a pointer to its location stored in "pointers" pointers: location of the first occurrences of the strings N/n must be an integer, otherwise the program will give a warning, and abort. The variable "win_size" is assigned to N/n, this is the number of data points on the raw time series that will be mapped to a single symbol, and can be imagined as the "compression rate". The symbolic data is returned in "symbolic_data", with pointers to th

文件下载

资源详情

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