-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Yiran Huang edited this page Jan 26, 2017
·
1 revision
given two double array, calculate the correlation hierarchet struture of the data
- CorHierarchet(double[] data1, double[] date2)
- CorHierarchet()
- claStufeOne(int sizeOfWindow): despite the data durch the time window and calculate
-
the correaltion coeffizient in jede window
- calStufeNext(List<ArrayList> old, double threshold): calulate the cor in next
-
edage base on the item in current edage. return List<ArrayList<Double>>
- getStufeOne(): get the data in stufe one, return List<ArrayList>
- getLongestWindowInStufe(List<ArrayList> stufe): get the longest window in the given stufe
- getSizeOfData(): return the size of the data
- showStufe(List<ArrayList> stufe): display the data in gegeben stufe in screen.
- showStufeOne()
- showItem(ArrayList): display the given item in the screen
- readData(String name1, String name2): read data from the given file name. bedingthaft!!!
- getBestCW()
- int sizeOfData = 200;
- double[] data1;
- double[] data2;
- List<ArrayList stufe1 = new ArrayList<ArrayList>();
- PearsonsCorrelation cor = new PearsonsCorrelation();
*attention:
- data.length % sizeOfWindow == 0 otherwise may throws out of range exception */