Prepared by Abdullah Mueen and Eamonn Keogh

Slides:



Advertisements
Similar presentations
JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
Advertisements

Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Machine Learning Homework
1 Input/Output and Debugging  How to use IO Streams  How to debug programs  Help on coursework.
How to validate in Budget Manager Hopefully now you have reached this stage you will have downloaded the inpatient and outpatients excel files for you.
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
ABNIAC The following slide presentation is to acquaint the student with ABNIAC. The version used for presentation is the Java version, which can be found.
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
Programming in Visual Basic
An End-User Perspective On Using NatQuery Building a Dynamic Variable T
1 Lab Session-I (A and B) CS-120 Fall 2000 Using Windows Using An Editor Using Visual C++ Using Compiler Writing and Running Programs Lab-1 DUE Fri September.
1 Lab Session-I CSIT120 Spring2001 Using Windows Using An Editor Using Visual C++ Using Compiler Writing and Running Programs Lab-1 continues (Session.
Introduction to a Programming Environment
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
What is GAMS?.
1 - buttons Click “Step Forward” to execute one line of the program. Click “Reset” to start over. “Play,” “Stop,” and “Step Back” are disabled in this.
1 Project 5: Median. 2 The median of a collection of numbers is the member for which there are an equal number less than or equal and greater than or.
05/09/ Introducing Visual Basic Sequence Programming.
PMS /134/182 HEX 0886B6 PMS /39/80 HEX 5E2750 PMS /168/180 HEX 00A8B4 PMS /190/40 HEX 66CC33 By Adrian Gardener Date 9 July 2012.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
Shell Scripting Introduction. Agenda What is Shell Scripting? Why use Shell Scripting? Writing and Running a Shell Script Basic Commands -ECHO - REM.
Selecting, Formatting, and Printing a finished Report…….
GUI development with Matlab: GUI Front Panel Components 1 GUI front panel components In this section, we will look at -GUI front panel components -Programming.
Testing and Debugging Version 1.0. All kinds of things can go wrong when you are developing a program. The compiler discovers syntax errors in your code.
How to start Visual Studio 2008 or 2010 (command-line program)
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
The C# language fundamentals ( II ) Po Feng, Tsai.
Hello World in the Forte IDE An introduction to the Forte IDE (integrated development environment) writing the classic “Hello World” program in Java.
Comments in Java. When you create a New Project in NetBeans, you'll notice that some text is greyed out, with lots of slashes and asterisks:
Playing Music in Alice By David Yan Under the direction of Professor Susan Rodger July 2015.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Trustee Efficiency Options In this session we will discuss reconciling ACV’s, importing mortgage company files, mortgage company batches, and Ad Valorem.
Chapter 3 MATLAB Fundamentals Introduction to MATLAB Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Copyright 2006 by Timothy J. McGuire, Ph.D. 1 MIPS Assembly Language CS 333 Sam Houston State University Dr. Tim McGuire.
CSD 340 (Blum)1 Starting JavaScript Homage to the Homage to the Square.
22/11/ Selection If selection construct.
This document gives one example of how one might be able to “fix” a meteorological file, if one finds that there may be problems with the file. There are.
VARIABLES Programmes work by manipulating data placed in memory. The data can be numbers, text, objects, pointers to other memory areas, and more besides.
GUI development with Matlab: GUI Front Panel Components GUI development with Matlab: Other GUI Components 1 Other GUI components In this section, we will.
How to Use BO Demos. ©2002, Jedidiah R. Crandall, Susan L. Gerhart, Jan G. Hogle. How to Use Buffer Overflow Demos (applets)
line.net/ okpop.com/bar elythereflashin dex.html.
Using This PowerPoint This PowerPoint presentation assumes your Computer Science teacher has provided you with the InstallingJava folder, which contains.
CSD 340 (Blum)1 Starting JavaScript Homage to the Homage to the Square.
You will need Dev C++ to help you with this project. If you do not already have this programming tool on your device you can visit
1 Class 1 Lecture Topic Concepts, Definitions and Examples.
Copyright 2006 by Timothy J. McGuire, Ph.D. 1 MIPS Assembly Language CS 333 Sam Houston State University Dr. Tim McGuire.
1 Project 2: Using Variables and Expressions. 222 Project 2 Overview For this project you will work with three programs Circle Paint Ideal_Weight What.
1 Project 3 String Methods. Project 3: String Methods Write a program to do the following string manipulations: Prompt the user to enter a phrase and.
Announcements Assignment 1 due Wednesday at 11:59PM Quiz 1 on Thursday 1.
Variables in C Topics  Naming Variables  Declaring Variables  Using Variables  The Assignment Statement Reading  Sections
Variables in C Topics  Naming Variables  Declaring Variables  Using Variables  The Assignment Statement Reading  Sections
CMSC 104, Version 8/061L09VariablesInC.ppt Variables in C Topics Naming Variables Declaring Variables Using Variables The Assignment Statement Reading.
Oracle Virtualization Last Update Copyright 2012 Kenneth M. Chipps Ph.D.
OCR A Level F453: The function and purpose of translators Translators a. describe the need for, and use of, translators to convert source code.
Loops Brent M. Dingle Texas A&M University Chapter 6 – Section 6.3 Multiway Branches (and some from Mastering Turbo Pascal 5.5, 3 rd Edition by Tom Swan)
Development Environment
Eclipse Navigation & Usage.
How to use… [matrixProfile, profileIndex, motifIndex, discordIndex] = interactiveMatrixProfile(data, subLen); Input data: input time series subLen: subsequence.
Topics Introduction to Repetition Structures
Conditions and Ifs BIS1523 – Lecture 8.
Use proper case (ie Caps for the beginnings of words)
UNITY TEAM PROJECT TOPICS: [1]. Unity Collaborate
1. Open Visual Studio 2008.
Download and Installation of code::blocks
Our Environment We will exercise on Microsoft Visual C++ v.6
ILL (Interlibrary Loan)
Running a Java Program using Blue Jay.
Input and Output Python3 Beginner #3.
Presentation transcript:

Prepared by Abdullah Mueen and Eamonn Keogh User manual of MK Prepared by Abdullah Mueen and Eamonn Keogh

The MK Code MK is coded in C. It is compiled by gcc and executable in any platform. The executable file is also included with this package. The code dynamically allocates memory whenever necessary. If it fails to allocate memory it prints an error message in the stdout and stops execution. To the best of our knowledge it is bug free as long as the input is in the correct format. Please report bugs if you encounter any.

A Sample Run Please read this sample run, then redo it on your own machine (the sample data is provided) before doing anything else. Put all the files in the matlab work directory, then boot up matlab..

From the matlab window, type find_motif

Point to the time series you want to explore

In this case, insect_a.txt

This number should be less than or equal to the full length of the time series. If it is less than the full length, the code truncates off the remainder The length of the motifs you wish to find. X must be at least 1. As it gets larger, many more time series tend to be in the motif cluster. We suggest you start small (say 2) and increase it a little (say to 3) in the next run. The number of distinct motifs to find. Use 1 for the first few times. Number of reference points. We strongly suggest you use the default value of 10. When you are ready, click OK

What's happening? The code is running. If you have less than a 20,000 length time series, and a motif length less than 500, this should be a few seconds. If you have very long time series 50,000+ or very long motifs 1000+, or very noisy data, this could take minutes. When the code is done, you will see…

The code is inviting you to plot the output The output file is named such that you can tell which experiment it came from: In this case it is.. insect_a_txt_18000_120_2.0_1.txt The source time series How long of section you looked at The motif length The radius This is the kth motif Lets say “yes”, and plot the output, a dialogue box appears, and we find the file…

Here is a dendrogram (single linkage) of the motifs discovered Here is a dendrogram (single linkage) of the motifs discovered. Time series “1” and “2” are the “red” and “blue” time series. If too many motifs are returned, a message “dendrogram suppressed due to size” will appear. Here are the motifs plotted on top of each other. The two “seed” motifs are in red and blue Here are the locations of the motifs for context

Stand Alone Code The previous slides show how to use the matlab “wrapper” we wrote for the main motif finding code. The main code is in C. If you want to, you can call this code directly, the next few slides tell you how.

Input Input Time Series File m : Length of the Time series n : Length of the Motif X : Factor of the Cluster Radius K : Number of Cluster R : Number of Reference Points.

Input (Contd.) m and n must be positive integer and 4 < n << m. X can be any real number. Default value is 2 and can be omitted. The parameters K and R are integers. Default values are 1 and 10 respectively. Can be omitted also. R << m-n The input file contains m real numbers representing the Time Series. Numbers Can be separated by space or lines. They can also be in any real number format.

Output Output will be K files. The output files are named by concatenating all the input parameters separated by ‘_’. The last number denotes the rank of the motif cluster. Each of them has a set of subsequence time series printed in lines. The first number is the location of the subsequence in the original time series. The subsequence time series are z-normalized.

Ready to Find Motifs? All you need to do is read next page and email Eamonn Keogh requesting the password Why do we make you request the password? We want to track how many people are using our code. We want to encourage others to share their datasets (as we have) We want to encourage others to share their code (as we have) Note: the current code is main memory only, sometime in 2009 we plan to release a disk aware version that can handle 50,000,000+ time series. If you have a pressing need for such scalability now, let us know.

Email to eamonn@cs.ucr.edu I am requesting the password for the MK code I promise that if I publish a paper the uses the MK code, I will make every effort to make the data I test on publicly available. I promise that if I publish a paper the uses the MK code, I will make every effort to make the code I use publicly available. If you disagree with the above, I will still give you the code, but you need to explain why in detail.