package fda
The fda
package contains classes, traits and objects for
Functional Data Analysis (FDA).
- Alphabetic
- By Inheritance
- fda
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
B_Spline
extends Error
The
B_Spline
class provides B-Spline basis functions for various orders 'm', where the order is one more than the degree.The
B_Spline
class provides B-Spline basis functions for various orders 'm', where the order is one more than the degree. A spline function is a piecewise polynomial function where the pieces are stitched together at knots with the goal of maintaining continuity and differentability. B-Spline basis functions form a popular form of basis functions used in Functional Data Analysis.- See also
open.uct.ac.za/bitstream/item/16664/thesis_sci_2015_essomba_rene_franck.pdf?sequence=1 -----------------------------------------------------------------------------
-
class
KMeansClustering_F
extends Clusterer
The
KMeansClustering_F
class provides a simple form of k-means clustering that simply smoothes the data and then appliersKMeansClustering
. -
class
PrincipalComponents_F
extends Reducer
The
PrincipalComponents_F
class performs the Principal Component Analysis 'PCA' on data matrix 'x'.The
PrincipalComponents_F
class performs the Principal Component Analysis 'PCA' on data matrix 'x'. It can be used to reduce the dimensionality of the data. First find the Principal Components 'PC's by calling 'findPCs' and then call 'reduce' to reduce the data (i.e., reduce matrix 'x' to a lower dimensionality matrix). -
class
PrincipalDiff
extends AnyRef
The
PrincipalDiff
class uses Principal Differential Analysis (PDA) to fit functional data from a process governed by an Ordinary Differential Equation (ODE).The
PrincipalDiff
class uses Principal Differential Analysis (PDA) to fit functional data from a process governed by an Ordinary Differential Equation (ODE). FIX - TBD -
class
Regression_F
extends AnyRef
The
Regression_F
class performs functional linear regression.The
Regression_F
class performs functional linear regression.y = b0 + b1 * x(t) + ε
-
class
Smoothing_F
extends Error
The
Smoothing_F
class fits a time-dependent data vector 'y' to B-Splines.The
Smoothing_F
class fits a time-dependent data vector 'y' to B-Splines.y(t(i)) = x(t(i)) + ε(t(i)) x(t) = cΦ(t)
where 'x' is the signal, 'ε' is the noise, 'c' is a coefficient vector and 'Φ(t)' is a vector of basis functions. -----------------------------------------------------------------------------
-
class
StatFunction
extends AnyRef
The
StatFunction
class takes an array of functions 'xa' and provides an 'apply' method for evaluating these functions at time 't' to produce a vector from which statistics can be computed.The
StatFunction
class takes an array of functions 'xa' and provides an 'apply' method for evaluating these functions at time 't' to produce a vector from which statistics can be computed. Each function represents an experimental replication.
Value Members
-
object
B_SplineTest
extends App
The
B_SplineTest
object is used to test theB_Spline
class.The
B_SplineTest
object is used to test theB_Spline
class. It tests the B-Spline functions for specific orders. > run-main scalation.analytics.fda.B_SplineTest -
object
B_SplineTest2
extends App
The
B_SplineTest2
object is used to test theB_Spline
class.The
B_SplineTest2
object is used to test theB_Spline
class. It tests the B-Spline functions using the general recurrence. > run-main scalation.analytics.fda.B_SplineTest2 -
object
B_SplineTest3
extends App
The
B_SplineTest2
object is used to test theB_Spline
class.The
B_SplineTest2
object is used to test theB_Spline
class. It tests the B-Spline functions using the general recurrence and plots several basis functions usingPlotM
. > run-main scalation.analytics.fda.B_SplineTest3 -
object
KMeansClustering_FTest
extends App
The
KMeansClustering_FTest
object is used to test theKMeansClustering_F
class.The
KMeansClustering_FTest
object is used to test theKMeansClustering_F
class. > run-main scalation.analytics.fda.KMeansClustering_FTest -
object
PrincipalComponents_FTest
extends App
The
PrincipalComponents_FTest
object is used to test thePrincipalComponents_F
class.The
PrincipalComponents_FTest
object is used to test thePrincipalComponents_F
class.- See also
www.ce.yildiz.edu.tr/personal/songul/file/1097/principal_components.pdf > run-main scalation.analytics.PrincipalComponents_FTest
-
object
PrincipalDiffTest
extends App
The
PrincipalDiffTest
object is used to test thePrincipalDiff
class.The
PrincipalDiffTest
object is used to test thePrincipalDiff
class. > run-main scalation.analytics.fda.PrincipalDiffTest FIX - smoothing not working correctly -
object
Regression_FTest
extends App
The
Regression_FTest
object is used to test theRegression_F
class.The
Regression_FTest
object is used to test theRegression_F
class. > run-main scalation.analytics.fda.Regression_FTest -
object
Regression_FTest2
extends App
The
Regression_FTest2
object is used to test theRegression_F
class.The
Regression_FTest2
object is used to test theRegression_F
class. > run-main scalation.analytics.fda.Regression_FTest2 -
object
Smoothing_FTest
extends App
The
Smoothing_FTest
is used to test theSmoothing_F
class.The
Smoothing_FTest
is used to test theSmoothing_F
class. > run-main scalation.analytics.fda.Smoothing_FTest -
object
Smoothing_FTest2
extends App
The
Smoothing_FTest2
is used to test theSmoothing_F
class.The
Smoothing_FTest2
is used to test theSmoothing_F
class. > run-main scalation.analytics.fda.Smoothing_FTest2 -
object
StatFunction
The
StatFunction
companion object extends statistics vector operations to matrices.The
StatFunction
companion object extends statistics vector operations to matrices. TheStatFunction
object/class is the functional analog to theStatVector
object/class. -
object
StatFunctionTest
extends App
The
StatFunctionTest
object is used to test theStatFunction
class.The
StatFunctionTest
object is used to test theStatFunction
class. > run-main scalation.analytics.fda.StatFunctionTest -
object
StatFunctionTest2
extends App
The
StatFunctionTest2
object is used to test theStatFunction
object.The
StatFunctionTest2
object is used to test theStatFunction
object. > run-main scalation.analytics.fda.StatFunctionTest2