Hey :) Currently there is the coordinate Encoder, which encodes for an n-dimensional Vektor in n-Dimensional space. Here is Chandan explaining it or better a slightly modified version http://youtu.be/KxxHo-FtKRo
The code: https://github.com/numenta/nupic/blob/master/src/nupic/encoders/coordinate.py You can Try that as a start, and what I'd also do is maybe have a model for each frequency band, which you can probably the easiest get with the htmengine :) the second method will also help you interpret the results as you'll know what frequency was unexpected at a given time. Hope that helps :) Best, Pascal Weinberger ____________________________ BE THE CHANGE YOU WANT TO SEE IN THE WORLD ... PLEASE NOTE: This email and any file transmitted are strictly confidential and/or legally privileged and intended only for the person(s) directly addressed. If you are not the intended recipient, any use, copying, transmission, distribution, or other forms of dissemination is strictly prohibited. If you have received this email in error, please notify the sender immediately and permanently delete the email and files, if any. Please consider the environment before printing this message. > On 03 Nov 2015, at 04:12, Kentaro Iizuka <[email protected]> wrote: > > Hello, NuPIC, > > I'm currently working for ECG anomaly detection with NuPIC as HTM > Challenge project. > > Here is two graph. > > [first] > https://cloud.githubusercontent.com/assets/478824/10900146/9b3a85a8-821f-11e5-83d4-4970e77bb623.png > > [second] > https://cloud.githubusercontent.com/assets/478824/10900145/9b17a376-821f-11e5-9987-45c2634aa77c.png > > This is visualization of FFT converted ECG data. > First is the normal ECG data, second contain anomalous part. > Vertical axis is time step and horizontal axis is frequency, > color shows value of each frequency. > > You can see mottled part in second graph. > Actually, mottled part show anomalous in ECG data. > > FFT Converted data is times series of VECTOR(about 120 dimension) > I want to input time series of vector data into the NuPIC! > Is there any example or document for deal with time series of vector with > NuPIC? > > I want to know > * How to input vector data into the NuPIC > * What kind of Encoder I should use > * How to write swarming setting file > > Here are sample converted data. > https://github.com/iizukak/ecg-htm/blob/master/data/healthy_person1_fft_converted.csv > https://github.com/iizukak/ecg-htm/blob/master/data/disease_person1_fft_converted.csv > > Data form. > TIME1: [11.13, 10.36,..., 1.92] > TIME2: [11.22, 10.35,..., 2.65] > ... > TIME_END: [1.11, 10.20,..., 1.84] > > > In previous thread,very thank you for your helpful replies. > I’m an amateur of signal processing but I read all of your replies carefully. > "Please help Ken with his HTM Challenge project" > http://lists.numenta.org/pipermail/nupic_lists.numenta.org/2015-October/012047.html > > Thanks. > > -- > Kentaro Iizuka<[email protected]> > > Github > https://github.com/iizukak/ > > Facebook > https://www.facebook.com/kentaroiizuka >
