1.15
User Documentation for Apache MADlib
 All Files Functions Variables Groups
Modules
Here is a list of all modules:
[detail level 1234]
oData Types and Transformations
|oArrays and MatricesMathematical operations for arrays and matrices
||oArray OperationsProvides fast array operations supporting other MADlib modules
||oMatrix OperationsProvides fast matrix operations supporting other MADlib modules
||oMatrix FactorizationLinear algebra methods that factorize a matrix into a product of matrices
|||oLow-Rank Matrix FactorizationPerforms low-rank matrix factorization for an incomplete matrix
|||\Singular Value DecompositionPerforms factorization of dense and sparse matrices
||oNorms and Distance FunctionsProvides utility functions for basic linear algebra operations
||\Sparse VectorsImplements a sparse vector data type that provides compressed storage of vectors that may have many duplicate elements
|oEncoding Categorical VariablesFunctions to encode categorical variables to prepare data for input into predictive algorithms
|oPathA function to perform complex pattern matching across rows and extract useful information about the matches
|oPivotPivoting and data summarization tools for preparing data for modeling operations
|oSessionizeSession reconstruction of data consisting of a time stampled sequence of events
|\StemmingProvides porter stemmer operations supporting other MADlib modules
oGraphGraph algorithms and measures associated with graphs
|oAll Pairs Shortest PathFinds the shortest paths between every vertex pair in a given graph
|oBreadth-First SearchFinds the nodes reachable from a given source vertex using a breadth-first approach
|oHITSFind the HITS scores(authority and hub) of all vertices in a directed graph
|oMeasuresA collection of metrics computed on a graph
||oAverage Path LengthComputes the average shortest-path length of a graph
||oClosenessComputes the closeness centrality value of each node in the graph
||oGraph DiameterComputes the diameter of a graph
||\In-Out DegreeComputes the degrees for each vertex
|oPageRankFind the PageRank of all vertices in a directed graph
|oSingle Source Shortest PathFinds the shortest path from a single source vertex to every other vertex in a given graph
|\Weakly Connected ComponentsFind all weakly connected components of a graph
oModel SelectionFunctions for model selection and model evaluation
|oCross ValidationEstimates the fit of a predictive model given a data set and specifications for the training, prediction, and error estimation functions
|oPrediction MetricsProvides various prediction accuracy metrics
|\Train-Test SplitA method for splitting a data set into separate training and testing sets
oSamplingA collection of methods for sampling from a population
|oBalanced SamplingA method to independently sample classes to produce a balanced data set. This is commonly used when classes are imbalanced, to ensure that subclasses are adequately represented in the sample
|\Stratified SamplingA method for independently sampling subpopulations (strata)
oStatisticsA collection of probability and statistics modules
|oDescriptive StatisticsMethods to compute descriptive statistics of a dataset
||oCardinality EstimatorsMethods to estimate the number of unique values contained in data
|||oCountMin (Cormode-Muthukrishnan)Implements Cormode-Mathukrishnan CountMin sketches on integer values as a user-defined aggregate
|||oFM (Flajolet-Martin)Implements Flajolet-Martin's distinct count estimation as a user-defined aggregate
|||\MFV (Most Frequent Values)Implements the most frequent values variant of the CountMin sketch as a user-defined aggregate
||oCovariance and CorrelationGenerates a covariance or Pearson correlation matrix for pairs of numeric columns in a table
||\SummaryCalculates general descriptive statistics for any data table
|oInferential StatisticsMethods to compute inferential statistics of a dataset
||\Hypothesis TestsProvides functions to perform statistical hypothesis tests
|\Probability FunctionsProvides cumulative distribution, density/mass, and quantile functions for a wide range of probability distributions
oSupervised LearningMethods to perform a variety of supervised learning tasks
|oConditional Random FieldConstructs a Conditional Random Fields (CRF) model for labeling sequential data
|oNeural NetworkSolves classification and regression problems with several fully connected layers and non-linear activation functions
|oRegression ModelsA collection of methods for modeling conditional expectation of a response variable
||oClustered VarianceCalculates clustered variance for linear, logistic, and multinomial logistic regression models, and Cox proportional hazards models
||oCox-Proportional Hazards RegressionModels the relationship between one or more independent predictor variables and the amount of time before an event occurs
||oElastic Net RegularizationGenerates a regularized regression model for variable selection in linear and logistic regression problems, combining the L1 and L2 penalties of the lasso and ridge methods
||oGeneralized Linear ModelsEstimate generalized linear model (GLM). GLM is a flexible generalization of ordinary linear regression that allows for response variables that have error distribution models other than a normal distribution. The GLM generalizes linear regression by allowing the linear model to be related to the response variable via a link function and by allowing the magnitude of the variance of each measurement to be a function of its predicted value
||oLinear RegressionAlso called Ordinary Least Squares Regression, models linear relationship between a dependent variable and one or more independent variables
||oLogistic RegressionModels the relationship between one or more predictor variables and a binary categorical dependent variable by predicting the probability of the dependent variable using a logistic function
||oMarginal EffectsCalculates marginal effects for the coefficients in regression problems
||oMultinomial RegressionMultinomial regression is to model the conditional distribution of the multinomial response variable using a linear combination of predictors
||oOrdinal RegressionRegression to model data with ordinal response variable
||\Robust VarianceCalculates Huber-White variance estimates for linear, logistic, and multinomial regression models, and for Cox proportional hazards models
|oSupport Vector MachinesSolves classification and regression problems by separating data with a hyperplane or other nonlinear decision boundary
|\Tree MethodsA collection of recursive partitioning (tree) methods
| oDecision TreeDecision trees are tree-based supervised learning methods that can be used for classification and regression
| \Random ForestRandom forest is an ensemble learning method for classification and regression that construct a multitude of decision trees at training time, then produces the class that is the mean (regression) or mode (classification) of the prediction produced by the individual trees
oTime Series AnalysisA collection of methods to analyze time series data
|\ARIMAGenerates a model with autoregressive, moving average, and integrated components for a time series dataset
oUnsupervised LearningA collection of methods for unsupervised learning tasks
|oAssociation RulesMethods used to discover patterns in transactional datasets
||\Apriori AlgorithmComputes association rules for a given set of data
|oClusteringMethods for clustering data
||\k-Means ClusteringPartitions a set of observations into clusters by finding centroids that minimize the sum of observations' distances from their closest centroid
|oDimensionality ReductionMethods for reducing the number of variables in a dataset to obtain a set of principle variables
||oPrincipal Component AnalysisProduces a model that transforms a number of (possibly) correlated variables into a (smaller) number of uncorrelated variables called principal components
||\Principal Component ProjectionProjects a higher dimensional data point to a lower dimensional subspace spanned by principal components learned through the PCA training procedure
|\Topic ModellingA collection of methods to uncover abstract topics in a document corpus
| \Latent Dirichlet AllocationGenerates a Latent Dirichlet Allocation predictive model for a collection of documents
oUtilities
|oColumns to VectorCreate a new table with all feature columns inserted into a single column as an array
|oDatabase FunctionsProvides a collection of user-defined functions for performing common tasks in the database
|oLinear SolversMethods that implement solutions for systems of consistent linear equations
||oDense Linear SystemsImplements solution methods for large dense linear systems. Currently, restricted to problems that fit in memory
||\Sparse Linear SystemsImplements solution methods for linear systems with sparse matrix input. Currently, restricted to problems that fit in memory
|oMini-Batch PreprocessorUtility that prepares input data for use by models that support mini-batch as an optimization option
|oPMML ExportImplements the PMML XML standard to describe and exchange models produced by data mining and machine learning algorithms
|oTerm FrequencyProvides a collection of functions for performing common tasks related to text analytics
|\Vector to ColumnsConverts a feature array in a single column of an output table into multiple columns
oEarly Stage Development
|oConjugate GradientFinds the solution to the function \( \boldsymbol Ax = \boldsymbol b \), where \(A\) is a symmetric, positive-definite matrix and \(x\) and \( \boldsymbol b \) are vectors
|ok-Nearest NeighborsFinds k nearest data points to the given data point and outputs majority vote value of output classes for classification, and average value of target values for regression
|oNaive Bayes ClassificationConstructs a classification model from a dataset where each attribute independently contributes to the probability that a data point belongs to a category
|\Random SamplingProvides utility functions for sampling operations
\Deprecated Modules
 oCreate Indicator VariablesProvides utility functions helpful for data preparation before modeling
 \Multinomial Logistic RegressionAlso called as softmax regression, models the relationship between one or more independent variables and a categorical dependent variable