Package edu.cmu.tetrad.search.utils
Class ShiftSearch
java.lang.Object
edu.cmu.tetrad.search.utils.ShiftSearch
Tries to find a good shifting of variables to minimize average BIC for time-series data. The idea is that the data one is presented with may have the variables temporally shifted with respect to one another. ShiftSearch attempts to find a shifting of the variables that reduces this temporal shifting.
- Author:
- josephramsey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getC()
int
int
int[]
search()
void
setC
(int c) void
setForwardSearch
(boolean forwardSearch) void
setKnowledge
(Knowledge knowledge) void
setMaxNumShifts
(int maxNumShifts) void
setMaxShift
(int maxShift) void
setOut
(OutputStream out) void
setPrecomputeCovariances
(boolean precomputeCovariances) void
stop()
-
Constructor Details
-
ShiftSearch
-
-
Method Details
-
search
public int[] search() -
getMaxShift
public int getMaxShift() -
setMaxShift
public void setMaxShift(int maxShift) -
getKnowledge
-
setKnowledge
-
getC
public int getC() -
setC
public void setC(int c) -
getMaxNumShifts
public int getMaxNumShifts() -
setMaxNumShifts
public void setMaxNumShifts(int maxNumShifts) -
setOut
-
stop
public void stop() -
setForwardSearch
public void setForwardSearch(boolean forwardSearch) -
setPrecomputeCovariances
public void setPrecomputeCovariances(boolean precomputeCovariances)
-