cmake/TestIfNoUTF8BOM.py,77 def detectBOM(inFileName):detectBOM4,34 def main(argv = None):main21,507 configure,33 check_cmake() {check_cmake5,21 deploy/PackageMaker/Welcome.html,0 deploy/PGXN/generate_package.sh.in,0 doc/bin/doxypy.py,1613 __applicationName__ = "doxypy"__applicationName__3,23 __version__ = "0.4.2"__version__18,457 __date__ = "14th October 2009"__date__19,479 __website__ = "http://code.foosel.org/doxypy"__website__20,510 __author__ = (__author__22,557 __licenseName__ = "GPL v2"__licenseName__27,682 class FSM(object):FSM47,1413 def __init__(self, start_state=None, transitions=[]):__init__63,1968 def setStartState(self, state):setStartState69,2155 def addTransition(self, from_state, to_state, condition, callback):addTransition72,2218 def makeTransition(self, input):makeTransition75,2361 class Doxypy(object):Doxypy93,2944 def __init__(self):__init__94,2966 def __closeComment(self):__closeComment179,7102 def __docstringSummaryToBrief(self, line):__docstringSummaryToBrief194,7546 def __flushBuffer(self):__flushBuffer206,7869 def catchall(self, input):catchall221,8343 def resetCommentSearch(self, match):resetCommentSearch225,8440 def startCommentSearch(self, match):startCommentSearch235,8758 def stopCommentSearch(self, match):stopCommentSearch247,9104 def appendFileheadLine(self, match):appendFileheadLine260,9458 def appendCommentLine(self, match):appendCommentLine271,9789 def appendNormalLine(self, match):appendNormalLine312,11362 def appendDefclassLine(self, match):appendDefclassLine318,11559 def makeCommentBlock(self):makeCommentBlock324,11771 def parse(self, input):parse339,12140 def parseFile(self, filename):parseFile356,12547 def parseLine(self, line):parseLine372,12958 def optParse():optParse381,13178 def main():main405,13788 doc/bin/py_filter.sh.in,0 doc/bin/sql_filter.sh.in,0 doc/bin/update_mathjax.sh.in,0 doc/design/design.tex,0 doc/design/modules/convex-programming.tex,1759 \chapter[Convex Programming Framework]{Convex Programming Framework}Convex Programming Framework5,144 \paragraph{Line Search: A Class of Algorithms.}Line Search A Class of Algorithms57,3997 \subsection{Formal Description of Line Search}Formal Description of Line Search67,4849 \paragraph{Programming Model.}Programming Model92,5931 \paragraph{Parallelism.}Parallelism95,6126 \paragraph{Convergence criterion.}Convergence criterion102,6475 \paragraph{Start strategy.}Start strategy112,6999 \paragraph{Transition and finalization strategies.}Transition and finalization strategies115,7086 \subsection{Incremental Gradient Descent (IGD)}Incremental Gradient Descent IGD121,7577 \subsubsection{Initialization Strategy}Initialization Strategy130,8598 \subsubsection{Transition Strategy}Transition Strategy140,8936 \paragraph{Stepsize.}Stepsize157,9639 \paragraph{Gradient function.}Gradient function163,10258 \subsubsection{Finalization Strategy}Finalization Strategy168,10676 \subsection{Conjugate Gradient Methods}Conjugate Gradient Methods178,11027 \subsubsection{Initialization Strategy}Initialization Strategy184,11636 \subsubsection{Transition Strategy}Transition Strategy199,12233 \subsubsection{Finalization Strategy}Finalization Strategy211,12707 \paragraph{Update parameter strategy.}Update parameter strategy236,13704 \subsection{Newton's Method}Newton s method uses a search direction other than the steepest descent direction emph Newton direction248,14870 \paragraph{Inverse of the Hessian Matrix.}Inverse of the Hessian Matrix296,17110 \section{Implemented Machine Learning Algorithms}Implemented Machine Learning Algorithms308,18135 \subsection{Linear Ridge Regression}Linear Ridge Regression313,18287 doc/design/modules/crf.tex,2197 \chapter[Linear-chain Conditional Random Field]{Linear-chain Conditional Random Field}Linear chain Conditional Random Field5,144 \section{Linear-chain CRF Learning}Linear chain CRF Learning12,700 \subsection{Mathematical Notations}Mathematical Notations14,737 \subsection{Formulation}Formulation28,1574 \subsection{Forward-backward Algorithm}Forward backward Algorithm45,2676 \subsection{L-BFGS Convex Solver}L BFGS Convex Solver64,3265 \subsection{Parallel CRF Training}Parallel CRF Training75,4172 \paragraph{Programming Model.}Programming Model100,5314 \paragraph{Parallelism.}Parallelism103,5514 \paragraph{Convergence criterion.}Convergence criterion112,6185 \paragraph{Start strategy.}Start strategy120,6505 \paragraph{Transition strategies.}Transition strategies123,6592 \paragraph{Merge strategies.}Merge strategies141,7416 \paragraph{Finalization strategy.}Finalization strategy155,8068 \section{Linear-chain CRF Applications}Linear chain CRF Applications176,9399 \subsection{Part of Speech Tagging}Part of Speech Tagging180,9702 \subsection{Tag Set}Tag Set187,10374 \subsection{Regular Expression Table}Regular Expression Table208,11534 \subsection{Training Data Feature Extraction}Training Data Feature Extraction301,16732 \paragraph{Sample Feature Extraction SQLs for edge features and regex features}Sample Feature Extraction SQLs for edge features and regex features304,17051 \paragraph{Build the feature dictionary and assign each feature with a unique feature id}Build the feature dictionary and assign each feature with a unique feature id321,17631 \paragraph{Generate sparse\_r table}Generate sparse _r table334,18064 \subsection{Learned Model}Learned Model411,20637 \subsection{Testing Data Feature Extraction}Testing Data Feature Extraction455,22351 \paragraph{Sample Feature Extraction SQLs}Sample Feature Extraction SQLs462,22682 \section{Linear-chain CRF Inference}Linear chain CRF Inference545,26042 \subsection{Parallel CRF Inference}Parallel CRF Inference551,26538 \subsection{Viterbi Inference Algorithm}Viterbi Inference Algorithm560,27012 \subsection{Viterbi Inference output}Viterbi Inference output569,27230 doc/design/modules/k-means.tex,1957 \chapter[Clustering (k-means et al.)]{Clustering ($k$-Means et al.)}Clustering k means et al4,142 \section{Overview of Algorithms} \label{sec:kmeans:Algorithms}Overview of Algorithms26,2105 \subsection{Algorithm Variants}Algorithm Variants41,4006 \paragraph{Seeding}Seeding44,4118 \paragraph{Repositioning}Repositioning55,4763 \paragraph{Convergence Criterion}Convergence Criterion59,5163 \paragraph{Variable Number of Clusters}Variable Number of Clusters69,5561 \section{Seeding Algorithms}Seeding Algorithms74,5809 \subsection{Uniform-at-random Sampling}Uniform at random Sampling78,5920 \subsection[k-means++]{$k$-means++}k means82,6067 \subsubsection{Formal Description}Formal Description86,6621 \subsubsection{Implementation as User-Defined Function}Implementation as User Defined Function140,9687 \paragraph{In- and Output} The UDF expects the following arguments, and returns the following values:In and Output144,10606 \paragraph{Components} The set of centroids $C$ is stored as a dense floating-point matrix that contains the centroids as columns vectors. Algoritm~\ref{alg:kmeans++} can be (roughly) translated into SQL as follow. We assume here that all function arguments are available as constants, and the matrix containing the centroids as columns is available as \texttt{centroids}. Line~\ref{alg:kmeanspp:firstCentroid} becomes:Components184,11614 \subsubsection{Historical Implementations}Historical Implementations202,12606 \section[Standard algorithm for k-means clustering]{Standard algorithm for $k$-means clustering}Standard algorithm for k means clustering220,13879 \subsection{Formal Description}Formal Description224,14122 \subsection{Implementation as User-Defined Function}Implementation as User Defined Function247,15546 \paragraph{In- and Output} The UDF expects the following arguments, and returns the following values:In and Output251,16036 \paragraph{Components}Components300,17340 doc/design/modules/lda.tex,444 \chapter{Latent Dirichlet Allocation (LDA)}Latent Dirichlet Allocation LDA5,144 \section{Overview of LDA}Overview of LDA18,831 \section{Gibbs Sampling for LDA}Gibbs Sampling for LDA40,2085 \subsection{Overview}Overview41,2118 \subsection{Parallization}Parallization63,3207 \subsection{Formal Description}Formal Description68,3777 \subsection{Implementation as User-Defined Function}Implementation as User Defined Function125,5537 doc/design/modules/low-rank-matrix-decomposition.tex,288 \chapter{Low-rank Matrix Factorization}Low rank Matrix Factorization5,144 \section{Incremental Gradient Descent}Incremental Gradient Descent25,1464 \subsection{Solving as a Convex Program}Solving as a Convex Program28,1574 \subsection{Formal Description}Formal Description33,2096 doc/design/modules/matrix-operations.tex,687 \chapter{Matrix Operations}Matrix Operations4,142 \section{Constructing Matrices}Constructing Matrices17,684 \subsection{Construct a matrix from columns stored as tuples} \label{sec:matrix:matrixAgg}Construct a matrix from columns stored as tuples19,717 \subsubsection{Implementation as User-Defined Aggregate}Implementation as User Defined Aggregate23,955 \section{Norms and Distances}Norms and Distances43,1352 \subsection{Column in a matrix that is closest to a given vector} \label{sec:matrix:closestColumn}Column in a matrix that is closest to a given vector45,1383 \subsubsection{Implementation as User-Defined Function}Implementation as User Defined Function49,1749 doc/design/modules/regression.tex,377 \chapter[Regression]{Regression}Regression4,140 \section{Linear Methods for Regression} % (fold)Linear Methods for Regression30,1193 \section{Regularization} % (fold)Regularization35,1335 \subsection{Linear Ridge Regression}Linear Ridge Regression47,2101 \subsection{Elastic Net Regularization} % (fold)Elastic Net Regularization95,4160 \paragraph{IGD}IGD255,11615 doc/design/modules/sampling.tex,339 \chapter{Sampling}Sampling4,142 \section{Sampling without Replacement} \label{sec:SampingWOReplacement}Sampling without Replacement14,364 \subsection{Probabilistic Sampling}Probabilistic Sampling20,1080 \subsubsection{Formal Description}Formal Description24,1627 \subsubsection{Implementation in SQL}Implementation in SQL55,3287 doc/design/other-chapters/abstraction-layers.tex,2952 \chapter{Abstraction Layers}Abstraction Layers4,142 \section{The C++ Abstraction Layer}The C Abstraction Layer19,756 \subsection{Overview of Functionality} \label{sec:C++AL:Classes}Overview of Functionality25,1661 \paragraph{Type Bridging}Type Bridging27,1727 \paragraph{Math-Library Integration and Performance}Math Library Integration and Performance38,3190 \paragraph{Modular Fold/Reduce Components}Modular Fold Reduce Components56,7513 \subsection{Type Bridging}Type Bridging69,10224 \subsubsection[Class AnyType]{Class \symlabel{AnyType}{sym:AnyType}}Class AnyType71,10252 \paragraph{Member functions}Member functions83,11454 \paragraph{Non-Member Functions}Non Member Functions145,13379 \subsection{Math-Library Integration}Math Library Integration170,14674 \subsubsection[Class HandleMap]{Class \symlabel{HandleMap}{sym:HandleMap}}Class HandleMap172,14713 \paragraph{Requirements}Requirements174,14789 \paragraph{Types}Types182,15268 \paragraph{Member functions}Member functions188,15367 \paragraph{Requirements}Requirements298,20468 \paragraph{Types}Types304,20556 \paragraph{Member Functions}Member Functions311,20650 \paragraph{Specialized Concepts}Specialized Concepts329,20959 \subsubsection[Class Ref]{Class \symlabel{Ref}{sym:Ref}}Class Ref358,21794 \paragraph{Requirements}Requirements362,21989 \paragraph{Types}Types369,22188 \paragraph{Member Functions}Member Functions376,22280 \subsubsection[Class ByteStream]{Class \symlabel{ByteStream}{sym:ByteStream}}Class ByteStream429,23613 \paragraph{Member Functions}Member Functions435,24434 \paragraph{Non-Member Functions}Non Member Functions496,25932 \subsubsection[Class ByteStreamHandleBuf]{Class \symlabel{ByteStreamHandleBuf}{sym:ByteStreamHandleBuf}}Class ByteStreamHandleBuf508,26308 \paragraph{Types}Types514,26895 \paragraph{Constants}Constants520,27035 \paragraph{Member Functions}Member Functions526,27292 \subsubsection[Concept DynamicStructContainer]{Concept \symlabel{DynamicStructContainer}{sym:DynamicStructContainer}}Concept DynamicStructContainer559,28557 \paragraph{Types}Types563,28990 \paragraph{Constants}Constants571,29290 \paragraph{Member functions}Member functions577,29547 \paragraph{Specialized Concepts}Specialized Concepts609,30119 \subsubsection[Class DynamicStruct]{Class \symlabel{DynamicStruct}{sym:DynamicStruct}}Class DynamicStruct626,30808 \paragraph{Requirements}Requirements630,31306 \paragraph{Types}Types637,31531 \paragraph{Member Functions}Member Functions649,32345 \paragraph{Non-Member Functions}Non Member Functions680,33114 \subsection{Modular Fold/Reduce Components}Modular Fold Reduce Components692,33375 \subsubsection[Concept Accumulator]{Concept \symlabel{Accumulator}{sym:Accumulator}}Concept Accumulator694,33420 \paragraph{Requirements}Requirements698,33828 \paragraph{Types}Types704,33972 \paragraph{Member Functions}Member Functions712,34439 doc/patch/doxygen.css.sh,0 examples/gpce/kmeans.sql,401 CREATE FUNCTION madlib_kmeans_test.random_array ( random_array20,751 CREATE FUNCTION madlib_kmeans_test.rnorm( mean FLOAT, sd FLOAT) RETURNS FLOAT AS $$rnorm43,1406 CREATE FUNCTION madlib_kmeans_test.gaussian_sparse_array( center FLOAT[], sparsity FLOAT) RETURNS madlib.svec AS $$gaussian_sparse_array53,1821 CREATE FUNCTION madlib_kmeans_test.min( FLOAT, FLOAT) RETURNS FLOAT AS $$min73,2451 examples/gpce/logistic-regress.sql,315 CREATE TABLE artificiallogregartificiallogreg18,682 id SERIAL NOT NULL,artificiallogreg.id20,714 y BOOLEAN,artificiallogreg.y21,735 x REAL[]artificiallogreg.x22,747 CREATE OR REPLACE FUNCTION randomNormalArray(n INTEGER)randomNormalArray29,885 CREATE OR REPLACE FUNCTION dotProduct(dotProduct59,1482 examples/gpce/multi-lin-regress.sql,1051 CREATE TABLE houses (id INT, tax INT, bedroom INT, bath FLOAT, price INT, size INT, lot INT) distributed by (ID);houses8,330 CREATE TABLE houses (id INT, tax INT, bedroom INT, bath FLOAT, price INT, size INT, lot INT) distributed by (ID);houses.id8,330 CREATE TABLE houses (id INT, tax INT, bedroom INT, bath FLOAT, price INT, size INT, lot INT) distributed by (ID);houses.tax8,330 CREATE TABLE houses (id INT, tax INT, bedroom INT, bath FLOAT, price INT, size INT, lot INT) distributed by (ID);houses.bedroom8,330 CREATE TABLE houses (id INT, tax INT, bedroom INT, bath FLOAT, price INT, size INT, lot INT) distributed by (ID);houses.bath8,330 CREATE TABLE houses (id INT, tax INT, bedroom INT, bath FLOAT, price INT, size INT, lot INT) distributed by (ID);houses.price8,330 CREATE TABLE houses (id INT, tax INT, bedroom INT, bath FLOAT, price INT, size INT, lot INT) distributed by (ID);houses.size8,330 CREATE TABLE houses (id INT, tax INT, bedroom INT, bath FLOAT, price INT, size INT, lot INT) distributed by (ID);houses.lot8,330 examples/gpce/naive-bayes.sql,152 CREATE TABLE bayesbayes12,413 id integer NOT NULL,bayes.id14,434 class INTEGER,bayes.class15,456 attributes INTEGER[],bayes.attributes16,472 examples/gpce/sketches.sql,0 examples/gpce/svd-mf.sql,552 CREATE OR REPLACE FUNCTION madlib_svdsparse_test.Generate_Sparse(INT, INT, INT) RETURNS void AS $$Generate_Sparse28,1183 CREATE TABLE madlib_svdsparse_test.test(test33,1353 row_num INT, test.row_num34,1394 col_num INT,test.col_num35,1409 val FLOATtest.val36,1423 CREATE OR REPLACE FUNCTION madlib_svdsparse_test.Generate_Random(INT, INT, INT) RETURNS void AS $$Generate_Random56,2231 CREATE TABLE madlib_svdsparse_test.test(test61,2401 row_num INT, test.row_num62,2442 col_num INT,test.col_num63,2457 val FLOATtest.val64,2471 examples/gpce/svm.sql,0 methods/array_ops/src/pg_gp/array_ops.c,4236 PG_FUNCTION_INFO_V1(array_of_float);array_of_float76,4033 Datum array_of_float(PG_FUNCTION_ARGS){array_of_float77,4070 PG_FUNCTION_INFO_V1(array_of_bigint);array_of_bigint86,4391 Datum array_of_bigint(PG_FUNCTION_ARGS){array_of_bigint87,4429 Datum noop_finalize(Datum elt,int size,Oid element_type){noop_finalize96,4744 Datum average_finalize(Datum elt,int size,Oid element_type){average_finalize102,4940 Datum average_root_finalize(Datum elt,int size,Oid element_type){average_root_finalize107,5127 Datum element_diff(Datum elt1, Datum *elt2, Oid element_type, Datum result){element_diff112,5325 Datum element_sum(Datum elt1, Datum *flag, Oid element_type, Datum result){element_sum133,6453 Datum element_min(Datum elt1, Datum *flag, Oid element_type, Datum result){element_min155,7311 Datum element_max(Datum elt1, Datum *flag, Oid element_type, Datum result){element_max190,8210 Datum element_dot(Datum elt1, Datum elt2, Oid element_type, Datum result){element_dot225,9109 Datum element_contains(Datum elt1, Datum elt2, Oid element_type, Datum result){element_contains247,9954 inline char* element_set(Datum elt1, Datum elt2, Oid element_type, char* result){element_set268,11054 inline char* element_add(Datum elt1, Datum elt2, Oid element_type, char* result){element_add290,11796 inline char* element_sub(Datum elt1, Datum elt2, Oid element_type, char* result){element_sub311,12583 inline char* element_mult(Datum elt1, Datum elt2, Oid element_type, char* result){element_mult332,13370 char* element_div(Datum elt1, Datum elt2, Oid element_type, char* result){element_div353,14158 char* element_sqrt(Datum elt1, Datum elt2, Oid element_type, char* result){element_sqrt399,16058 PG_FUNCTION_INFO_V1(array_stddev);array_stddev422,16825 Datum array_stddev(PG_FUNCTION_ARGS){array_stddev423,16860 PG_FUNCTION_INFO_V1(array_mean);array_mean440,17228 Datum array_mean(PG_FUNCTION_ARGS){array_mean441,17261 PG_FUNCTION_INFO_V1(array_sum_big);array_sum_big458,17551 Datum array_sum_big(PG_FUNCTION_ARGS){array_sum_big459,17587 PG_FUNCTION_INFO_V1(array_sum);array_sum476,17877 Datum array_sum(PG_FUNCTION_ARGS){array_sum477,17909 PG_FUNCTION_INFO_V1(array_min);array_min494,18195 Datum array_min(PG_FUNCTION_ARGS){array_min495,18227 PG_FUNCTION_INFO_V1(array_max);array_max512,18513 Datum array_max(PG_FUNCTION_ARGS){array_max513,18545 PG_FUNCTION_INFO_V1(array_dot);array_dot530,18831 Datum array_dot(PG_FUNCTION_ARGS){array_dot531,18863 PG_FUNCTION_INFO_V1(array_contains);array_contains552,19235 Datum array_contains(PG_FUNCTION_ARGS){array_contains553,19272 PG_FUNCTION_INFO_V1(array_add);array_add578,19707 Datum array_add(PG_FUNCTION_ARGS){array_add579,19739 PG_FUNCTION_INFO_V1(array_sub);array_sub600,20091 Datum array_sub(PG_FUNCTION_ARGS){array_sub601,20123 PG_FUNCTION_INFO_V1(array_mult);array_mult622,20475 Datum array_mult(PG_FUNCTION_ARGS){array_mult623,20508 PG_FUNCTION_INFO_V1(array_div);array_div644,20862 Datum array_div(PG_FUNCTION_ARGS){array_div645,20894 PG_FUNCTION_INFO_V1(array_fill);array_fill666,21246 Datum array_fill(PG_FUNCTION_ARGS){array_fill667,21279 PG_FUNCTION_INFO_V1(array_scalar_mult);array_scalar_mult686,21594 Datum array_scalar_mult(PG_FUNCTION_ARGS){array_scalar_mult687,21634 PG_FUNCTION_INFO_V1(array_sqrt);array_sqrt706,21957 Datum array_sqrt(PG_FUNCTION_ARGS){array_sqrt707,21990 Datum General_Array_to_Element(ArrayType *v, Datum exta_val, Datum(*element_function)(Datum,Datum*,Oid,Datum), Datum(*finalize_function)(Datum,int,Oid), int flag){General_Array_to_Element723,22242 Datum General_2Array_to_Element(ArrayType *v1, ArrayType *v2, Datum(*element_function)(Datum,Datum,Oid,Datum), Datum(*finalize_function)(Datum,int,Oid), int flag){General_2Array_to_Element845,25961 Datum General_2Array_to_Array(ArrayType *v1, ArrayType *v2, char*(*element_function)(Datum,Datum,Oid,char*)){General_2Array_to_Array956,29421 Datum General_Array_to_Array(ArrayType *v1, Datum elt2, char*(*element_function)(Datum,Datum,Oid,char*)){General_Array_to_Array1095,34059 PG_FUNCTION_INFO_V1(array_normalize);array_normalize1215,37793 Datum array_normalize(PG_FUNCTION_ARGS)array_normalize1216,37831 methods/array_ops/src/pg_gp/array_ops.sql_in,0 methods/array_ops/src/pg_gp/test/array_ops.sql_in,52 CREATE FUNCTION install_test() install_test13,598 methods/cart/src/pg_gp/c45.sql_in,325 * @param training_table_name The name of the table/view with the source data.with318,13593 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.c45_genrulec45_genrule606,25326 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.c45_genrulec45_genrule890,35332 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.c45_displayc45_display922,36173 methods/cart/src/pg_gp/dt.c,4149 #define dtelog(dtelog33,641 #define dtelog(dtelog35,685 #define ARRAY_SIZE(ARRAY_SIZE43,795 #define dt_fid_mask(dt_fid_mask52,992 #define DT_EPSILON DT_EPSILON63,1427 #define dt_is_float_zero(dt_is_float_zero70,1613 #define dt_cal_log(dt_cal_log82,1911 #define dt_cal_sqr(dt_cal_sqr84,1978 #define dt_cal_sqr_div(dt_cal_sqr_div86,2014 static float8 DT_CONFIDENCE_LEVEL[] =DT_CONFIDENCE_LEVEL97,2508 static float8 DT_CONFIDENCE_DEV[] =DT_CONFIDENCE_DEV99,2605 #define MIN_DT_CONFIDENCE_LEVEL MIN_DT_CONFIDENCE_LEVEL103,2704 #define MAX_DT_CONFIDENCE_LEVEL MAX_DT_CONFIDENCE_LEVEL104,2742 #define dt_check_error_value(dt_check_error_value107,2782 #define dt_check_error(dt_check_error118,3017 dt_ebp_calc_errorsdt_ebp_calc_errors157,3953 PG_FUNCTION_INFO_V1(dt_ebp_calc_errors);dt_ebp_calc_errors238,6060 dt_ebp_calc_additional_errorsdt_ebp_calc_additional_errors259,6875 dt_rep_aggr_class_count_sfuncdt_rep_aggr_class_count_sfunc320,8652 PG_FUNCTION_INFO_V1(dt_rep_aggr_class_count_sfunc);dt_rep_aggr_class_count_sfunc441,12033 bigint_array_addbigint_array_add456,12401 PG_FUNCTION_INFO_V1(bigint_array_add);bigint_array_add562,15352 dt_rep_aggr_class_count_ffuncdt_rep_aggr_class_count_ffunc580,16134 PG_FUNCTION_INFO_V1(dt_rep_aggr_class_count_ffunc);dt_rep_aggr_class_count_ffunc649,17806 enum DT_SCV_STATE_ARRAY_INDEXDT_SCV_STATE_ARRAY_INDEX822,26160 SCV_CODE = 0,SCV_CODE825,26234 SCV_IS_CONT,SCV_IS_CONT828,26287 SCV_U,SCV_U831,26331 SCV_V,SCV_V834,26369 SCV_W,SCV_W837,26407 SCV_T,SCV_T840,26445 SCV_SAMPLE_TOTAL, SCV_SAMPLE_TOTAL843,26515 SCV_MAX_CLASS_ID,SCV_MAX_CLASS_ID846,26605 SCV_MAX_CLASS_COUNTSCV_MAX_CLASS_COUNT849,26689 enum DT_SCV_FINAL_ARRAY_INDEXDT_SCV_FINAL_ARRAY_INDEX861,26936 SCV_FINAL_VALUE = 0,SCV_FINAL_VALUE864,26993 SCV_FINAL_IS_CONT,SCV_FINAL_IS_CONT867,27088 SCV_FINAL_CLASS_ID,SCV_FINAL_CLASS_ID870,27177 SCV_FINAL_CLASS_PROB,SCV_FINAL_CLASS_PROB873,27261 SCV_FINAL_TOTAL_COUNTSCV_FINAL_TOTAL_COUNT876,27321 #define DT_SC_INFOGAIN DT_SC_INFOGAIN881,27394 #define DT_SC_GAINRATIO DT_SC_GAINRATIO882,27420 #define DT_SC_GINI DT_SC_GINI883,27446 dt_best_scv_sfuncdt_best_scv_sfunc903,28335 PG_FUNCTION_INFO_V1(dt_best_scv_sfunc);dt_best_scv_sfunc1023,31675 dt_best_scv_prefuncdt_best_scv_prefunc1038,32123 PG_FUNCTION_INFO_V1(dt_best_scv_prefunc);dt_best_scv_prefunc1163,35546 dt_scv_aggr_sfuncdt_scv_aggr_sfunc1190,36884 PG_FUNCTION_INFO_V1(dt_scv_aggr_sfunc);dt_scv_aggr_sfunc1466,46321 dt_scv_aggr_prefuncdt_scv_aggr_prefunc1481,46781 PG_FUNCTION_INFO_V1(dt_scv_aggr_prefunc);dt_scv_aggr_prefunc1598,49991 dt_scv_aggr_ffuncdt_scv_aggr_ffunc1614,50491 PG_FUNCTION_INFO_V1(dt_scv_aggr_ffunc);dt_scv_aggr_ffunc1741,54160 dt_sample_within_rangedt_sample_within_range1758,54715 PG_FUNCTION_INFO_V1(dt_sample_within_range);dt_sample_within_range1810,56305 dt_get_node_split_fidsdt_get_node_split_fids1832,57192 PG_FUNCTION_INFO_V1(dt_get_node_split_fids);dt_get_node_split_fids1990,61384 dt_split_stringdt_split_string2014,62408 dt_escape_pct_symdt_escape_pct_sym2094,64328 dt_text_formatdt_text_format2165,66334 PG_FUNCTION_INFO_V1(dt_text_format);dt_text_format2315,69815 Datum table_exists(PG_FUNCTION_ARGS)table_exists2325,70066 PG_FUNCTION_INFO_V1(table_exists);table_exists2344,70555 dt_acc_count_sfuncdt_acc_count_sfunc2360,71088 PG_FUNCTION_INFO_V1(dt_acc_count_sfunc);dt_acc_count_sfunc2472,74158 dt_to_textdt_to_text2486,74465 PG_FUNCTION_INFO_V1(dt_to_text);dt_to_text2504,74956 Datum dt_array_indexed_agg_sfunc(PG_FUNCTION_ARGS)dt_array_indexed_agg_sfunc2523,75805 PG_FUNCTION_INFO_V1(dt_array_indexed_agg_sfunc);dt_array_indexed_agg_sfunc2617,78440 Datum dt_array_indexed_agg_prefunc(PG_FUNCTION_ARGS)dt_array_indexed_agg_prefunc2629,78685 PG_FUNCTION_INFO_V1(dt_array_indexed_agg_prefunc);dt_array_indexed_agg_prefunc2693,80197 Datum dt_array_indexed_agg_ffunc(PG_FUNCTION_ARGS)dt_array_indexed_agg_ffunc2704,80386 PG_FUNCTION_INFO_V1(dt_array_indexed_agg_ffunc);dt_array_indexed_agg_ffunc2782,82389 methods/cart/src/pg_gp/dt.sql_in,1958 CREATE TABLE MADLIB_SCHEMA.training_infotraining_info55,1888 classifier_name TEXT NOT NULL,training_info.classifier_name57,1935 result_table_oid OID NOT NULL,training_info.result_table_oid58,1982 training_table_oid OID,training_info.training_table_oid59,2028 training_metatable_oid OID,training_info.training_metatable_oid60,2065 training_encoded_table_oid OID,training_info.training_encoded_table_oid61,2102 validation_table_oid OID,training_info.validation_table_oid62,2139 how2handle_missing_value TEXT,training_info.how2handle_missing_value63,2176 split_criterion TEXT,training_info.split_criterion64,2214 sampling_percentage FLOAT,training_info.sampling_percentage65,2252 num_feature_chosen INT,training_info.num_feature_chosen66,2291 num_trees INT,training_info.num_trees67,2328 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__delete_traininginfo__delete_traininginfo79,2688 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__insert_into_traininginfo__insert_into_traininginfo111,4077 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_encode_table_name__get_encode_table_name153,5283 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__is_valid_enc_table__is_valid_enc_table187,6332 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_metatable_name__get_metatable_name232,7556 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_routine_id__get_routine_id271,8457 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_routine_name__get_routine_name302,9129 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_tree_table_name__get_tree_table_name339,9915 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__best_scv_sfunc__best_scv_sfunc363,10467 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__gen_acc__gen_acc652,20348 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__rep_aggr_class_count_sfunc__rep_aggr_class_count_sfunc780,24485 methods/cart/src/pg_gp/dt_preproc.sql_in,1855 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__validate_input_table __validate_input_table274,11157 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_classtable_name__get_classtable_name390,15324 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__drop_metatable __drop_metatable431,16167 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__create_metatable __create_metatable480,17290 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__insert_into_metatable __insert_into_metatable536,19149 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__validate_metatable __validate_metatable587,20492 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__distinct_feature_value __distinct_feature_value628,21573 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__num_of_feature __num_of_feature662,22283 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__num_of_class__num_of_class694,22919 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_feature_name __get_feature_name737,23871 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_column_value __get_column_value775,24856 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_feature_value __get_feature_value851,26801 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_id_column_name __get_id_column_name882,27367 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_class_column_name __get_class_column_name921,28102 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__get_class_value __get_class_value960,28922 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__breakup_table__breakup_table1010,30844 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__gen_horizontal_encoded_table__gen_horizontal_encoded_table1286,40249 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__encode_columns__encode_columns1347,42476 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__encode_table__encode_table1452,45668 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__encode_table__encode_table1722,54287 methods/cart/src/pg_gp/dt_utility.sql_in,135 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__to_char__to_char21,499 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__format__format67,1675 methods/cart/src/pg_gp/rf.sql_in,102 * @param training_table_name The name of the table/view with the training data.with474,32843 methods/cart/src/pg_gp/sql/dt_test.sql_in,142 -- ensure we didn't change the variable names of the returned typenames567,67025 CREATE OR REPLACE FUNCTION c45_testc45_test623,69271 methods/cart/src/pg_gp/sql/dt_utility_test.sql_in,75 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.dt_format_testdt_format_test1,0 methods/kernel_machines/src/pg_gp/__init__.py_in,0 methods/kernel_machines/src/pg_gp/online_sv.c,1626 #define FLOAT8ARRAYOID FLOAT8ARRAYOID25,503 static ArrayType *construct_zero_array(int inNumElements,construct_zero_array30,586 static float8 apply_kernel(Oid foid, ArrayType * x1, ArrayType * x2) apply_kernel51,1235 PG_FUNCTION_INFO_V1(svm_dot);svm_dot62,1455 Datum svm_dot(PG_FUNCTION_ARGS)svm_dot67,1552 PG_FUNCTION_INFO_V1(svm_polynomial);svm_polynomial98,2501 Datum svm_polynomial(PG_FUNCTION_ARGS)svm_polynomial103,2588 PG_FUNCTION_INFO_V1(svm_gaussian);svm_gaussian138,3582 Datum svm_gaussian(PG_FUNCTION_ARGS)svm_gaussian143,3667 svm_predict_eval(Oid koid, float8 * weights, ArrayType * supp_vectors, svm_predict_eval181,4733 PG_FUNCTION_INFO_V1(svm_predict_sub);svm_predict_sub202,5442 Datum svm_predict_sub(PG_FUNCTION_ARGS)svm_predict_sub207,5568 static int blocksize = 100;blocksize249,7003 static ArrayType * addNewWeight(ArrayType * weights, float8 weight, int nsvs) addNewWeight250,7031 static ArrayType * addNewSV(ArrayType * spvs, float8 * ind, int nsvs, int dim) addNewSV274,7714 PG_FUNCTION_INFO_V1(svm_reg_update);svm_reg_update295,8285 Datum svm_reg_update(PG_FUNCTION_ARGS)svm_reg_update305,8668 PG_FUNCTION_INFO_V1(svm_cls_update);svm_cls_update459,14234 Datum svm_cls_update(PG_FUNCTION_ARGS)svm_cls_update469,14617 PG_FUNCTION_INFO_V1(svm_nd_update);svm_nd_update623,20159 Datum svm_nd_update(PG_FUNCTION_ARGS)svm_nd_update633,20529 float8 dloss(float8 a, float8 y) {dloss778,25884 #define LSVM_MODEL_C LSVM_MODEL_C784,25974 PG_FUNCTION_INFO_V1(lsvm_sgd_update);lsvm_sgd_update787,26039 Datum lsvm_sgd_update(PG_FUNCTION_ARGS)lsvm_sgd_update797,26489 methods/kernel_machines/src/pg_gp/online_sv.py_in,1368 def __validate_input_table(input_table) :__validate_input_table5,36 def svm_regression( madlib_schema, input_table, model_table, parallel, kernel_func, verbose = False, eta = 0.1, nu = 0.005, slambda = 0.05):svm_regression23,741 def svm_classification( madlib_schema, input_table, model_table, parallel, kernel_func, verbose=False, eta=0.1, nu=0.005):svm_classification101,4967 def svm_novelty_detection( madlib_schema, input_table, model_table, parallel, kernel_func, verbose=False, eta = 0.1, nu = 0.01):svm_novelty_detection178,8949 def svm_predict(model_table, ind):svm_predict251,12840 def svm_predict_combo( madlib_schema, model_table, ind):svm_predict_combo278,13848 def svm_predict_batch( input_table, data_col, id_col, model_table, output_table, parallel):svm_predict_batch317,15538 def lsvm_classification( madlib_schema, input_table, model_table, parallel, verbose=False, eta=0.1, reg=0.001):lsvm_classification359,17949 def lsvm_predict(madlib_schema, model_table, ind):lsvm_predict423,21237 def lsvm_predict_combo( madlib_schema, model_table, ind):lsvm_predict_combo454,22512 def lsvm_predict_batch( madlib_schema, input_table, data_col, id_col, model_table, output_table, parallel):lsvm_predict_batch496,24422 def __svm_store_model(madlib_schema, input_table, model_table, model_temp_table, model_name):__svm_store_model542,27173 methods/kernel_machines/src/pg_gp/online_sv.sql_in,526 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.svm_dot(x float8[], y float8[]) RETURNS float8 svm_dot402,18268 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__svm_random_ind2(d INT) RETURNS float8[] AS $$__svm_random_ind2773,33909 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.svm_generate_reg_data(output_table text, num int, dim int) RETURNS VOID AS $$svm_generate_reg_data786,34198 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.svm_generate_cls_data(output_table text, num int, dim int) RETURNS VOID AS $$svm_generate_cls_data803,35068 methods/kernel_machines/src/pg_gp/sql/kernel_mach.sql_in,241 create temp table svm_reg_test ( id int, ind float8[] );svm_reg_test24,1294 create temp table svm_reg_test ( id int, ind float8[] );svm_reg_test.id24,1294 create temp table svm_reg_test ( id int, ind float8[] );svm_reg_test.ind24,1294 methods/kmeans/src/pg_gp/kmeans.c,2574 L1NORM = 1,L1NORM10,238 L2NORM,L2NORM11,254 COSINE,COSINE12,266 TANIMOTOTANIMOTO13,278 } KMeansMetric;KMeansMetric14,291 verify_arg_nonnull(PG_FUNCTION_ARGS, int inArgNo)verify_arg_nonnull19,326 get_svec_array_elms(ArrayType *inArrayType, Datum **outSvecArr, int *outLen)get_svec_array_elms32,667 get_metric_fn(KMeansMetric inMetric)get_metric_fn49,1338 compute_metric(PGFunction inMetricFn, MemoryContext inMemContext, Datum inVec1,compute_metric68,1807 setup_mem_context_for_functional_calls() {setup_mem_context_for_functional_calls98,2704 PG_FUNCTION_INFO_V1(internal_get_array_of_close_canopies);internal_get_array_of_close_canopies107,2971 internal_get_array_of_close_canopies(PG_FUNCTION_ARGS)internal_get_array_of_close_canopies109,3036 static float8 calc_l2norm_distance(float8* array1, float8* array2, int32 dimension)calc_l2norm_distance159,5178 static float8 calc_l1norm_distance(float8* array1, float8* array2, int32 dimension)calc_l1norm_distance177,5628 static float8 calc_dot_product(float8* array1, float8* array2, int32 dimension)calc_dot_product194,6044 static float8 calc_l2norm_val(float8* array, int32 dimension)calc_l2norm_val204,6267 static float8 calc_cosine_distance(float8* array1, float8* array2, int32 dimension)calc_cosine_distance214,6476 static float8 calc_tanimoto_distance(float8* array1, float8* array2, int32 dimension)calc_tanimoto_distance240,7117 typedef float8 (*MetricFunc)(float8*, float8*, int32);MetricFunc267,7841 get_metric_fn_for_array(KMeansMetric inMetric)get_metric_fn_for_array271,7922 PG_FUNCTION_INFO_V1(internal_kmeans_closest_centroid);internal_kmeans_closest_centroid287,8388 internal_kmeans_closest_centroid(PG_FUNCTION_ARGS) {internal_kmeans_closest_centroid289,8449 PG_FUNCTION_INFO_V1(internal_kmeans_agg_centroid_trans);internal_kmeans_agg_centroid_trans391,12105 internal_kmeans_agg_centroid_trans(PG_FUNCTION_ARGS) {internal_kmeans_agg_centroid_trans393,12168 PG_FUNCTION_INFO_V1(internal_kmeans_agg_centroid_merge);internal_kmeans_agg_centroid_merge505,15823 internal_kmeans_agg_centroid_merge(PG_FUNCTION_ARGS) {internal_kmeans_agg_centroid_merge507,15886 PG_FUNCTION_INFO_V1(internal_kmeans_canopy_transition);internal_kmeans_canopy_transition546,17166 internal_kmeans_canopy_transition(PG_FUNCTION_ARGS) {internal_kmeans_canopy_transition548,17228 PG_FUNCTION_INFO_V1(internal_remove_close_canopies);internal_remove_close_canopies589,19097 internal_remove_close_canopies(PG_FUNCTION_ARGS) {internal_remove_close_canopies591,19156 methods/sketch/src/pg_gp/__init__.py_in,0 methods/sketch/src/pg_gp/countmin.c,1179 PG_FUNCTION_INFO_V1(__cmsketch_int8_trans);__cmsketch_int8_trans42,1751 Datum __cmsketch_int8_trans(PG_FUNCTION_ARGS)__cmsketch_int8_trans48,1929 bytea *cmsketch_check_transval(PG_FUNCTION_ARGS, bool initargs)cmsketch_check_transval83,3035 bytea *cmsketch_init_transval()cmsketch_init_transval120,4329 void countmin_dyadic_trans_c(cmtransval *transval, Datum input)countmin_dyadic_trans_c134,4736 Datum countmin_trans_c(countmin sketch, Datum dat, Oid outFuncOid, Oid typOid)countmin_trans_c156,5622 PG_FUNCTION_INFO_V1(__cmsketch_final);__cmsketch_final178,6261 Datum __cmsketch_final(PG_FUNCTION_ARGS)__cmsketch_final179,6300 PG_FUNCTION_INFO_V1(__cmsketch_merge);__cmsketch_merge203,6958 Datum __cmsketch_merge(PG_FUNCTION_ARGS)__cmsketch_merge204,6997 int64 cmsketch_count_c(countmin sketch, Datum arg, Oid funcOid, Oid typOid)cmsketch_count_c266,9026 int64 cmsketch_count_md5_datum(countmin sketch, bytea *md5_bytea, Oid funcOid)cmsketch_count_md5_datum275,9275 int64 hash_counters_iterate(bytea *hashval,hash_counters_iterate334,11206 int64 increment_counter(uint32 i,increment_counter373,12605 int64 min_counter(uint32 i,min_counter396,13326 methods/sketch/src/pg_gp/countmin.h,2144 #define _COUNTMIN_H__COUNTMIN_H_8,99 #define INT64BITS INT64BITS9,120 #define RANGES RANGES10,163 #define DEPTH DEPTH11,188 #define NUMCOUNTERS NUMCOUNTERS13,287 #define MAX_INT64 MAX_INT6416,397 #define MAX_UINT64 MAX_UINT6417,440 #define MAX_INT64 MAX_INT6419,491 #define MAX_UINT64 MAX_UINT6420,542 #define MID_INT64 MID_INT6423,625 #define MIN_INT64 MIN_INT6424,647 #define MID_UINT64 MID_UINT6425,678 #define MIN_UINT64 MIN_UINT6426,715 typedef uint64 countmin[DEPTH][NUMCOUNTERS];countmin36,996 #define MAXARGS MAXARGS38,1042 int64 args[MAXARGS]; /*! carry along additional args for finalizer */args49,1264 int nargs; /*! number of args being carried for finalizer */nargs50,1339 countmin sketches[RANGES];sketches51,1415 } cmtransval;cmtransval52,1446 #define CM_TRANSVAL_SZ CM_TRANSVAL_SZ55,1494 #define CM_TRANSVAL_INITIALIZED(CM_TRANSVAL_INITIALIZED57,1550 int64 spans[2*INT64BITS][2]; /*! the ranges */spans70,1873 uint32 emptyoffset; /*! offset of next empty span */emptyoffset71,1924 } rangelist;rangelist72,1988 #define ADVANCE_OFFSET(ADVANCE_OFFSET74,2002 unsigned offset; /*! memory offset to the value */offset92,2498 uint64 cnt; /*! counter */cnt93,2554 } offsetcnt;offsetcnt94,2587 unsigned max_mfvs; /*! number of frequent values */max_mfvs113,3207 unsigned next_mfv; /*! index of next mfv to insert into */next_mfv114,3266 unsigned next_offset; /*! next memory offset to insert into */next_offset115,3332 Oid typOid; /*! Oid of the type being counted */typOid116,3399 int typLen; /*! Length of the data type */typLen117,3462 bool typByVal; /*! Whether type is by value or by reference */typByVal118,3519 Oid outFuncOid; /*! Oid of the outfunc for this type */outFuncOid119,3593 countmin sketch; /*! a single countmin sketch */sketch120,3659 offsetcnt mfvs[];mfvs127,3955 } mfvtransval;mfvtransval128,3977 #define MFV_TRANSVAL_SZ(MFV_TRANSVAL_SZ131,4029 #define MFV_TRANSVAL_CAPACITY(MFV_TRANSVAL_CAPACITY134,4156 methods/sketch/src/pg_gp/countmin.py_in,1294 __ranges = 8*8 # INT64BITS__ranges6,103 __depth = 8 # magic # of hash functions__depth7,130 __numcounters = 1024 # magic mod of hash function __numcounters8,170 __countmin_sz = __depth*__numcounters__countmin_sz9,221 __numsketches = __ranges__numsketches10,259 total_size = __numsketches * __countmin_sztotal_size11,284 __max_int64 = (1L << 63) - 1__max_int6412,327 __min_int64 = __max_int64 * (-1)__min_int6413,356 def count(b64sketch, val):count15,390 def __do_count(all_sketch, val):__do_count18,474 def __do_count_rows(rows, val):__do_count_rows22,639 def intlog2(x):intlog232,1012 def __find_ranges(bot, top):__find_ranges47,1444 def __find_ranges_recursive(bot, top, power, r):__find_ranges_recursive59,1941 def rangecount(b64sketch, bot, top):rangecount148,5321 def __do_rangecount(all_sketch, bot, top):__do_rangecount151,5425 def centile(b64sketch, intcentile, total):centile190,6901 def __do_centile(all_sketches, intcentile, total):__do_centile193,7017 def width_histogram(b64sketch, min, max, buckets):width_histogram219,7838 def __do_width_histo(all_sketches, min, max, buckets):__do_width_histo222,7966 def depth_histogram(b64sketch, buckets):depth_histogram235,8429 def __do_depth_histo(all_sketches, buckets):__do_depth_histo238,8537 methods/sketch/src/pg_gp/fm.c,1607 #define NMAP NMAP44,1326 #define FMSKETCH_SZ FMSKETCH_SZ45,1343 #define MINVALS MINVALS51,1508 #define SORTASORT_INITIAL_STORAGE SORTASORT_INITIAL_STORAGE57,1665 typedef enum {SMALL, BIG} fmstatus;SMALL60,1762 typedef enum {SMALL, BIG} fmstatus;BIG60,1762 typedef enum {SMALL, BIG} fmstatus;fmstatus60,1762 fmstatus status;status74,2219 Oid typOid;typOid75,2240 Oid funcOid;funcOid76,2261 int16 typLen;typLen77,2283 bool typByVal;typByVal78,2304 char reserved;reserved96,3276 char storage[];storage97,3299 } fmtransval;fmtransval98,3319 void check_sortasort(sortasort *st, size_t st_size) {check_sortasort101,3411 void check_fmtransval(bytea * storage) {check_fmtransval119,4003 PG_FUNCTION_INFO_V1(__fmsketch_trans);__fmsketch_trans179,6116 Datum __fmsketch_trans(PG_FUNCTION_ARGS)__fmsketch_trans182,6215 bytea *fm_new(fmtransval *template)fm_new314,11294 Datum __fmsketch_trans_c(bytea *transblob, Datum indat)__fmsketch_trans_c344,12431 PG_FUNCTION_INFO_V1(__fmsketch_count_distinct);__fmsketch_count_distinct383,13950 Datum __fmsketch_count_distinct(PG_FUNCTION_ARGS)__fmsketch_count_distinct386,14068 Datum __fmsketch_count_distinct_c(bytea *bitmaps)__fmsketch_count_distinct_c415,15041 PG_FUNCTION_INFO_V1(__fmsketch_merge);__fmsketch_merge438,15724 Datum __fmsketch_merge(PG_FUNCTION_ARGS)__fmsketch_merge448,16111 void big_or(bytea *bitmap1, bytea *bitmap2, bytea *out)big_or545,20191 bytea *fmsketch_sortasort_insert(bytea *transblob, Datum dat, size_t len)fmsketch_sortasort_insert574,21279 methods/sketch/src/pg_gp/mfvsketch.c,1217 void check_mfvtransval(bytea *storage) {check_mfvtransval48,1842 PG_FUNCTION_INFO_V1(__mfvsketch_trans);__mfvsketch_trans85,2967 Datum __mfvsketch_trans(PG_FUNCTION_ARGS)__mfvsketch_trans91,3100 int mfv_find(bytea *blob, Datum val)mfv_find178,6129 bytea *mfv_init_transval(int max_mfvs, Oid typOid)mfv_init_transval208,7064 void *mfv_transval_getval(bytea *blob, uint32 i)mfv_transval_getval250,8532 void mfv_copy_datum(bytea *transblob, int index, Datum dat)mfv_copy_datum287,10029 bytea *mfv_transval_insert_at(bytea *transblob, Datum dat, uint32 i)mfv_transval_insert_at310,10921 bytea *mfv_transval_append(bytea *transblob, Datum dat)mfv_transval_append348,12296 bytea *mfv_transval_replace(bytea *transblob, Datum dat, int i)mfv_transval_replace371,12993 PG_FUNCTION_INFO_V1(__mfvsketch_final);__mfvsketch_final391,13809 Datum __mfvsketch_final(PG_FUNCTION_ARGS)__mfvsketch_final396,13951 int cnt_cmp_desc(const void *i, const void *j)cnt_cmp_desc476,16567 PG_FUNCTION_INFO_V1(__mfvsketch_merge);__mfvsketch_merge489,16873 Datum __mfvsketch_merge(PG_FUNCTION_ARGS)__mfvsketch_merge490,16913 bytea *mfvsketch_merge_c(bytea *transblob1, bytea *transblob2)mfvsketch_merge_c507,17540 methods/sketch/src/pg_gp/sketch.sql_in,261 sql> CREATE TABLE data(class INT, a1 INT);data67,2583 sql> CREATE TABLE data(class INT, a1 INT);data.class67,2583 sql> CREATE TABLE data(class INT, a1 INT);data.a167,2583 CREATE FUNCTION MADLIB_SCHEMA.big_or(bitmap1 bytea, bitmap2 bytea)big_or246,10170 methods/sketch/src/pg_gp/sketch_support.c,1153 uint32 rightmost_one(uint8 *bits,rightmost_one56,1712 uint32 leftmost_zero(uint8 *bits,leftmost_zero105,3490 Datum array_set_bit_in_place(bytea *bitmap,array_set_bit_in_place173,5807 uint32 ui_rightmost_one(uint32 v)ui_rightmost_one214,7387 void hex_to_bytes(char *hex, uint8 *bytes, size_t hexlen)hex_to_bytes237,8035 bit_print(uint8 *c, int numbytes)bit_print263,8832 bytea *sketch_md5_bytea(Datum dat, Oid typOid)sketch_md5_bytea293,9643 PG_FUNCTION_INFO_V1(sketch_array_set_bit_in_place);sketch_array_set_bit_in_place328,10845 PG_FUNCTION_INFO_V1(sketch_rightmost_one);sketch_rightmost_one330,10952 PG_FUNCTION_INFO_V1(sketch_leftmost_zero);sketch_leftmost_zero332,11041 Datum sketch_rightmost_one(PG_FUNCTION_ARGS)sketch_rightmost_one344,11484 Datum sketch_leftmost_zero(PG_FUNCTION_ARGS)sketch_leftmost_zero355,11883 Datum sketch_array_set_bit_in_place(PG_FUNCTION_ARGS)sketch_array_set_bit_in_place369,12398 int4 safe_log2(int64 x)safe_log2386,13060 size_t ExtractDatumLen(Datum x, int len, bool byVal, size_t capacity)ExtractDatumLen400,13359 void int64_big_endianize(uint64 *bytes64,int64_big_endianize457,14925 methods/sketch/src/pg_gp/sketch_support.h,288 #define SKETCH_SUPPORT_HSKETCH_SUPPORT_H7,112 #define MD5_HASHLEN MD5_HASHLEN9,138 #define MD5_HASHLEN_BITS MD5_HASHLEN_BITS10,161 #define MAXINT8LEN MAXINT8LEN13,251 #define PointerExtractDatum(PointerExtractDatum28,859 #define DatumExtractPointer(DatumExtractPointer30,1012 methods/sketch/src/pg_gp/sortasort.c,409 #define SORTASORT_DATA(SORTASORT_DATA30,965 char *sortasort_getval(sortasort *s, unsigned i) {sortasort_getval36,1106 sortasort_init(sortasort *s,sortasort_init66,2035 int sorta_cmp(const void *i, const void *j, void *thunk)sorta_cmp95,2883 int sortasort_try_insert(sortasort *s_in, Datum dat, int len)sortasort_try_insert126,3898 int sortasort_find(sortasort *s, Datum dat)sortasort_find191,5967 methods/sketch/src/pg_gp/sortasort.h,687 #define SORTA_SLOP SORTA_SLOP6,97 size_t num_vals; /*! number of values so far */num_vals25,857 size_t storage_sz; /*! the number of bytes available for strings at the end */storage_sz26,915 size_t capacity; /*! size of the sortasort directory */capacity27,1002 int typLen; /*! length of this Postgres type (-1 for bytea, -2 for cstring) */typLen28,1068 size_t typByVal; /*! Postgres typByVal flag */typByVal29,1162 unsigned storage_cur; /*! offset after the directory to do the next insertion */storage_cur30,1219 unsigned dir[]; /*! storage of the strings */dir31,1305 } sortasort;sortasort32,1362 methods/sketch/src/pg_gp/sql/cm.sql_in,256 CREATE FUNCTION cm_install_test() RETURNS VOID AS $$cm_install_test13,596 CREATE TABLE cm_data(class INT, a1 INT);cm_data21,725 CREATE TABLE cm_data(class INT, a1 INT);cm_data.class21,725 CREATE TABLE cm_data(class INT, a1 INT);cm_data.a121,725 methods/sketch/src/pg_gp/sql/fm.sql_in,256 CREATE FUNCTION fm_install_test() RETURNS VOID AS $$fm_install_test13,596 CREATE TABLE fm_data(class INT, a1 INT);fm_data21,728 CREATE TABLE fm_data(class INT, a1 INT);fm_data.class21,728 CREATE TABLE fm_data(class INT, a1 INT);fm_data.a121,728 methods/sketch/src/pg_gp/sql/mfv.sql_in,0 methods/sketch/src/pg_gp/sql/support.sql_in,0 methods/svec/src/pg_gp/float_specials.h,4706 #define FLOATSPECIALS_HFLOATSPECIALS_H6,82 #define MKINT(MKINT10,157 #define MKINT64(MKINT6411,182 #define BIT(BIT12,211 #define MKINT(MKINT14,247 #define MKINT64(MKINT6415,271 #define BIT(BIT16,299 #define NEG_QUIET_NAN_MIN32 NEG_QUIET_NAN_MIN3221,371 #define NEG_QUIET_NAN_MAX32 NEG_QUIET_NAN_MAX3222,420 #define INDETERMINATE_MIN32 INDETERMINATE_MIN3224,470 #define INDETERMINATE_MAX32 INDETERMINATE_MAX3225,519 #define NEG_SIGNAL_NAN_MIN32 NEG_SIGNAL_NAN_MIN3227,569 #define NEG_SIGNAL_NAN_MAX32 NEG_SIGNAL_NAN_MAX3228,618 #define NEG_INFINITY_MIN32 NEG_INFINITY_MIN3230,668 #define NEG_NORMALIZED_MIN32 NEG_NORMALIZED_MIN3232,718 #define NEG_NORMALIZED_MAX32 NEG_NORMALIZED_MAX3233,767 #define NEG_DENORMALIZED_MIN32 NEG_DENORMALIZED_MIN3235,817 #define NEG_DENORMALIZED_MAX32 NEG_DENORMALIZED_MAX3236,866 #define NEG_ZERO_MIN32 NEG_ZERO_MIN3238,916 #define NEG_ZERO_MAX32 NEG_ZERO_MAX3239,965 #define POS_ZERO_MIN32 POS_ZERO_MIN3241,1015 #define POS_ZERO_MAX32 POS_ZERO_MAX3242,1064 #define POS_DENORMALIZED_MIN32 POS_DENORMALIZED_MIN3244,1114 #define POS_DENORMALIZED_MAX32 POS_DENORMALIZED_MAX3245,1163 #define POS_NORMALIZED_MIN32 POS_NORMALIZED_MIN3247,1213 #define POS_NORMALIZED_MAX32 POS_NORMALIZED_MAX3248,1262 #define POS_INFINITY_MIN32 POS_INFINITY_MIN3250,1312 #define POS_INFINITY_MAX32 POS_INFINITY_MAX3251,1361 #define POS_SIGNAL_NAN_MIN32 POS_SIGNAL_NAN_MIN3253,1411 #define POS_SIGNAL_NAN_MAX32 POS_SIGNAL_NAN_MAX3254,1460 #define POS_QUIET_NAN_MIN32 POS_QUIET_NAN_MIN3256,1510 #define POS_QUIET_NAN_MAX32 POS_QUIET_NAN_MAX3257,1559 #define NEG_QUIET_NAN_MIN64 NEG_QUIET_NAN_MIN6461,1644 #define NEG_QUIET_NAN_MAX64 NEG_QUIET_NAN_MAX6462,1703 #define INDETERMINATE_MIN64 INDETERMINATE_MIN6464,1763 #define INDETERMINATE_MAX64 INDETERMINATE_MAX6465,1822 #define NEG_SIGNAL_NAN_MIN64 NEG_SIGNAL_NAN_MIN6467,1882 #define NEG_SIGNAL_NAN_MAX64 NEG_SIGNAL_NAN_MAX6468,1941 #define NEG_INFINITY_MIN64 NEG_INFINITY_MIN6470,2001 #define NEG_NORMALIZED_MIN64 NEG_NORMALIZED_MIN6472,2061 #define NEG_NORMALIZED_MAX64 NEG_NORMALIZED_MAX6473,2120 #define NEG_DENORMALIZED_MIN64 NEG_DENORMALIZED_MIN6475,2180 #define NEG_DENORMALIZED_MAX64 NEG_DENORMALIZED_MAX6476,2239 #define NEG_ZERO_MIN64 NEG_ZERO_MIN6478,2299 #define NEG_ZERO_MAX64 NEG_ZERO_MAX6479,2358 #define POS_ZERO_MIN64 POS_ZERO_MIN6481,2418 #define POS_ZERO_MAX64 POS_ZERO_MAX6482,2477 #define POS_DENORMALIZED_MIN64 POS_DENORMALIZED_MIN6484,2537 #define POS_DENORMALIZED_MAX64 POS_DENORMALIZED_MAX6485,2596 #define POS_NORMALIZED_MIN64 POS_NORMALIZED_MIN6487,2656 #define POS_NORMALIZED_MAX64 POS_NORMALIZED_MAX6488,2715 #define POS_INFINITY_MIN64 POS_INFINITY_MIN6490,2775 #define POS_INFINITY_MAX64 POS_INFINITY_MAX6491,2834 #define POS_SIGNAL_NAN_MIN64 POS_SIGNAL_NAN_MIN6493,2894 #define POS_SIGNAL_NAN_MAX64 POS_SIGNAL_NAN_MAX6494,2953 #define POS_QUIET_NAN_MIN64 POS_QUIET_NAN_MIN6496,3013 #define POS_QUIET_NAN_MAX64 POS_QUIET_NAN_MAX6497,3072 POS_QNAN_BIT,POS_QNAN_BIT101,3147 NEG_QNAN_BIT,NEG_QNAN_BIT102,3162 POS_SNAN_BIT,POS_SNAN_BIT103,3177 NEG_SNAN_BIT,NEG_SNAN_BIT104,3192 POS_INF_BIT,POS_INF_BIT105,3207 NEG_INF_BIT,NEG_INF_BIT106,3221 POS_DEN_BIT,POS_DEN_BIT107,3235 NEG_DEN_BIT,NEG_DEN_BIT108,3249 POS_NOR_BIT,POS_NOR_BIT109,3263 NEG_NOR_BIT,NEG_NOR_BIT110,3277 POS_ZERO_BIT,POS_ZERO_BIT111,3291 NEG_ZERO_BIT,NEG_ZERO_BIT112,3306 INDETERM_BIT,INDETERM_BIT113,3321 BUG_BITBUG_BIT114,3336 } ieee_selects;ieee_selects115,3345 #define MSK_POS_QNAN MSK_POS_QNAN117,3362 #define MSK_POS_SNAN MSK_POS_SNAN118,3401 #define MSK_POS_INF MSK_POS_INF119,3440 #define MSK_POS_DEN MSK_POS_DEN120,3478 #define MSK_POS_NOR MSK_POS_NOR121,3516 #define MSK_POS_ZERO MSK_POS_ZERO122,3554 #define MSK_NEG_QNAN MSK_NEG_QNAN123,3593 #define MSK_NEG_SNAN MSK_NEG_SNAN124,3632 #define MSK_NEG_INF MSK_NEG_INF125,3671 #define MSK_NEG_DEN MSK_NEG_DEN126,3709 #define MSK_NEG_NOR MSK_NEG_NOR127,3747 #define MSK_NEG_ZERO MSK_NEG_ZERO128,3785 #define MSK_INDETERM MSK_INDETERM129,3824 #define MSK_BUG MSK_BUG130,3863 #define ZERO_i ZERO_i133,3988 #define INF_i INF_i134,4021 #define NEGINF_i NEGINF_i135,4059 #define NVP_i NVP_i136,4097 uint64_t asInt64;asInt64141,4275 double asDouble;asDouble142,4297 } COMPVEC[] = { { 5 }, { ZERO_i }, { INF_i }, { NEGINF_i }, { NVP_i } };COMPVEC143,4318 static inline double _LAL_for_compiler_unused_warning(void) {return(COMPVEC[0].asDouble);}_LAL_for_compiler_unused_warning145,4392 #define ZERO ZERO147,4484 #define INF INF148,4518 #define NEGINF NEGINF149,4551 #define NVP NVP150,4587 methods/svec/src/pg_gp/gp_sfv.c,507 #define TextDatumCmp(TextDatumCmp29,665 #define TextDatumCmp(TextDatumCmp32,789 PG_FUNCTION_INFO_V1( gp_extract_feature_histogram );gp_extract_feature_histogram111,4276 Datum gp_extract_feature_histogram(PG_FUNCTION_ARGS)gp_extract_feature_histogram112,4329 gp_extract_feature_histogram_errout(char *msg) {gp_extract_feature_histogram_errout176,6080 textdatum_cmp(const void *a, const void *b)textdatum_cmp187,6317 classify_document(Datum *features, int num_features,classify_document193,6434 methods/svec/src/pg_gp/operators.c,12121 void check_dimension(SvecType *svec1, SvecType *svec2, char *msg) {check_dimension32,714 double svec_svec_dot_product(SvecType *svec1, SvecType *svec2) {svec_svec_dot_product46,1126 PG_FUNCTION_INFO_V1( svec_dimension );svec_dimension58,1524 Datum svec_dimension(PG_FUNCTION_ARGS)svec_dimension60,1564 PG_FUNCTION_INFO_V1(svec_lapply);svec_lapply71,1849 Datum svec_lapply(PG_FUNCTION_ARGS) svec_lapply73,1884 PG_FUNCTION_INFO_V1( svec_concat_replicate);svec_concat_replicate88,2290 Datum svec_concat_replicate(PG_FUNCTION_ARGS)svec_concat_replicate90,2336 PG_FUNCTION_INFO_V1( svec_concat );svec_concat109,2841 Datum svec_concat(PG_FUNCTION_ARGS)svec_concat110,2877 PG_FUNCTION_INFO_V1(svec_append);svec_append132,3601 Datum svec_append(PG_FUNCTION_ARGS) svec_append133,3635 PG_FUNCTION_INFO_V1( svec_proj );svec_proj167,4360 Datum svec_proj(PG_FUNCTION_ARGS) svec_proj168,4394 PG_FUNCTION_INFO_V1( svec_subvec );svec_subvec188,4789 Datum svec_subvec(PG_FUNCTION_ARGS) svec_subvec189,4825 PG_FUNCTION_INFO_V1( svec_reverse );svec_reverse207,5286 Datum svec_reverse(PG_FUNCTION_ARGS) svec_reverse208,5323 PG_FUNCTION_INFO_V1(svec_change);svec_change223,5745 Datum svec_change(PG_FUNCTION_ARGS) svec_change224,5779 PG_FUNCTION_INFO_V1( svec_eq );svec_eq268,7025 Datum svec_eq(PG_FUNCTION_ARGS)svec_eq269,7057 PG_FUNCTION_INFO_V1( svec_eq_non_zero );svec_eq_non_zero284,7528 Datum svec_eq_non_zero(PG_FUNCTION_ARGS)svec_eq_non_zero285,7569 PG_FUNCTION_INFO_V1( svec_contains );svec_contains300,8060 Datum svec_contains(PG_FUNCTION_ARGS)svec_contains301,8098 static int32_t svec_l2_cmp_internal(SvecType *svec1, SvecType *svec2)svec_l2_cmp_internal314,8425 PG_FUNCTION_INFO_V1( svec_l2_cmp );svec_l2_cmp334,8960 Datum svec_l2_cmp(PG_FUNCTION_ARGS)svec_l2_cmp335,8996 PG_FUNCTION_INFO_V1( svec_l2_lt );svec_l2_lt346,9274 Datum svec_l2_lt(PG_FUNCTION_ARGS)svec_l2_lt347,9309 PG_FUNCTION_INFO_V1( svec_l2_le );svec_l2_le358,9601 Datum svec_l2_le(PG_FUNCTION_ARGS)svec_l2_le359,9636 PG_FUNCTION_INFO_V1( svec_l2_eq );svec_l2_eq370,9945 Datum svec_l2_eq(PG_FUNCTION_ARGS)svec_l2_eq371,9980 PG_FUNCTION_INFO_V1( svec_l2_ne );svec_l2_ne382,10271 Datum svec_l2_ne(PG_FUNCTION_ARGS)svec_l2_ne383,10306 PG_FUNCTION_INFO_V1( svec_l2_gt );svec_l2_gt394,10597 Datum svec_l2_gt(PG_FUNCTION_ARGS)svec_l2_gt395,10632 PG_FUNCTION_INFO_V1( svec_l2_ge );svec_l2_ge406,10923 Datum svec_l2_ge(PG_FUNCTION_ARGS)svec_l2_ge407,10958 SvecType * svec_operate_on_sdata_pair(int scalar_args, enum operation_t op,svec_operate_on_sdata_pair422,11331 SvecType * op_svec_by_svec_internal(enum operation_t op, SvecType *svec1, SvecType *svec2)op_svec_by_svec_internal463,12387 pow_svec_by_scalar_internal(SvecType *svec1, SvecType *svec2)pow_svec_by_scalar_internal478,12843 PG_FUNCTION_INFO_V1( svec_pow );svec_pow518,14006 Datum svec_pow(PG_FUNCTION_ARGS)svec_pow519,14039 PG_FUNCTION_INFO_V1( svec_minus );svec_minus528,14300 Datum svec_minus(PG_FUNCTION_ARGS)svec_minus529,14335 PG_FUNCTION_INFO_V1( svec_plus );svec_plus538,14606 Datum svec_plus(PG_FUNCTION_ARGS)svec_plus539,14640 PG_FUNCTION_INFO_V1( svec_mult );svec_mult548,14904 Datum svec_mult(PG_FUNCTION_ARGS)svec_mult549,14938 PG_FUNCTION_INFO_V1( svec_div );svec_div558,15207 Datum svec_div(PG_FUNCTION_ARGS)svec_div559,15240 PG_FUNCTION_INFO_V1( svec_count );svec_count568,15505 Datum svec_count(PG_FUNCTION_ARGS)svec_count573,15693 PG_FUNCTION_INFO_V1( svec_dot );svec_dot628,17437 Datum svec_dot(PG_FUNCTION_ARGS)svec_dot632,17531 PG_FUNCTION_INFO_V1( svec_l2norm );svec_l2norm644,17779 Datum svec_l2norm(PG_FUNCTION_ARGS)svec_l2norm648,17873 PG_FUNCTION_INFO_V1( svec_svec_l2norm );svec_svec_l2norm660,18126 Datum svec_svec_l2norm(PG_FUNCTION_ARGS)svec_svec_l2norm664,18246 PG_FUNCTION_INFO_V1( svec_svec_l1norm );svec_svec_l1norm681,18666 Datum svec_svec_l1norm(PG_FUNCTION_ARGS)svec_svec_l1norm685,18786 PG_FUNCTION_INFO_V1( svec_svec_angle );svec_svec_angle702,19205 Datum svec_svec_angle(PG_FUNCTION_ARGS)svec_svec_angle706,19313 PG_FUNCTION_INFO_V1( svec_svec_tanimoto_distance );svec_svec_tanimoto_distance733,19906 Datum svec_svec_tanimoto_distance(PG_FUNCTION_ARGS)svec_svec_tanimoto_distance737,20052 PG_FUNCTION_INFO_V1( svec_normalize );svec_normalize764,20673 Datum svec_normalize(PG_FUNCTION_ARGS)svec_normalize768,20770 PG_FUNCTION_INFO_V1( svec_l1norm );svec_l1norm781,21083 Datum svec_l1norm(PG_FUNCTION_ARGS)svec_l1norm785,21177 PG_FUNCTION_INFO_V1( svec_summate );svec_summate797,21430 Datum svec_summate(PG_FUNCTION_ARGS)svec_summate801,21542 PG_FUNCTION_INFO_V1( svec_log );svec_log813,21793 Datum svec_log(PG_FUNCTION_ARGS)svec_log817,21893 PG_FUNCTION_INFO_V1( svec_cast_int2 );svec_cast_int2831,22239 Datum svec_cast_int2(PG_FUNCTION_ARGS) {svec_cast_int2832,22278 PG_FUNCTION_INFO_V1( svec_cast_int4 );svec_cast_int4836,22412 Datum svec_cast_int4(PG_FUNCTION_ARGS) {svec_cast_int4837,22451 PG_FUNCTION_INFO_V1( svec_cast_int8 );svec_cast_int8841,22585 Datum svec_cast_int8(PG_FUNCTION_ARGS) {svec_cast_int8842,22624 PG_FUNCTION_INFO_V1( svec_cast_float4 );svec_cast_float4846,22758 Datum svec_cast_float4(PG_FUNCTION_ARGS) {svec_cast_float4847,22799 PG_FUNCTION_INFO_V1( svec_cast_float8 );svec_cast_float8851,22936 Datum svec_cast_float8(PG_FUNCTION_ARGS) {svec_cast_float8852,22977 PG_FUNCTION_INFO_V1( svec_cast_numeric );svec_cast_numeric856,23105 Datum svec_cast_numeric(PG_FUNCTION_ARGS) {svec_cast_numeric857,23147 PG_FUNCTION_INFO_V1( float8arr_cast_int2 );float8arr_cast_int2867,23434 Datum float8arr_cast_int2(PG_FUNCTION_ARGS) {float8arr_cast_int2868,23478 PG_FUNCTION_INFO_V1( float8arr_cast_int4 );float8arr_cast_int4872,23646 Datum float8arr_cast_int4(PG_FUNCTION_ARGS) {float8arr_cast_int4873,23690 PG_FUNCTION_INFO_V1( float8arr_cast_int8 );float8arr_cast_int8877,23858 Datum float8arr_cast_int8(PG_FUNCTION_ARGS) {float8arr_cast_int8878,23902 PG_FUNCTION_INFO_V1( float8arr_cast_float4 );float8arr_cast_float4882,24070 Datum float8arr_cast_float4(PG_FUNCTION_ARGS) {float8arr_cast_float4883,24116 PG_FUNCTION_INFO_V1( float8arr_cast_float8 );float8arr_cast_float8887,24287 Datum float8arr_cast_float8(PG_FUNCTION_ARGS) {float8arr_cast_float8888,24333 PG_FUNCTION_INFO_V1( float8arr_cast_numeric );float8arr_cast_numeric892,24495 Datum float8arr_cast_numeric(PG_FUNCTION_ARGS) {float8arr_cast_numeric893,24542 SvecType *svec_make_scalar(float8 value) {svec_make_scalar901,24850 PG_FUNCTION_INFO_V1( svec_cast_float8arr );svec_cast_float8arr909,25042 Datum svec_cast_float8arr(PG_FUNCTION_ARGS) {svec_cast_float8arr913,25154 PG_FUNCTION_INFO_V1( svec_cast_positions_float8arr );svec_cast_positions_float8arr970,26591 Datum svec_cast_positions_float8arr(PG_FUNCTION_ARGS) {svec_cast_positions_float8arr976,26881 static bool float8arr_equals_internal(ArrayType *left, ArrayType *right)float8arr_equals_internal1050,29363 PG_FUNCTION_INFO_V1( float8arr_equals);float8arr_equals1105,30944 Datum float8arr_equals(PG_FUNCTION_ARGS) {float8arr_equals1106,30984 static SparseData sdata_uncompressed_from_float8arr_internal(ArrayType *array)sdata_uncompressed_from_float8arr_internal1118,31385 PG_FUNCTION_INFO_V1( float8arr_l1norm);float8arr_l1norm1164,32659 Datum float8arr_l1norm(PG_FUNCTION_ARGS) {float8arr_l1norm1165,32699 PG_FUNCTION_INFO_V1( float8arr_summate);float8arr_summate1180,33116 Datum float8arr_summate(PG_FUNCTION_ARGS) {float8arr_summate1181,33157 PG_FUNCTION_INFO_V1( float8arr_l2norm);float8arr_l2norm1197,33567 Datum float8arr_l2norm(PG_FUNCTION_ARGS) {float8arr_l2norm1198,33607 PG_FUNCTION_INFO_V1( float8arr_dot);float8arr_dot1213,34019 Datum float8arr_dot(PG_FUNCTION_ARGS) {float8arr_dot1214,34056 PG_FUNCTION_INFO_V1( float8arr_minus_float8arr );float8arr_minus_float8arr1240,34847 float8arr_minus_float8arr(PG_FUNCTION_ARGS)float8arr_minus_float8arr1242,34903 PG_FUNCTION_INFO_V1( svec_minus_float8arr );svec_minus_float8arr1251,35344 svec_minus_float8arr(PG_FUNCTION_ARGS)svec_minus_float8arr1253,35395 PG_FUNCTION_INFO_V1( float8arr_minus_svec );float8arr_minus_svec1262,35799 float8arr_minus_svec(PG_FUNCTION_ARGS)float8arr_minus_svec1264,35850 PG_FUNCTION_INFO_V1( float8arr_plus_float8arr );float8arr_plus_float8arr1274,36255 float8arr_plus_float8arr(PG_FUNCTION_ARGS)float8arr_plus_float8arr1276,36310 PG_FUNCTION_INFO_V1( svec_plus_float8arr );svec_plus_float8arr1285,36745 svec_plus_float8arr(PG_FUNCTION_ARGS)svec_plus_float8arr1287,36795 PG_FUNCTION_INFO_V1( float8arr_plus_svec );float8arr_plus_svec1296,37193 float8arr_plus_svec(PG_FUNCTION_ARGS)float8arr_plus_svec1298,37243 PG_FUNCTION_INFO_V1( float8arr_mult_float8arr );float8arr_mult_float8arr1307,37641 float8arr_mult_float8arr(PG_FUNCTION_ARGS)float8arr_mult_float8arr1309,37696 PG_FUNCTION_INFO_V1( svec_mult_float8arr );svec_mult_float8arr1319,38160 svec_mult_float8arr(PG_FUNCTION_ARGS)svec_mult_float8arr1321,38210 PG_FUNCTION_INFO_V1( float8arr_mult_svec );float8arr_mult_svec1331,38641 float8arr_mult_svec(PG_FUNCTION_ARGS)float8arr_mult_svec1333,38691 PG_FUNCTION_INFO_V1( float8arr_div_float8arr );float8arr_div_float8arr1342,39094 float8arr_div_float8arr(PG_FUNCTION_ARGS)float8arr_div_float8arr1344,39148 PG_FUNCTION_INFO_V1( svec_div_float8arr );svec_div_float8arr1353,39585 svec_div_float8arr(PG_FUNCTION_ARGS)svec_div_float8arr1355,39634 PG_FUNCTION_INFO_V1( float8arr_div_svec );float8arr_div_svec1364,40034 float8arr_div_svec(PG_FUNCTION_ARGS)float8arr_div_svec1366,40083 PG_FUNCTION_INFO_V1( svec_dot_float8arr );svec_dot_float8arr1375,40483 svec_dot_float8arr(PG_FUNCTION_ARGS)svec_dot_float8arr1377,40532 PG_FUNCTION_INFO_V1( float8arr_dot_svec);float8arr_dot_svec1394,41040 float8arr_dot_svec(PG_FUNCTION_ARGS)float8arr_dot_svec1396,41088 float8arr_hash_internal(ArrayType *array)float8arr_hash_internal1418,41644 PG_FUNCTION_INFO_V1( float8arr_hash);float8arr_hash1428,41965 float8arr_hash(PG_FUNCTION_ARGS) {float8arr_hash1431,42010 PG_FUNCTION_INFO_V1( svec_pivot );svec_pivot1437,42146 Datum svec_pivot(PG_FUNCTION_ARGS)svec_pivot1446,42557 #define RANDOM_RANGE RANDOM_RANGE1552,45543 #define RANDOM_INT(RANDOM_INT1553,45574 #define SWAPVAL(SWAPVAL1554,45641 #define SWAP(SWAP1555,45710 #define SWAPN(SWAPN1556,45817 partition_pivot(char **lists, size_t nlists, size_t *widths,partition_pivot1604,48139 partition_select (char **lists, size_t nlists, size_t *widths,partition_select1640,49382 compar_float8(const void *left,const void *right)compar_float81699,50738 real_index_calc_dense(const int idx,const char **lists,const size_t nlists,const size_t *widths)real_index_calc_dense1707,50936 real_index_calc_sparse_RLE(const int idx,const char **lists,const size_t nlists,const size_t *widths)real_index_calc_sparse_RLE1716,51238 float8arr_partition_internal(float8 *array,int len,int k)float8arr_partition_internal1733,51677 PG_FUNCTION_INFO_V1( float8arr_median);float8arr_median1749,52024 float8arr_median(PG_FUNCTION_ARGS) {float8arr_median1752,52071 PG_FUNCTION_INFO_V1( svec_median);svec_median1777,52776 svec_median(PG_FUNCTION_ARGS) {svec_median1780,52818 PG_FUNCTION_INFO_V1( svec_nonbase_positions);svec_nonbase_positions1845,54603 svec_nonbase_positions(PG_FUNCTION_ARGS) {svec_nonbase_positions1848,54656 PG_FUNCTION_INFO_V1(svec_nonbase_values);svec_nonbase_values1905,56277 svec_nonbase_values(PG_FUNCTION_ARGS) {svec_nonbase_values1908,56326 PG_FUNCTION_INFO_V1(svec_hash);svec_hash1959,57806 Datum svec_hash( PG_FUNCTION_ARGS)svec_hash1963,57892 PG_FUNCTION_INFO_V1( svec_mean_transition );svec_mean_transition1992,58580 Datum svec_mean_transition(PG_FUNCTION_ARGS)svec_mean_transition1993,58625 PG_FUNCTION_INFO_V1( svec_mean_prefunc );svec_mean_prefunc2059,60390 Datum svec_mean_prefunc( PG_FUNCTION_ARGS)svec_mean_prefunc2060,60432 PG_FUNCTION_INFO_V1( svec_mean_final );svec_mean_final2111,61744 Datum svec_mean_final( PG_FUNCTION_ARGS)svec_mean_final2112,61784 methods/svec/src/pg_gp/operators.h,63 #define SPARSEVECTOR_OPERATORS_HSPARSEVECTOR_OPERATORS_H2,33 methods/svec/src/pg_gp/sparse_vector.c,2025 ArrayType *svec_return_array_internal(SvecType *svec)svec_return_array_internal34,798 PG_FUNCTION_INFO_V1(svec_send);svec_send66,2147 Datum svec_send(PG_FUNCTION_ARGS)svec_send70,2234 PG_FUNCTION_INFO_V1(svec_recv);svec_recv88,2822 Datum svec_recv(PG_FUNCTION_ARGS)svec_recv92,2918 PG_FUNCTION_INFO_V1( float8_min );float8_min115,3728 Datum float8_min(PG_FUNCTION_ARGS)float8_min117,3799 PG_FUNCTION_INFO_V1( float8_max );float8_max130,4130 Datum float8_max(PG_FUNCTION_ARGS)float8_max132,4201 PG_FUNCTION_INFO_V1( svec_return_array );svec_return_array145,4532 Datum svec_return_array(PG_FUNCTION_ARGS)svec_return_array149,4636 PG_FUNCTION_INFO_V1(svec_out);svec_out156,4815 Datum svec_out(PG_FUNCTION_ARGS)svec_out160,4907 char * svec_out_internal(SvecType *svec)svec_out_internal167,5057 PG_FUNCTION_INFO_V1(svec_in);svec_in213,6282 Datum svec_in(PG_FUNCTION_ARGS)svec_in217,6380 SvecType * svec_in_internal(char * str)svec_in_internal224,6535 PG_FUNCTION_INFO_V1(svec_to_string);svec_to_string344,10050 Datum svec_to_string(PG_FUNCTION_ARGS)svec_to_string348,10152 PG_FUNCTION_INFO_V1(svec_from_string);svec_from_string355,10324 Datum svec_from_string(PG_FUNCTION_ARGS)svec_from_string359,10423 SvecType *svec_from_sparsedata(SparseData sdata, bool trim)svec_from_sparsedata369,10649 SvecType *svec_from_float8arr(float8 *array, int dimension)svec_from_float8arr395,11281 SvecType *makeEmptySvec(int allocation)makeEmptySvec405,11558 SvecType *reallocSvec(SvecType *source)reallocSvec425,12111 SvecType *svec;svec449,12901 SparseData sdata;sdata450,12918 int dimension;dimension451,12937 int absolute_value_position;absolute_value_position452,12953 int unique_value_position;unique_value_position453,12983 int run_position;run_position454,13011 char *index_position;index_position455,13030 } svec_unnest_fctx;svec_unnest_fctx456,13053 PG_FUNCTION_INFO_V1(svec_unnest);svec_unnest461,13122 Datum svec_unnest(PG_FUNCTION_ARGS)svec_unnest462,13156 methods/svec/src/pg_gp/sparse_vector.h,1388 #define SPARSEVECTOR_HSPARSEVECTOR_H8,104 int4 vl_len_; /**< This is unused at the moment */vl_len_20,373 int4 dimension; /**< Number of elements in this vector, special case is -1 indicates a scalar */dimension21,427 char data[1]; /**< The serialized SparseData representing the vector here */data22,525 } SvecType;SvecType23,605 #define DatumGetSvecTypeP(DatumGetSvecTypeP25,618 #define DatumGetSvecTypePCopy(DatumGetSvecTypePCopy26,692 #define PG_GETARG_SVECTYPE_P(PG_GETARG_SVECTYPE_P27,771 #define PG_GETARG_SVECTYPE_P_COPY(PG_GETARG_SVECTYPE_P_COPY28,848 #define PG_RETURN_SVECTYPE_P(PG_RETURN_SVECTYPE_P29,929 #define SVECHDRSIZE SVECHDRSIZE36,1161 #define SVEC_SDATAPTR(SVEC_SDATAPTR38,1252 #define SVEC_SIZEOFSERIAL(SVEC_SIZEOFSERIAL39,1303 #define SVEC_UNIQUE_VALCNT(SVEC_UNIQUE_VALCNT40,1400 #define SVEC_TOTAL_VALCNT(SVEC_TOTAL_VALCNT41,1470 #define SVEC_DATA_SIZE(SVEC_DATA_SIZE42,1538 #define SVEC_VALS_PTR(SVEC_VALS_PTR43,1601 #define SVEC_INDEX_SIZE(SVEC_INDEX_SIZE47,1816 #define SVEC_INDEX_PTR(SVEC_INDEX_PTR48,1881 #define IS_SCALAR(IS_SCALAR51,1986 #define IS_NVP(IS_NVP54,2112 static inline int check_scalar(int i1, int i2)check_scalar56,2174 static inline SparseData sdata_from_svec(SvecType *svec)sdata_from_svec71,2643 static inline void printout_svec(SvecType *svec, char *msg, int stop)printout_svec89,3156 methods/svec/src/pg_gp/SparseData.c,4661 void* array_pos_ref = NULL;array_pos_ref27,769 size_of_type(Oid type)size_of_type42,1184 void append_to_rle_index(StringInfo index, int64 run_len)append_to_rle_index60,1581 void add_run_to_sdata(char *run_val, int64 run_len, size_t width,add_run_to_sdata73,2072 void int8_to_compword(int64 num, char entry[9])int8_to_compword107,3428 int64 compword_to_int8(const char *entry)compword_to_int8137,4239 void printout_double(double *vals, int num_values, int stop)printout_double181,5156 void printout_index(char *ix, int num_values, int stop)printout_index195,5602 void printout_sdata(SparseData sdata, char *msg, int stop)printout_sdata209,6071 #define typref(typref233,6833 #define valref(valref234,6877 #define valsquare(valsquare236,6940 #define valcube(valcube237,6973 #define valquad(valquad238,7015 #define apply_const_to_sdata(apply_const_to_sdata240,7065 #define apply_scalar_left_to_sdata(apply_scalar_left_to_sdata263,7634 #define accum_sdata_result(accum_sdata_result292,8381 #define apply_function_sdata_scalar(apply_function_sdata_scalar327,9140 #define apply_square_sdata(apply_square_sdata356,9942 #define apply_cube_sdata(apply_cube_sdata385,10597 #define apply_quad_sdata(apply_quad_sdata413,11237 check_sdata_dimensions(SparseData left, SparseData right)check_sdata_dimensions445,11941 void op_sdata_by_scalar_inplace(enum operation_t operation,op_sdata_by_scalar_inplace458,12279 SparseData op_sdata_by_scalar_copy(enum operation_t operation,op_sdata_by_scalar_copy503,13253 SparseData pow_sdata_by_scalar(SparseData sdata,pow_sdata_by_scalar513,13586 SparseData square_sdata(SparseData sdata)square_sdata522,13826 SparseData cube_sdata(SparseData sdata)cube_sdata530,14023 SparseData quad_sdata(SparseData sdata)quad_sdata538,14216 bool sparsedata_eq(SparseData left, SparseData right)sparsedata_eq556,14815 bool sparsedata_eq_zero_is_equal(SparseData left, SparseData right)sparsedata_eq_zero_is_equal618,16516 bool sparsedata_contains(SparseData left, SparseData right)sparsedata_contains675,18157 static inline double id(double x) { return x; }id725,19396 static inline double square(double x) { return x*x; }square726,19444 static inline double myabs(double x) { return (x < 0) ? -(x) : x ; }myabs727,19498 accum_sdata_values_double(SparseData sdata, double (*func)(double))accum_sdata_values_double735,19813 double sum_sdata_values_double(SparseData sdata) {sum_sdata_values_double752,20239 double l2norm_sdata_values_double(SparseData sdata) {l2norm_sdata_values_double757,20382 double l1norm_sdata_values_double(SparseData sdata) {l1norm_sdata_values_double762,20538 SparseData op_sdata_by_sdata(enum operation_t operation,op_sdata_by_sdata775,21030 SparseData makeSparseData(void) {makeSparseData892,24121 SparseData makeEmptySparseData(void) {makeEmptySparseData911,24605 SparseData makeInplaceSparseData(char *vals, char *index,makeInplaceSparseData947,25826 SparseData makeSparseDataCopy(SparseData source_sdata) {makeSparseDataCopy989,27117 SparseData makeSparseDataFromDouble(double constant,int64 dimension) {makeSparseDataFromDouble1005,27794 void freeSparseData(SparseData sdata) {freeSparseData1023,28334 void freeSparseDataAndData(SparseData sdata) {freeSparseDataAndData1032,28532 StringInfo copyStringInfo(StringInfo sinfo) {copyStringInfo1042,28750 StringInfo makeStringInfoFromData(char *data,int len) {makeStringInfoFromData1061,29228 SparseData float8arr_to_sdata(double *array, int count) {float8arr_to_sdata1084,29810 SparseData arr_to_sdata(char *array, size_t width, Oid type_of_data, int count){arr_to_sdata1095,30223 int compar(const void *i, const void *j){compar1131,31275 SparseData position_to_sdata(double *array_val, int64 *array_pos,position_to_sdata1144,31875 double *sdata_to_float8arr(SparseData sdata) {sdata_to_float8arr1222,34255 int64 *sdata_index_to_int64arr(SparseData sdata) {sdata_index_to_int64arr1264,35308 void serializeSparseData(char *target, SparseData source)serializeSparseData1282,35815 void printSparseData(SparseData sdata) {printSparseData1313,36995 double sd_proj(SparseData sdata, int idx) {sd_proj1331,37550 SparseData subarr(SparseData sdata, int start, int end) {subarr1359,38340 SparseData reverse(SparseData sdata) {reverse1408,39714 SparseData concat(SparseData left, SparseData right) {concat1431,40451 SparseData concat_replicate(SparseData rep, int multiplier) {concat_replicate1475,41906 SparseData lapply(text * func, SparseData sdata) {lapply1514,43240 static bool lapply_error_checking(Oid foid, List * func) {lapply_error_checking1532,43799 methods/svec/src/pg_gp/SparseData.h,1875 #define SPARSEDATA_HSPARSEDATA_H22,765 Oid type_of_data; /**< The native type of the data entries */type_of_data38,1047 int unique_value_count; /**< The number of unique values in the data array */unique_value_count39,1111 int total_value_count; /**< The total number of values, including duplicates */total_value_count40,1190 StringInfo vals; /**< The unique number values are stored here as a stream of bytes */vals41,1272 StringInfo index; /**< A count of each value is stored in the index */index42,1367 } SparseDataStruct;SparseDataStruct43,1440 typedef SparseDataStruct *SparseData;SparseData55,1755 #define SIZEOF_SPARSEDATAHDR SIZEOF_SPARSEDATAHDR84,2813 #define SIZEOF_SPARSEDATASERIAL(SIZEOF_SPARSEDATASERIAL90,3034 #define SDATA_DATA_SINFO(SDATA_DATA_SINFO98,3283 #define SDATA_INDEX_SINFO(SDATA_INDEX_SINFO99,3346 #define SDATA_DATA_SIZE(SDATA_DATA_SIZE100,3420 #define SDATA_INDEX_SIZE(SDATA_INDEX_SIZE101,3491 #define SDATA_VALS_PTR(SDATA_VALS_PTR102,3564 #define SDATA_INDEX_PTR(SDATA_INDEX_PTR103,3642 #define SDATA_UNIQUE_VALCNT(SDATA_UNIQUE_VALCNT105,3710 #define SDATA_TOTAL_VALCNT(SDATA_TOTAL_VALCNT106,3781 #define SDATA_IS_SCALAR(SDATA_IS_SCALAR111,3916 #define int8compstoragesize(int8compstoragesize117,4192 enum operation_t { subtract, add, multiply, divide };operation_t165,6187 enum operation_t { subtract, add, multiply, divide };subtract165,6187 enum operation_t { subtract, add, multiply, divide };add165,6187 enum operation_t { subtract, add, multiply, divide };multiply165,6187 enum operation_t { subtract, add, multiply, divide };divide165,6187 #define SPEC_MASK_HIGH SPEC_MASK_HIGH201,7839 #define SPEC_MASK_LOW SPEC_MASK_LOW202,7881 #define MASKTEST(MASKTEST203,7923 #define MASKTEST_double(MASKTEST_double209,8132 #define DBL_IS_A_SPECIAL(DBL_IS_A_SPECIAL211,8195 methods/svec/src/pg_gp/sql/gp_sfv.sql_in.todo.sql,650 CREATE TABLE features (a text[][]) DISTRIBUTED RANDOMLY;features7,174 CREATE TABLE features (a text[][]) DISTRIBUTED RANDOMLY;features.a7,174 CREATE TABLE documents (docnum int, a text[]) DISTRIBUTED RANDOMLY;documents11,400 CREATE TABLE documents (docnum int, a text[]) DISTRIBUTED RANDOMLY;documents.docnum11,400 CREATE TABLE documents (docnum int, a text[]) DISTRIBUTED RANDOMLY;documents.a11,400 CREATE TABLE corpus (docnum int, a svec) DISTRIBUTED RANDOMLY;corpus17,787 CREATE TABLE corpus (docnum int, a svec) DISTRIBUTED RANDOMLY;corpus.docnum17,787 CREATE TABLE corpus (docnum int, a svec) DISTRIBUTED RANDOMLY;corpus.a17,787 methods/svec/src/pg_gp/sql/gp_sfv_sort_order.sql_in,0 methods/svec/src/pg_gp/sql/svec_test.sql_in,735 create table test_pairs( id int, a MADLIB_SCHEMA.svec, b MADLIB_SCHEMA.svec );test_pairs23,946 create table test_pairs( id int, a MADLIB_SCHEMA.svec, b MADLIB_SCHEMA.svec );test_pairs.id23,946 create table test_pairs( id int, a MADLIB_SCHEMA.svec, b MADLIB_SCHEMA.svec );test_pairs.a23,946 create table test_pairs( id int, a MADLIB_SCHEMA.svec, b MADLIB_SCHEMA.svec );test_pairs.b23,946 create table pivot_test(a float8);pivot_test173,11271 create table pivot_test(a float8);pivot_test.a173,11271 create table test_svec (a int, b MADLIB_SCHEMA.svec);test_svec197,12709 create table test_svec (a int, b MADLIB_SCHEMA.svec);test_svec.a197,12709 create table test_svec (a int, b MADLIB_SCHEMA.svec);test_svec.b197,12709 methods/svec/src/pg_gp/svec.sql_in,548 sql> create table features (a text[]);features192,7061 sql> create table features (a text[]);features.a192,7061 sql> create table documents(a int,b text[]);documents199,7338 sql> create table documents(a int,b text[]);documents.a199,7338 sql> create table documents(a int,b text[]);documents.b199,7338 The function MADLIB_SCHEMA.svec_sfv() can process large svec_sfv257,10189 are declared to be base value that user provides in the same function call. In the example below the fist array of integers represents theIn330,13841 methods/utils/src/pg_gp/exec_sql_using.c,222 #undef USE_CONNECTEMCUSE_CONNECTEMC16,502 #define SearchSysCache1(SearchSysCache127,949 PG_FUNCTION_INFO_V1(exec_sql_using);exec_sql_using32,1078 exec_sql_using(PG_FUNCTION_ARGS) {exec_sql_using34,1121 methods/utils/src/pg_gp/noop.c,72 PG_FUNCTION_INFO_V1(noop);noop4,41 noop(PG_FUNCTION_ARGS) {noop6,74 methods/viterbi/viterbi_top1.c,142 #define min(min13,197 PG_FUNCTION_INFO_V1(vcrf_top1_label);vcrf_top1_label31,954 vcrf_top1_label(PG_FUNCTION_ARGS)vcrf_top1_label34,999 src/bin/madpack,107 errorNoPythonFound() {errorNoPythonFound30,978 setAndTestPythonVesion() {setAndTestPythonVesion36,1123 src/dbal/BoostIntegration/Assertions_impl.hpp,205 namespace boost {boost16,353 assertion_failed_msg(char const *inExpr, char const *inMsg,assertion_failed_msg30,754 assertion_failed(char const *inExpr, char const *inFunction,assertion_failed54,1538 src/dbal/BoostIntegration/BoostIntegration.hpp,154 #define MADLIB_DBAL_BOOST_INTEGRATION_HPPMADLIB_DBAL_BOOST_INTEGRATION_HPP19,688 #define BOOST_ENABLE_ASSERT_HANDLERBOOST_ENABLE_ASSERT_HANDLER22,780 src/dbal/BoostIntegration/MathToolkit_impl.hpp,401 #define MADLIB_DBAL_BOOST_INTEGRATION_MATH_TOOLKIT_IMPL_HPPMADLIB_DBAL_BOOST_INTEGRATION_MATH_TOOLKIT_IMPL_HPP10,310 namespace boost {boost16,442 namespace math {math18,461 namespace policies {policies20,479 user_domain_error(const char*, const char* inMessage, const T& inVal) {user_domain_error47,1699 namespace madlib {madlib75,2664 > boost_mathkit_policy;boost_mathkit_policy80,2878 src/dbal/ByteStream_impl.hpp,1730 #define MADLIB_DBAL_BYTESTREAM_IMPL_HPPMADLIB_DBAL_BYTESTREAM_IMPL_HPP8,238 namespace madlib {madlib10,279 namespace dbal {dbal12,299 ByteStream::DryRun::DryRun(DryRun17,454 ByteStream::DryRun::~DryRun() {~DryRun25,690 ByteStream::DryRun::leave() {leave31,857 ByteStream::ByteStream(ByteStream42,1124 ByteStream::read(size_t inCount) {read50,1379 ByteStream::seek(std::ptrdiff_t inOffset,seek64,1907 ByteStream::seek(std::ptrdiff_t inOffset,seek96,2906 ByteStream::seek(size_t inPos) {seek105,3153 ByteStream::size() const {size112,3353 ByteStream::rdstate() const {rdstate119,3558 ByteStream::eof() const {eof128,3825 ByteStream::available() const {available135,4028 ByteStream::tell() const {tell145,4299 ByteStream::ptr() const {ptr152,4553 ByteStream::isInDryRun() const {isInDryRun159,4738 ByteStream::enterDryRun() {enterDryRun166,4924 ByteStream::leaveDryRun() {leaveDryRun173,5096 ByteStream::ByteStream(ByteStream182,5379 ByteStream::read(size_t inCount) {read190,5588 operator>>(operator >>203,5984 operator>>(operator >>222,6547 src/dbal/ByteStream_proto.hpp,1291 #define MADLIB_DBAL_BYTESTREAM_PROTO_HPPMADLIB_DBAL_BYTESTREAM_PROTO_HPP8,240 namespace madlib {madlib10,282 namespace dbal {dbal12,302 struct ByteStreamMaximumAlignmentType {ByteStreamMaximumAlignmentType14,320 struct ByteStreamDefaultTypeTraits {ByteStreamDefaultTypeTraits18,383 enum { alignment = sizeof(T) <= 16 ? sizeof(T) : 16 };alignment19,420 struct ByteStreamDefaultTypeTraits {ByteStreamDefaultTypeTraits25,639 enum { alignment = 16 };alignment26,708 class ByteStream {ByteStream33,887 typedef StreamBuf StreamBuf_type;StreamBuf_type35,914 typedef typename StreamBuf_type::char_type char_type;char_type36,952 enum { isMutable = IsMutable };isMutable37,1010 enum { maximumAlignment =maximumAlignment38,1046 class DryRun {DryRun43,1168 ByteStream& mStream;mStream50,1294 bool mIsIn;mIsIn51,1323 StreamBuf_type* mStreamBuf;mStreamBuf77,2053 int32_t mDryRun;mDryRun83,2222 class ByteStreamByteStream87,2311 typedef ByteStream Base;Base90,2426 typedef typename Base::StreamBuf_type StreamBuf_type;StreamBuf_type91,2489 typedef typename Base::char_type char_type;char_type92,2547 src/dbal/ByteStreamHandleBuf_impl.hpp,1243 #define MADLIB_DBAL_BYTESTREAMHANDLEBUF_IMPL_HPPMADLIB_DBAL_BYTESTREAMHANDLEBUF_IMPL_HPP8,256 namespace madlib {madlib10,306 namespace dbal {dbal12,326 ByteStreamHandleBuf::ByteStreamHandleBuf(ByteStreamHandleBuf15,401 ByteStreamHandleBuf::ByteStreamHandleBuf(ByteStreamHandleBuf22,694 ByteStreamHandleBuf::seek(seek28,903 ByteStreamHandleBuf::ptr() const {ptr41,1218 ByteStreamHandleBuf::size() const {size47,1378 ByteStreamHandleBuf::tell() const {tell53,1540 ByteStreamHandleBuf::setStorage(setStorage59,1688 ByteStreamHandleBuf::storage() {storage67,1943 ByteStreamHandleBuf::storage() const {storage73,2167 ByteStreamHandleBuf::ByteStreamHandleBuf(ByteStreamHandleBuf81,2354 ByteStreamHandleBuf::ByteStreamHandleBuf(ByteStreamHandleBuf86,2506 ByteStreamHandleBuf::ptr() {ptr92,2746 ByteStreamHandleBuf::resize(resize98,2920 src/dbal/ByteStreamHandleBuf_proto.hpp,794 #define MADLIB_DBAL_BYTESTREAMHANDLEBUF_PROTO_HPPMADLIB_DBAL_BYTESTREAMHANDLEBUF_PROTO_HPP8,258 namespace madlib {madlib10,309 namespace dbal {dbal12,329 class ByteStreamHandleBuf {ByteStreamHandleBuf16,459 typedef Storage Storage_type;Storage_type18,495 typedef CharType char_type;char_type19,529 enum { isMutable = IsMutable };isMutable20,561 Storage mStorage;mStorage36,971 size_t mPos;mPos37,993 class ByteStreamHandleBufByteStreamHandleBuf41,1055 typedef ByteStreamHandleBuf Base;Base44,1180 typedef typename Base::Storage_type Storage_type;Storage_type45,1248 typedef typename Base::char_type char_type;char_type46,1302 enum { isMutable = Mutable };isMutable47,1350 src/dbal/dbal_impl.hpp,56 #define MADLIB_DBAL_IMPL_HPPMADLIB_DBAL_IMPL_HPP8,221 src/dbal/dbal_proto.hpp,829 #define MADLIB_DBAL_HPPMADLIB_DBAL_HPP11,297 #define MADLIB_DEFAULT_EXCEPTION MADLIB_DEFAULT_EXCEPTION13,322 #define madlib_assert(madlib_assert14,392 namespace madlib {madlib20,521 namespace dbal {dbal25,593 enum TypeClass {TypeClass27,611 SimpleType,SimpleType28,628 ArrayType,ArrayType29,644 CompositeTypeCompositeType30,659 enum Mutability {Mutability33,681 Immutable = 0,Immutable34,699 MutableMutable35,718 enum MemoryContext {MemoryContext46,1103 FunctionContext,FunctionContext47,1124 AggregateContextAggregateContext48,1145 enum ZeroMemory {ZeroMemory51,1170 DoZero,DoZero52,1188 DoNotZeroDoNotZero53,1200 enum OnMemoryAllocationFailure {OnMemoryAllocationFailure56,1218 ReturnNULL,ReturnNULL57,1251 ThrowBadAllocThrowBadAlloc58,1267 src/dbal/DynamicStruct_impl.hpp,2846 #define MADLIB_POSTGRES_DYNAMICSTRUCT_IMPL_HPPMADLIB_POSTGRES_DYNAMICSTRUCT_IMPL_HPP8,248 namespace madlib {madlib10,296 namespace dbal {dbal12,316 struct DynamicStructType {DynamicStructType21,589 typedef Ref type;type22,616 struct DynamicStructType {DynamicStructType26,682 TransparentHandle > type;type31,943 struct DynamicStructType {DynamicStructType35,1026 TransparentHandle > type;type40,1269 DynamicStructRootContainer::DynamicStructRootContainer(DynamicStructRootContainer46,1440 DynamicStructRootContainer::streambuf() const {streambuf53,1786 DynamicStructRootContainer::streambuf() {streambuf59,2021 DynamicStructBase::DynamicStructBase(DynamicStructBase71,2343 DynamicStructBase::rootContainer() const {rootContainer80,2629 DynamicStructBase::initialize() { }initialize86,2808 ::DynamicStructBase(Init_type& inStorage)DynamicStructBase94,3072 ::rootContainer() const {rootContainer105,3513 ::storage() const {storage117,3915 DynamicStructRootContainer, IsMutable>::byteStream()byteStream129,4248 DynamicStructBase::setSize(setSize141,4492 DynamicStructRootContainer, Mutable>::setSize(setSize155,4842 DynamicStructRootContainer, IsMutable>::initialize() {initialize182,5670 DynamicStruct::DynamicStruct(Init_type& inInitialization)DynamicStruct240,7714 DynamicStruct::rootContainer() {rootContainer246,7975 DynamicStruct::storage() {storage255,8292 DynamicStruct::byteStream() {byteStream264,8594 DynamicStruct::begin() const {begin273,8840 DynamicStruct::end() const {end280,8996 DynamicStruct::ptr() {ptr287,9207 DynamicStruct::ptr() const {ptr296,9498 DynamicStruct::size() const {size303,9677 DynamicStruct::bindToStream(bindToStream314,9934 DynamicStruct::DynamicStruct(DynamicStruct337,10573 DynamicStruct::setSize(size_t inSize) {setSize350,10881 DynamicStruct::resize() {resize358,11104 DynamicStruct::copy(copy378,11794 DynamicStruct::bindToStream(bindToStream403,12473 src/dbal/DynamicStruct_proto.hpp,3577 #define MADLIB_DBAL_DYNAMICSTRUCT_PROTO_HPPMADLIB_DBAL_DYNAMICSTRUCT_PROTO_HPP8,246 namespace madlib {madlib10,291 namespace dbal {dbal12,311 class DynamicStructRootContainer {DynamicStructRootContainer17,400 typedef ByteStreamHandleBuf StreamBuf_type;StreamBuf_type19,443 typedef typename StreamBuf_type::Storage_type Storage_type;Storage_type20,500 typedef ByteStream ByteStream_type;ByteStream_type21,564 enum { isMutable = Storage_type::isMutable };isMutable22,632 StreamBuf_type mByteStreamBuf;mByteStreamBuf29,836 class DynamicStructBase {DynamicStructBase33,956 typedef Container Container_type;Container_type35,990 typedef typename Container_type::RootContainer_type RootContainer_type;RootContainer_type36,1028 typedef typename Container_type::Storage_type Storage_type;Storage_type37,1104 typedef typename Container_type::ByteStream_type ByteStream_type;ByteStream_type38,1168 typedef Container_type Init_type;Init_type39,1238 Container_type& mContainer;mContainer47,1434 class DynamicStructBaseDynamicStructBase51,1512 typedef DynamicStructBase Base;Base54,1635 typedef typename Base::Init_type Init_type;Init_type55,1702 class DynamicStructBase Container_type;Container_type73,2144 typedef Derived RootContainer_type;RootContainer_type74,2220 typedef typename Container_type::Storage_type Storage_type;Storage_type75,2260 typedef typename Container_type::ByteStream_type ByteStream_type;ByteStream_type76,2324 typedef const Storage_type Init_type;Init_type77,2394 Container_type mContainer;mContainer87,2680 ByteStream_type mByteStream;mByteStream88,2711 class DynamicStructBase, Immutable> Base;Base102,3089 typedef typename Base::Container_type Container_type;Container_type103,3163 typedef typename Base::Init_type Init_type;Init_type104,3221 DynamicStructBase(Init_type& inStorage) : Base(inStorage) { }DynamicStructBase106,3270 class DynamicStructDynamicStruct119,3609 typedef DynamicStructBase Base;Base123,3711 typedef typename Base::Storage_type Storage_type;Storage_type124,3767 typedef typename Base::Container_type Container_type;Container_type125,3821 typedef typename Base::RootContainer_type RootContainer_type;RootContainer_type126,3879 typedef typename Base::ByteStream_type ByteStream_type;ByteStream_type127,3945 typedef typename Base::Init_type Init_type;Init_type128,4005 typedef typename ByteStream_type::char_type char_type;char_type129,4053 enum { isMutable = Container_type::isMutable };isMutable130,4112 operator>>(ByteStream_type& inStream, Derived& inStruct) {operator >>160,5001 size_t mBegin;mBegin166,5148 size_t mEnd;mEnd167,5167 class DynamicStructDynamicStruct171,5230 typedef DynamicStruct Base;Base175,5346 typedef typename Base::Init_type Init_type;Init_type176,5409 typedef typename Base::ByteStream_type ByteStream_type;ByteStream_type177,5457 bool mSizeIsLocked;mSizeIsLocked188,5707 namespace eigen_integration {eigen_integration198,5951 #define MADLIB_DYNAMIC_STRUCT_TYPEDEFS MADLIB_DYNAMIC_STRUCT_TYPEDEFS210,6228 src/dbal/EigenIntegration/EigenIntegration.hpp,1433 #define MADLIB_DBAL_EIGEN_INTEGRATION_HPPMADLIB_DBAL_EIGEN_INTEGRATION_HPP8,241 #define EIGEN_MATRIXBASE_PLUGIN EIGEN_MATRIXBASE_PLUGIN11,336 #define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YETEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET14,432 namespace madlib {madlib17,514 namespace dbal {dbal19,534 namespace eigen_integration {eigen_integration21,552 typedef Eigen::VectorXd ColumnVector;ColumnVector23,583 typedef Eigen::RowVectorXd RowVector;RowVector24,621 typedef Eigen::MatrixXd Matrix;Matrix25,659 typedef EIGEN_DEFAULT_DENSE_INDEX_TYPE Index;Index26,691 typedef Eigen::SparseVector SparseColumnVector;SparseColumnVector28,738 enum ViewMode {ViewMode30,795 Lower = Eigen::Lower,Lower31,811 Upper = Eigen::UpperUpper32,837 enum DecompositionOptions {DecompositionOptions35,866 ComputeEigenvectors = Eigen::ComputeEigenvectors,ComputeEigenvectors36,894 EigenvaluesOnly = Eigen::EigenvaluesOnlyEigenvaluesOnly37,948 enum SPDDecompositionExtras {SPDDecompositionExtras40,997 ComputePseudoInverse = 0x01ComputePseudoInverse41,1027 static trans(const Eigen::MatrixBase& mat) {trans51,1334 static dot(dot61,1654 static as_scalar(const Eigen::MatrixBase& mat) {as_scalar70,1879 static triangularView(Eigen::MatrixBase& mat) {triangularView77,2097 static isfinite(const Eigen::MatrixBase& mat) {isfinite83,2229 src/dbal/EigenIntegration/EigenPlugin.hpp,49 inline bool is_finite() const {is_finite10,310 src/dbal/EigenIntegration/HandleMap_impl.hpp,687 #define MADLIB_DBAL_EIGEN_HANDLEMAP_IMPL_HPPMADLIB_DBAL_EIGEN_HANDLEMAP_IMPL_HPP8,242 namespace madlib {madlib10,288 namespace dbal {dbal12,308 namespace eigen_integration {eigen_integration14,326 HandleMap::operator=(operator =24,573 HandleMap::rebind(rebind40,964 HandleMap::rebind(rebind55,1370 HandleMap::rebind(rebind66,1672 HandleMap::rebind(rebind85,2222 HandleMap::rebind(rebind96,2552 HandleMap::memoryHandle() const {memoryHandle108,2849 src/dbal/EigenIntegration/HandleMap_proto.hpp,927 #define MADLIB_DBAL_EIGEN_HANDLEMAP_PROTO_HPPMADLIB_DBAL_EIGEN_HANDLEMAP_PROTO_HPP8,244 namespace madlib {madlib10,291 namespace dbal {dbal12,311 namespace eigen_integration {eigen_integration14,329 class HandleMap : public Eigen::Map {HandleMap20,508 typedef Eigen::Map Base;Base22,577 typedef typename Base::Scalar Scalar;Scalar23,629 typedef typename Base::Index Index;Index24,671 inline HandleMap()HandleMap34,901 inline HandleMap(const Handle &inHandle)HandleMap43,1188 HandleMap(const Eigen::MapBase& inMappedData,HandleMap48,1367 HandleMap(const Eigen::MapBase& inMappedData,HandleMap59,1811 HandleMap(const Handle &inHandle, Index inNumElem)HandleMap77,2627 HandleMap(const Handle &inHandle, Index inNumRows, Index inNumCols)HandleMap94,3339 Handle mMemoryHandle;mMemoryHandle107,3894 src/dbal/EigenIntegration/SymmetricPositiveDefiniteEigenDecomposition_impl.hpp,645 #define MADLIB_DBAL_EIGEN_INTEGRATION_SPDEIGENDECOMPOSITION_IMPL_HPPMADLIB_DBAL_EIGEN_INTEGRATION_SPDEIGENDECOMPOSITION_IMPL_HPP8,300 namespace madlib {madlib10,370 namespace dbal {dbal12,390 namespace eigen_integration {eigen_integration14,408 ::SymmetricPositiveDefiniteEigenDecomposition(SymmetricPositiveDefiniteEigenDecomposition30,1027 SymmetricPositiveDefiniteEigenDecomposition::conditionNo()conditionNo48,1605 SymmetricPositiveDefiniteEigenDecomposition::pseudoInverse() const {pseudoInverse76,2526 SymmetricPositiveDefiniteEigenDecomposition::computeExtras(computeExtras113,3865 src/dbal/EigenIntegration/SymmetricPositiveDefiniteEigenDecomposition_proto.hpp,602 #define MADLIB_DBAL_EIGEN_INTEGRATION_SPDEIGENDECOMPOSITION_PROTO_HPPMADLIB_DBAL_EIGEN_INTEGRATION_SPDEIGENDECOMPOSITION_PROTO_HPP8,302 namespace madlib {madlib10,373 namespace dbal {dbal12,393 namespace eigen_integration {eigen_integration14,411 class SymmetricPositiveDefiniteEigenDecompositionSymmetricPositiveDefiniteEigenDecomposition26,868 typedef Eigen::SelfAdjointEigenSolver Base;Base29,976 typedef typename Base::Scalar Scalar;Scalar30,1036 typedef typename Base::RealVectorType RealVectorType;RealVectorType33,1091 MatrixType mPinv;mPinv47,1494 src/dbal/Exceptions/NoSolutionFoundException_proto.hpp,383 #define MADLIB_DBAL_NOSOLUTIONFOUNDEXCEPTION_PROTO_HPPMADLIB_DBAL_NOSOLUTIONFOUNDEXCEPTION_PROTO_HPP8,268 namespace madlib {madlib10,324 namespace dbal {dbal12,344 class NoSolutionFoundExceptionNoSolutionFoundException18,478 NoSolutionFoundException()NoSolutionFoundException23,564 NoSolutionFoundException(const std::string& inMsg)NoSolutionFoundException27,675 src/dbal/OutputStreamBufferBase_impl.hpp,607 #define MADLIB_DBAL_OUTPUTSTREAMBUFFERBASE_IMPL_HPPMADLIB_DBAL_OUTPUTSTREAMBUFFERBASE_IMPL_HPP8,262 namespace madlib {madlib12,366 namespace dbal {dbal14,386 OutputStreamBufferBase::OutputStreamBufferBase()OutputStreamBufferBase20,543 OutputStreamBufferBase::~OutputStreamBufferBase() {~OutputStreamBufferBase28,824 OutputStreamBufferBase::output(C* inMsg,output42,1282 OutputStreamBufferBase::overflow(int_type c) {overflow58,1920 OutputStreamBufferBase::sync() {sync91,3044 src/dbal/OutputStreamBufferBase_proto.hpp,794 #define MADLIB_DBAL_OUTPUTSTREAMBUFFERBASE_PROTO_HPPMADLIB_DBAL_OUTPUTSTREAMBUFFERBASE_PROTO_HPP8,264 namespace madlib {madlib10,318 namespace dbal {dbal12,338 class OutputStreamBufferBase : public std::basic_streambuf {OutputStreamBufferBase28,861 typedef std::basic_streambuf Base;Base30,933 typedef typename Base::int_type int_type;int_type31,975 typedef typename Base::traits_type traits_type;traits_type32,1021 typedef Allocator allocator_type;allocator_type33,1073 static const uint32_t kInitialBufferSize = 1024;kInitialBufferSize35,1112 static const uint32_t kMaxBufferSize = 16384;kMaxBufferSize36,1165 allocator_type mAllocator;mAllocator47,1434 uint32_t mStorageSize;mStorageSize48,1465 C* mStorage;mStorage49,1492 src/dbal/Reference_impl.hpp,968 #define MADLIB_DBAL_REFERENCE_IMPL_HPPMADLIB_DBAL_REFERENCE_IMPL_HPP8,236 namespace madlib {madlib10,276 namespace dbal {dbal12,296 Ref::Ref()Ref17,374 Ref::Ref(val_type* inPtr)Ref21,457 Ref::rebind(val_type* inPtr) {rebind26,575 Ref::operator val_type&() const {operator val_type&32,697 Ref::ptr() const {ptr38,842 Ref::isNull() const {isNull44,938 Ref::operator=(const Ref& inRef) {operator =53,1144 Ref::Ref() : Base() { }Ref61,1270 Ref::Ref(val_type* inPtr) : Base(inPtr) { }Ref64,1326 Ref::rebind(val_type* inPtr) {rebind68,1416 Ref::operator const val_type&() const {operator const val_type&74,1524 Ref::operator val_type&() {operator val_type&79,1643 Ref::operator=(Ref& inRef) {operator =94,2108 Ref::operator=(const val_type& inValue) {operator =101,2254 src/dbal/Reference_proto.hpp,475 #define MADLIB_DBAL_REFERENCE_PROTO_HPPMADLIB_DBAL_REFERENCE_PROTO_HPP8,238 namespace madlib {madlib10,279 namespace dbal {dbal12,299 class Ref {Ref22,621 typedef const T val_type;val_type24,641 enum { isMutable = IsMutable };isMutable25,671 val_type* mPtr;mPtr38,915 class RefRef42,961 typedef Ref Base;Base46,1032 typedef T val_type;val_type47,1064 enum { isMutable = true };isMutable48,1088 src/madpack/__init__.py,0 src/madpack/argparse.py,10424 __version__ = '1.2.1'__version__64,2876 __all__ = [__all__65,2898 basestring = strbasestring102,3563 def sorted(iterable, reverse=False):sorted108,3657 def _callable(obj):_callable116,3825 OPTIONAL = '?'OPTIONAL130,4251 ZERO_OR_MORE = '*'ZERO_OR_MORE131,4266 ONE_OR_MORE = '+'ONE_OR_MORE132,4285 PARSER = 'A...'PARSER133,4303 REMAINDER = '...'REMAINDER134,4319 _UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args'_UNRECOGNIZED_ARGS_ATTR135,4337 class _AttributeHolder(object):_AttributeHolder141,4482 def __repr__(self):__repr__150,4806 def _get_kwargs(self):_get_kwargs159,5140 def _get_args(self):_get_args162,5213 def _ensure_value(namespace, name, value):_ensure_value166,5258 class HelpFormatter(object):HelpFormatter176,5481 def __init__(self,__init__183,5737 def _indent(self):_indent215,6702 def _dedent(self):_dedent219,6806 class _Section(object):_Section224,6980 def __init__(self, formatter, parent, heading=None):__init__226,7009 def format_help(self):format_help232,7206 def _add_item(self, func, args):_add_item257,8193 def start_section(self, heading):start_section263,8381 def end_section(self):end_section269,8601 def add_text(self, text):add_text273,8713 def add_usage(self, usage, actions, groups, prefix=None):add_usage277,8852 def add_argument(self, action):add_argument282,9052 def add_arguments(self, actions):add_arguments300,9811 def format_help(self):format_help307,10009 def _join_parts(self, part_strings):_join_parts314,10227 def _format_usage(self, usage, actions, groups, prefix):_format_usage319,10406 def get_lines(parts, indent, prefix=None):get_lines363,12166 def _format_actions_usage(self, actions, groups):_format_actions_usage411,14244 def _format_text(self, text):_format_text507,17899 def _format_action(self, action):_format_action514,18178 def _format_action_invocation(self, action):_format_action_invocation561,20106 def _metavar_formatter(self, action, default_metavar):_metavar_formatter584,20902 def format(tuple_size):format593,21250 def _format_args(self, action, default_metavar):_format_args600,21442 def _expand_help(self, action):_expand_help619,22230 def _iter_indented_subactions(self, action):_iter_indented_subactions632,22782 def _split_lines(self, text, width):_split_lines643,23092 def _fill_text(self, text, width, indent):_fill_text647,23240 def _get_help_string(self, action):_get_help_string652,23486 class RawDescriptionHelpFormatter(HelpFormatter):RawDescriptionHelpFormatter656,23555 def _fill_text(self, text, width, indent):_fill_text663,23834 class RawTextHelpFormatter(RawDescriptionHelpFormatter):RawTextHelpFormatter667,23957 def _split_lines(self, text, width):_split_lines674,24240 class ArgumentDefaultsHelpFormatter(HelpFormatter):ArgumentDefaultsHelpFormatter678,24316 def _get_help_string(self, action):_get_help_string685,24595 def _get_action_name(argument):_get_action_name699,25040 class ArgumentError(Exception):ArgumentError712,25393 def __init__(self, argument, message):__init__719,25633 def __str__(self):__str__723,25764 class ArgumentTypeError(Exception):ArgumentTypeError732,26054 class Action(_AttributeHolder):Action741,26228 def __init__(self,__init__792,28676 def _get_kwargs(self):_get_kwargs814,29297 def __call__(self, parser, namespace, values, option_string=None):__call__828,29617 class _StoreAction(Action):_StoreAction832,29754 def __init__(self,__init__834,29783 def __call__(self, parser, namespace, values, option_string=None):__call__863,30808 class _StoreConstAction(Action):_StoreConstAction867,30927 def __init__(self,__init__869,30961 def __call__(self, parser, namespace, values, option_string=None):__call__886,31433 class _StoreTrueAction(_StoreConstAction):_StoreTrueAction890,31556 def __init__(self,__init__892,31600 class _StoreFalseAction(_StoreConstAction):_StoreFalseAction907,31996 def __init__(self,__init__909,32041 class _AppendAction(Action):_AppendAction924,32438 def __init__(self,__init__926,32468 def __call__(self, parser, namespace, values, option_string=None):__call__955,33501 class _AppendConstAction(Action):_AppendConstAction961,33716 def __init__(self,__init__963,33751 def __call__(self, parser, namespace, values, option_string=None):__call__981,34253 class _CountAction(Action):_CountAction987,34472 def __init__(self,__init__989,34501 def __call__(self, parser, namespace, values, option_string=None):__call__1003,34888 class _HelpAction(Action):_HelpAction1008,35073 def __init__(self,__init__1010,35101 def __call__(self, parser, namespace, values, option_string=None):__call__1022,35436 class _VersionAction(Action):_VersionAction1027,35559 def __init__(self,__init__1029,35590 def __call__(self, parser, namespace, values, option_string=None):__call__1043,36026 class _SubParsersAction(Action):_SubParsersAction1052,36328 class _ChoicesPseudoAction(Action):_ChoicesPseudoAction1054,36362 def __init__(self, name, help):__init__1056,36403 def __init__(self,__init__1060,36580 def add_parser(self, name, **kwargs):add_parser1081,37166 def _get_subactions(self):_get_subactions1097,37768 def __call__(self, parser, namespace, values, option_string=None):__call__1100,37837 class FileType(object):FileType1129,38891 def __init__(self, mode='r', bufsize=None):__init__1142,39367 def __call__(self, string):__call__1146,39474 def __repr__(self):__repr__1163,40048 class Namespace(_AttributeHolder):Namespace1172,40346 def __init__(self, **kwargs):__init__1179,40540 __hash__ = None__hash__1183,40649 def __eq__(self, other):__eq__1185,40670 def __ne__(self, other):__ne__1188,40741 def __contains__(self, key):__contains__1191,40806 class _ActionsContainer(object):_ActionsContainer1195,40877 def __init__(self,__init__1197,40911 def register(self, registry_name, value, object):register1249,42793 def _registry_get(self, registry_name, value, default=None):_registry_get1253,42947 def set_defaults(self, **kwargs):set_defaults1259,43203 def get_default(self, dest):get_default1268,43537 def add_argument(self, *args, **kwargs):add_argument1278,43850 def add_argument_group(self, *args, **kwargs):add_argument_group1318,45508 def add_mutually_exclusive_group(self, **kwargs):add_mutually_exclusive_group1323,45677 def _add_action(self, action):_add_action1328,45863 def _remove_action(self, action):_remove_action1349,46621 def _add_container_actions(self, container):_add_container_actions1352,46697 def _get_positional_kwargs(self, dest, **kwargs):_get_positional_kwargs1392,48427 def _get_optional_kwargs(self, *args, **kwargs):_get_optional_kwargs1408,49098 def _pop_action_class(self, kwargs, default=None):_pop_action_class1443,50664 def _get_handler(self):_get_handler1447,50827 def _check_conflict(self, action):_check_conflict1456,51203 def _handle_conflict_error(self, action, conflicting_actions):_handle_conflict_error1470,51758 def _handle_conflict_resolve(self, action, conflicting_actions):_handle_conflict_resolve1477,52121 class _ArgumentGroup(_ActionsContainer):_ArgumentGroup1492,52665 def __init__(self, container, title=None, description=None, **kwargs):__init__1494,52707 def _add_action(self, action):_add_action1515,53630 def _remove_action(self, action):_remove_action1520,53796 class _MutuallyExclusiveGroup(_ArgumentGroup):_MutuallyExclusiveGroup1525,53938 def __init__(self, container, required=False):__init__1527,53986 def _add_action(self, action):_add_action1532,54172 def _remove_action(self, action):_remove_action1540,54457 class ArgumentParser(_AttributeHolder, _ActionsContainer):ArgumentParser1545,54587 def __init__(self,__init__1563,55523 def identity(string):identity1609,57148 def _get_kwargs(self):_get_kwargs1644,58400 def add_subparsers(self, **kwargs):add_subparsers1659,58820 def _add_action(self, action):_add_action1690,60173 def _get_optional_actions(self):_get_optional_actions1697,60377 def _get_positional_actions(self):_get_positional_actions1702,60524 def parse_args(self, args=None, namespace=None):parse_args1710,60809 def parse_known_args(self, args=None, namespace=None):parse_known_args1717,61055 def _parse_known_args(self, arg_strings, namespace):_parse_known_args1752,62510 def take_action(action, argument_strings, option_string=None):take_action1799,64578 def consume_optional(start_index):consume_optional1820,65706 def consume_positionals(start_index):consume_positionals1897,69381 def _read_args_from_files(self, arg_strings):_read_args_from_files1987,73320 def convert_arg_line_to_args(self, arg_line):convert_arg_line_to_args2016,74511 def _match_argument(self, action, arg_strings_pattern):_match_argument2019,74588 def _match_arguments_partial(self, actions, arg_strings_pattern):_match_arguments_partial2038,75396 def _parse_optional(self, arg_string):_parse_optional2054,76070 def _get_option_tuples(self, option_string):_get_option_tuples2111,78491 def _get_nargs_pattern(self, action):_get_nargs_pattern2155,80415 def _get_values(self, action, arg_strings):_get_values2199,81832 def _get_value(self, action, arg_string):_get_value2248,83841 def _check_value(self, action, value):_check_value2273,84783 def format_usage(self):format_usage2283,85228 def format_help(self):format_help2289,85454 def format_version(self):format_version2312,86187 def _get_formatter(self):_get_formatter2322,86557 def print_usage(self, file=None):print_usage2328,86724 def print_help(self, file=None):print_help2333,86874 def print_version(self, file=None):print_version2338,87022 def _print_message(self, message, file=None):_print_message2346,87336 def exit(self, status=0, message=None):exit2355,87569 def error(self, message):error2360,87714 src/madpack/configyml.py,421 class MadPackConfigError(Exception):MadPackConfigError15,247 def __init__(self, value):__init__16,284 def __str__(self):__str__18,344 def get_version(configdir):get_version27,567 def get_ports(configdir):get_ports48,1021 def get_modules( confdir):get_modules72,1643 def flatten(listOfLists):flatten95,2120 def topsort(depdict):topsort104,2400 def topsort_modules(conf):topsort_modules140,3495 src/madpack/madpack.py,6464 py_min_ver = [2,6]py_min_ver18,373 maddir = os.path.abspath(os.path.dirname(os.path.realpath(maddir31,981 this = os.path.basename(sys.argv[0]) # name of this scriptthis40,1214 maddir_conf = maddir + "/config" # Config dirmaddir_conf43,1299 maddir_lib = maddir + "/lib/libmadlib.so" # C/C++ libraries maddir_lib44,1355 ports = configyml.get_ports(maddir_conf ) # object made of Ports.ymlports47,1442 rev = configyml.get_version(maddir_conf ) # MADlib OS-level versionrev48,1512 portid_list = []portid_list49,1581 portid = None # Target port ID (eg: pg90, gp40)portid54,1666 dbconn = None # DB Connection objectdbconn55,1720 dbver = None # DB versiondbver56,1763 con_args = {} # DB connection argumentscon_args57,1796 verbose = None # Verbose flagverbose58,1842 def __make_dir(dir):__make_dir64,2050 def __error(msg, stop):__error77,2469 def __info(msg, verbose):__info92,2871 def __run_sql_query(sql, show_error):__run_sql_query105,3336 def __run_sql_file(schema, maddir_mod_py, module, sqlfile, tmpfile, logfile, pre_sql): __run_sql_file167,5637 def __get_madlib_dbver(schema):__get_madlib_dbver252,8621 def __get_dbver():__get_dbver269,9325 def __check_db_port(portid):__check_db_port287,10067 def __get_rev_num(rev):__get_rev_num311,10983 def __print_revs(rev, dbrev, con_args, schema):__print_revs328,11478 def __plpy_check(py_min_ver):__plpy_check344,12231 def __db_install(schema, dbrev):__db_install391,14177 def __db_rename_schema(from_schema, to_schema):__db_rename_schema489,17438 def __db_create_schema(schema):__db_create_schema503,18022 def __db_create_objects(schema, old_schema):__db_create_objects516,18497 def __db_rollback(drop_schema, keep_schema):__db_rollback610,22379 def unescape(string):unescape632,23094 def parseConnectionStr(connectionStr):parseConnectionStr642,23376 def main(argv):main667,24385 choices=['install','update','uninstall','reinstall','version','install-check'], choices685,25063 help = "One of the following options:\n"help686,25152 help= "Connection string of the following syntax:\n"help696,25693 help="Target schema for the database objects.")help708,26373 help="Target database platform, current choices: " + str(portid_list))help712,26609 help="Temporary directory location for installation log files.")help721,27081 help="Module names to test, comma separated. Effective only for install-check.")help724,27245 args = parser.parse_args()args729,27390 verbose = args.verboseverbose731,27440 keeplogs = args.keeplogskeeplogs734,27539 tmpdir = tempfile.mkdtemp('', 'madlib.', args.tmpdir)tmpdir738,27596 tmpdir = e.filenametmpdir740,27681 schema = args.schema[0].lower()schema748,27859 schema = args.schema.lower()schema750,27913 portid = args.platform[0].lower()portid760,28151 portid = Noneportid763,28239 portid = Noneportid766,28356 connStr = "" if args.connstr is None else args.connstr[0]connStr772,28470 c_user = os.environ.get('PGUSER', getpass.getuser())c_user778,28759 c_pass = os.environ.get('PGPASSWORD', None)c_pass780,28859 c_host = os.environ.get('PGHOST', 'localhost')c_host782,28950 c_port = os.environ.get('PGPORT', '5432')c_port784,29044 c_db = os.environ.get('PGDATABASE', c_user)c_db786,29131 c_pass = getpass.getpass("Password for user %s: " % c_user)c_pass795,29380 dbrev = __get_madlib_dbver(schema)dbrev805,29709 dbver = __get_dbver()dbver808,29786 portdir = os.path.join(maddir, "ports", portid)portdir809,29816 supportedVersions = [dirItem for dirItem in os.listdir(portdir)supportedVersions810,29872 dbver = ".".join(map(str, max([map(int, versionStr.split('.'))dbver814,30119 DBMS = ports[portid]['name'],DBMS819,30436 version = dbverversion820,30486 maddir_conf = maddir + "/ports/" + portid + "/" + dbver + "/config"maddir_conf837,31314 "/lib/libmadlib.so"maddir_lib842,31602 portspecs = configyml.get_modules(maddir_conf) portspecs845,31711 con_args = Nonecon_args847,31795 dbrev = Nonedbrev848,31819 go = raw_input('>>> ').upper()go915,34409 go = raw_input('Yes or No >>> ').upper()go917,34487 dbrev = __get_madlib_dbver(schema)dbrev946,35490 test_user = 'madlib_' + rev.replace('.','') + '_installcheck'test_user976,36478 caseset = set([test.strip()caseset992,37243 module = moduleinfo['name']module999,37488 cur_tmpdir = tmpdir + '/' + module + '/test'cur_tmpdir1008,37788 maddir_mod_py = maddir + "/ports/" + portid + "/" + dbver + "/modules"maddir_mod_py1013,38061 maddir_mod_py = maddir + "/modules"maddir_mod_py1015,38175 maddir_mod_sql = maddir + "/ports/" + portid + "/modules"maddir_mod_sql1019,38392 maddir_mod_sql = maddir + "/modules"maddir_mod_sql1021,38493 test_schema = "madlib_installcheck_%s" % (module)test_schema1024,38582 sql_files = maddir_mod_sql + '/' + module + '/test/*.sql_in'sql_files1038,39311 result = 'PASS'result1041,39454 tmpfile = cur_tmpdir + '/' + os.path.basename(sqlfile) + '.tmp'tmpfile1044,39520 logfile = cur_tmpdir + '/' + os.path.basename(sqlfile) + '.log'logfile1045,39600 milliseconds = 0milliseconds1048,39756 run_start = datetime.datetime.now()run_start1051,39820 retval = __run_sql_file(schema, maddir_mod_py, module, sqlfile, tmpfile, logfile, pre_sql)retval1052,39872 run_end = datetime.datetime.now()run_end1054,40016 milliseconds = round((run_end - run_start).seconds * 1000 + (run_end - run_start).microseconds / 1000)milliseconds1055,40066 result = 'FAIL'result1061,40397 keeplogs = Truekeeplogs1062,40433 result = 'PASS'result1066,40698 result = 'ERROR'result1069,40803 src/madpack/plpy.py,317 errorMsg = "unable to import The PyGreSQL Python module (pg.py) - %s\n" % str(e)errorMsg17,427 def connect ( dbname, host, port, user, passwd):connect32,845 def close(): close41,1072 def execute( sql): execute57,1531 def info( msg):info66,1742 def error( msg):error69,1783 src/madpack/sort-module.py,132 portspecs = configyml.get_modules("../config")portspecs18,381 def find_order(path):find_order20,429 def main(args):main28,672 src/madpack/yaml/__init__.py,2157 def scan(stream, Loader=Loader):scan16,187 def parse(stream, Loader=Loader):parse24,382 def compose(stream, Loader=Loader):compose32,578 def compose_all(stream, Loader=Loader):compose_all41,821 def load_all(stream, Loader=Loader):load_all50,1062 def load(stream, Loader=Loader):load59,1294 def safe_load_all(stream):safe_load_all68,1528 def safe_load(stream):safe_load76,1733 def emit(events, stream=None, Dumper=Dumper,emit84,1938 def serialize_all(nodes, stream=None, Dumper=Dumper,serialize_all106,2666 def serialize(node, stream=None, Dumper=Dumper, **kwds):serialize134,3694 def dump_all(documents, stream=None, Dumper=Dumper,dump_all141,3947 def dump(data, stream=None, Dumper=Dumper, **kwds):dump172,5117 def safe_dump_all(documents, stream=None, **kwds):safe_dump_all179,5354 def safe_dump(data, stream=None, **kwds):safe_dump187,5644 def add_implicit_resolver(tag, regexp, first=None,add_implicit_resolver195,5909 def add_path_resolver(tag, path, kind=None, Loader=Loader, Dumper=Dumper):add_path_resolver206,6334 def add_constructor(tag, constructor, Loader=Loader):add_constructor216,6706 def add_multi_constructor(tag_prefix, multi_constructor, Loader=Loader):add_multi_constructor224,6992 def add_representer(data_type, representer, Dumper=Dumper):add_representer233,7409 def add_multi_representer(data_type, multi_representer, Dumper=Dumper):add_multi_representer242,7737 class YAMLObjectMetaclass(type):YAMLObjectMetaclass251,8106 def __init__(cls, name, bases, kwds):__init__255,8189 class YAMLObject(object):YAMLObject261,8499 __metaclass__ = YAMLObjectMetaclass__metaclass__267,8634 __slots__ = () # no direct instantiation, so allow immutable subclasses__slots__268,8674 yaml_loader = Loaderyaml_loader270,8752 yaml_dumper = Dumperyaml_dumper271,8777 yaml_tag = Noneyaml_tag273,8803 yaml_flow_style = Noneyaml_flow_style274,8823 def from_yaml(cls, loader, node):from_yaml276,8851 from_yaml = classmethod(from_yaml)from_yaml281,9026 def to_yaml(cls, dumper, data):to_yaml283,9066 to_yaml = classmethod(to_yaml)to_yaml289,9301 src/madpack/yaml/composer.py,612 __all__ = ['Composer', 'ComposerError']__all__2,1 class ComposerError(MarkedYAMLError):ComposerError8,118 class Composer(object):Composer11,166 def __init__(self):__init__13,191 def check_node(self):check_node16,242 def get_node(self):get_node24,486 def compose_document(self):compose_document29,653 def compose_node(self, parent, index):compose_node42,943 def compose_scalar_node(self, anchor):compose_scalar_node67,2083 def compose_sequence_node(self, anchor):compose_sequence_node78,2499 def compose_mapping_node(self, anchor):compose_mapping_node96,3188 src/madpack/yaml/constructor.py,4006 __all__ = ['BaseConstructor', 'SafeConstructor', 'Constructor',__all__2,1 class ConstructorError(MarkedYAMLError):ConstructorError17,245 class BaseConstructor(object):BaseConstructor20,296 yaml_constructors = {}yaml_constructors22,328 yaml_multi_constructors = {}yaml_multi_constructors23,355 def __init__(self):__init__25,389 def check_data(self):check_data31,559 def get_data(self):get_data35,668 def construct_document(self, node):construct_document40,833 def construct_object(self, node, deep=False):construct_object53,1288 def construct_scalar(self, node):construct_scalar104,3482 def construct_sequence(self, node, deep=False):construct_sequence111,3746 def construct_mapping(self, node, deep=False):construct_mapping119,4099 def construct_pairs(self, node, deep=False):construct_pairs136,4851 def add_constructor(cls, tag, constructor):add_constructor148,5355 add_constructor = classmethod(add_constructor)add_constructor152,5569 def add_multi_constructor(cls, tag_prefix, multi_constructor):add_multi_constructor154,5621 add_multi_constructor = classmethod(add_multi_constructor)add_multi_constructor158,5891 class SafeConstructor(BaseConstructor):SafeConstructor160,5955 def construct_scalar(self, node):construct_scalar162,5996 def flatten_mapping(self, node):flatten_mapping169,6313 def construct_mapping(self, node, deep=False):construct_mapping204,8000 def construct_yaml_null(self, node):construct_yaml_null209,8205 bool_values = {bool_values213,8303 def construct_yaml_bool(self, node):construct_yaml_bool222,8489 def construct_yaml_int(self, node):construct_yaml_int226,8622 inf_value = 1e300inf_value254,9487 nan_value = -inf_value/inf_value # Trying to make a quiet NaN (like C99).nan_value257,9584 def construct_yaml_float(self, node):construct_yaml_float259,9665 def construct_yaml_binary(self, node):construct_yaml_binary283,10404 timestamp_regexp = re.compile(timestamp_regexp291,10737 def construct_yaml_timestamp(self, node):construct_yaml_timestamp303,11237 def construct_yaml_omap(self, node):construct_yaml_omap330,12278 def construct_yaml_pairs(self, node):construct_yaml_pairs352,13451 def construct_yaml_set(self, node):construct_yaml_set373,14563 def construct_yaml_str(self, node):construct_yaml_str379,14716 def construct_yaml_seq(self, node):construct_yaml_seq386,14915 def construct_yaml_map(self, node):construct_yaml_map391,15044 def construct_yaml_object(self, node, cls):construct_yaml_object397,15194 def construct_undefined(self, node):construct_undefined407,15536 class Constructor(SafeConstructor):Constructor463,17209 def construct_python_str(self, node):construct_python_str465,17246 def construct_python_unicode(self, node):construct_python_unicode468,17348 def construct_python_long(self, node):construct_python_long471,17438 def construct_python_complex(self, node):construct_python_complex474,17533 def construct_python_tuple(self, node):construct_python_tuple477,17631 def find_python_module(self, name, mark):find_python_module480,17728 def find_python_name(self, name, mark):find_python_name491,18221 def construct_python_name(self, suffix, node):construct_python_name516,19353 def construct_python_module(self, suffix, node):construct_python_module524,19740 class classobj: passclassobj532,20133 def make_python_instance(self, suffix, node,make_python_instance534,20159 def set_python_instance_state(self, instance, state):set_python_instance_state551,20764 def construct_python_object(self, suffix, node):construct_python_object565,21304 def construct_python_object_apply(self, suffix, node, newobj=False):construct_python_object_apply574,21690 def construct_python_object_new(self, suffix, node):construct_python_object_new609,23140 src/madpack/yaml/cyaml.py,796 __all__ = ['CBaseLoader', 'CSafeLoader', 'CLoader',__all__2,1 class CBaseLoader(CParser, BaseConstructor, BaseResolver):CBaseLoader14,243 def __init__(self, stream):__init__16,303 class CSafeLoader(CParser, SafeConstructor, Resolver):CSafeLoader21,450 def __init__(self, stream):__init__23,506 class CLoader(CParser, Constructor, Resolver):CLoader28,649 def __init__(self, stream):__init__30,697 class CBaseDumper(CEmitter, BaseRepresenter, BaseResolver):CBaseDumper35,836 def __init__(self, stream,__init__37,897 class CSafeDumper(CEmitter, SafeRepresenter, Resolver):CSafeDumper52,1635 def __init__(self, stream,__init__54,1692 class CDumper(CEmitter, Serializer, Representer, Resolver):CDumper69,2434 def __init__(self, stream,__init__71,2495 src/madpack/yaml/dumper.py,449 __all__ = ['BaseDumper', 'SafeDumper', 'Dumper']__all__2,1 class BaseDumper(Emitter, Serializer, BaseRepresenter, BaseResolver):BaseDumper9,148 def __init__(self, stream,__init__11,219 class SafeDumper(Emitter, Serializer, SafeRepresenter, Resolver):SafeDumper27,1008 def __init__(self, stream,__init__29,1075 class Dumper(Emitter, Serializer, Representer, Resolver):Dumper45,1869 def __init__(self, stream,__init__47,1928 src/madpack/yaml/emitter.py,4444 __all__ = ['Emitter', 'EmitterError']__all__9,294 class EmitterError(YAMLError):EmitterError16,394 class ScalarAnalysis(object):ScalarAnalysis19,435 def __init__(self, scalar, empty, multiline,__init__20,465 class Emitter(object):Emitter33,984 DEFAULT_TAG_PREFIXES = {DEFAULT_TAG_PREFIXES35,1008 def __init__(self, stream, canonical=None, indent=None, width=None,__init__40,1104 def emit(self, event):emit105,3074 def need_more_events(self):need_more_events114,3347 def need_events(self, count):need_events127,3772 def increase_indent(self, flow=False, indentless=False):increase_indent140,4249 def expect_stream_start(self):expect_stream_start154,4614 def expect_nothing(self):expect_nothing164,5006 def expect_first_document_start(self):expect_first_document_start169,5135 def expect_document_start(self, first=False):expect_document_start172,5233 def expect_document_end(self):expect_document_end203,6738 def expect_document_root(self):expect_document_root215,7185 def expect_node(self, root=False, sequence=False, mapping=False,expect_node221,7333 def expect_alias(self):expect_alias249,8627 def expect_scalar(self):expect_scalar255,8835 def expect_flow_sequence(self):expect_flow_sequence263,9046 def expect_first_flow_sequence_item(self):expect_first_flow_sequence_item269,9268 def expect_flow_sequence_item(self):expect_flow_sequence_item281,9757 def expect_flow_mapping(self):expect_flow_mapping299,10433 def expect_first_flow_mapping_key(self):expect_first_flow_mapping_key305,10652 def expect_flow_mapping_key(self):expect_flow_mapping_key322,11413 def expect_flow_mapping_simple_value(self):expect_flow_mapping_simple_value343,12331 def expect_flow_mapping_value(self):expect_flow_mapping_value348,12518 def expect_block_sequence(self):expect_block_sequence357,12821 def expect_first_block_sequence_item(self):expect_first_block_sequence_item362,13049 def expect_block_sequence_item(self, first=False):expect_block_sequence_item365,13157 def expect_block_mapping(self):expect_block_mapping377,13614 def expect_first_block_mapping_key(self):expect_first_block_mapping_key381,13749 def expect_block_mapping_key(self, first=False):expect_block_mapping_key384,13853 def expect_block_mapping_simple_value(self):expect_block_mapping_simple_value398,14484 def expect_block_mapping_value(self):expect_block_mapping_value403,14673 def check_empty_sequence(self):check_empty_sequence411,14915 def check_empty_mapping(self):check_empty_mapping415,15093 def check_empty_document(self):check_empty_document419,15268 def check_simple_key(self):check_simple_key426,15592 def process_anchor(self, indicator):process_anchor448,16697 def process_tag(self):process_tag458,17091 def choose_scalar_style(self):choose_scalar_style483,18115 def process_scalar(self):process_scalar504,19149 def prepare_version(self, version):prepare_version528,20065 def prepare_tag_handle(self, handle):prepare_tag_handle534,20284 def prepare_tag_prefix(self, prefix):prepare_tag_prefix547,20918 def prepare_tag(self, tag):prepare_tag570,21732 def prepare_anchor(self, anchor):prepare_anchor605,23002 def analyze_scalar(self, scalar):analyze_scalar615,23442 def flush_stream(self):flush_stream820,31481 def write_stream_start(self):write_stream_start824,31584 def write_stream_end(self):write_stream_end829,31780 def write_indicator(self, indicator, need_whitespace,write_indicator832,31841 def write_indent(self):write_indent845,32304 def write_line_break(self, data=None):write_line_break858,32791 def write_version_directive(self, version_text):write_version_directive869,33112 def write_tag_directive(self, handle_text, prefix_text):write_tag_directive876,33345 def write_single_quoted(self, text, split=True):write_single_quoted885,33625 ESCAPE_REPLACEMENTS = {ESCAPE_REPLACEMENTS939,35812 def write_double_quoted(self, text, split=True):write_double_quoted957,36239 def determine_chomp(self, text):determine_chomp1011,38565 def write_folded(self, text):write_folded1023,38893 def write_literal(self, text):write_literal1074,40922 def write_plain(self, text, split=True):write_plain1107,42152 src/madpack/yaml/error.py,501 __all__ = ['Mark', 'YAMLError', 'MarkedYAMLError']__all__2,1 class Mark(object):Mark4,53 def __init__(self, name, index, line, column, buffer, pointer):__init__6,74 def get_snippet(self, indent=4, max_length=75):get_snippet14,309 def __str__(self):__str__37,1172 class YAMLError(Exception):YAMLError45,1433 class MarkedYAMLError(YAMLError):MarkedYAMLError48,1471 def __init__(self, context=None, context_mark=None,__init__50,1506 def __str__(self):__str__58,1789 src/madpack/yaml/events.py,1391 class Event(object):Event4,22 def __init__(self, start_mark=None, end_mark=None):__init__5,43 def __repr__(self):__repr__8,169 class NodeEvent(Event):NodeEvent15,479 def __init__(self, anchor, start_mark=None, end_mark=None):__init__16,503 class CollectionStartEvent(NodeEvent):CollectionStartEvent21,667 def __init__(self, anchor, tag, implicit, start_mark=None, end_mark=None,__init__22,706 class CollectionEndEvent(Event):CollectionEndEvent31,1007 class StreamStartEvent(Event):StreamStartEvent36,1070 def __init__(self, start_mark=None, end_mark=None, encoding=None):__init__37,1101 class StreamEndEvent(Event):StreamEndEvent42,1276 class DocumentStartEvent(Event):DocumentStartEvent45,1315 def __init__(self, start_mark=None, end_mark=None,__init__46,1348 class DocumentEndEvent(Event):DocumentEndEvent54,1616 def __init__(self, start_mark=None, end_mark=None,__init__55,1647 class AliasEvent(NodeEvent):AliasEvent61,1834 class ScalarEvent(NodeEvent):ScalarEvent64,1873 def __init__(self, anchor, tag, implicit, value,__init__65,1903 class SequenceStartEvent(CollectionStartEvent):SequenceStartEvent75,2223 class SequenceEndEvent(CollectionEndEvent):SequenceEndEvent78,2281 class MappingStartEvent(CollectionStartEvent):MappingStartEvent81,2335 class MappingEndEvent(CollectionEndEvent):MappingEndEvent84,2392 src/madpack/yaml/loader.py,491 __all__ = ['BaseLoader', 'SafeLoader', 'Loader']__all__2,1 class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver):BaseLoader11,188 def __init__(self, stream):__init__13,273 class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver):SafeLoader21,512 def __init__(self, stream):__init__23,593 class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver):Loader31,828 def __init__(self, stream):__init__33,901 src/madpack/yaml/nodes.py,537 class Node(object):Node2,1 def __init__(self, tag, value, start_mark, end_mark):__init__3,21 def __repr__(self):__repr__8,199 class ScalarNode(Node):ScalarNode25,763 id = 'scalar'id26,787 def __init__(self, tag, value,__init__27,805 class CollectionNode(Node):CollectionNode35,1045 def __init__(self, tag, value,__init__36,1073 class SequenceNode(CollectionNode):SequenceNode44,1328 id = 'sequence'id45,1364 class MappingNode(CollectionNode):MappingNode47,1385 id = 'mapping'id48,1420 src/madpack/yaml/parser.py,2471 __all__ = ['Parser', 'ParserError']__all__62,3177 class ParserError(MarkedYAMLError):ParserError69,3313 class Parser(object):Parser72,3359 DEFAULT_TAGS = {DEFAULT_TAGS78,3651 def __init__(self):__init__83,3740 def check_event(self, *choices):check_event91,3956 def peek_event(self):peek_event104,4400 def get_event(self):get_event111,4607 def parse_stream_start(self):parse_stream_start124,5105 def parse_implicit_document_start(self):parse_implicit_document_start136,5429 def parse_document_start(self):parse_document_start156,6082 def parse_document_end(self):parse_document_end187,7336 def parse_document_content(self):parse_document_content205,7858 def process_directives(self):process_directives214,8213 def parse_block_node(self):parse_block_node261,10341 def parse_flow_node(self):parse_flow_node264,10417 def parse_block_node_or_indentless_sequence(self):parse_block_node_or_indentless_sequence267,10482 def parse_node(self, block=False, indentless_sequence=False):parse_node270,10607 def parse_block_sequence_first_entry(self):parse_block_sequence_first_entry373,15907 def parse_block_sequence_entry(self):parse_block_sequence_entry378,16082 def parse_indentless_sequence_entry(self):parse_indentless_sequence_entry399,17034 def parse_block_mapping_first_key(self):parse_block_mapping_first_key419,17940 def parse_block_mapping_key(self):parse_block_mapping_key424,18109 def parse_block_mapping_value(self):parse_block_mapping_value443,19015 def parse_flow_sequence_first_entry(self):parse_flow_sequence_first_entry468,20216 def parse_flow_sequence_entry(self, first=False):parse_flow_sequence_entry473,20399 def parse_flow_sequence_entry_mapping_key(self):parse_flow_sequence_entry_mapping_key499,21589 def parse_flow_sequence_entry_mapping_value(self):parse_flow_sequence_entry_mapping_value509,22039 def parse_flow_sequence_entry_mapping_end(self):parse_flow_sequence_entry_mapping_end523,22711 def parse_flow_mapping_first_key(self):parse_flow_mapping_first_key534,23183 def parse_flow_mapping_key(self, first=False):parse_flow_mapping_key539,23360 def parse_flow_mapping_value(self):parse_flow_mapping_value566,24662 def parse_flow_mapping_empty_value(self):parse_flow_mapping_empty_value580,25273 def process_empty_scalar(self, mark):process_empty_scalar584,25440 src/madpack/yaml/reader.py,1062 __all__ = ['Reader', 'ReaderError']__all__18,744 def utf_16_le_decode(data, errors, finish=False):utf_16_le_decode33,1106 def utf_16_be_decode(data, errors, finish=False):utf_16_be_decode38,1289 def utf_8_decode(data, errors, finish=False):utf_8_decode43,1472 class ReaderError(YAMLError):ReaderError59,2249 def __init__(self, name, position, character, encoding, reason):__init__61,2280 def __str__(self):__str__68,2505 class Reader(object):Reader80,3056 def __init__(self, stream):__init__94,3488 def peek(self, index=0):peek122,4356 def prefix(self, length=1):prefix129,4561 def forward(self, length=1):forward134,4739 def get_mark(self):get_mark149,5261 def determine_encoding(self):determine_encoding157,5553 NON_PRINTABLE = re.compile(u'[^\x09\x0A\x0D\x20-\x7E\x85\xA0-\uD7FF\uE000-\uFFFD]')NON_PRINTABLE172,6176 def check_printable(self, data):check_printable173,6264 def update(self, length):update181,6617 def update_raw(self, size=1024):update_raw212,7843 src/madpack/yaml/representer.py,2925 __all__ = ['BaseRepresenter', 'SafeRepresenter', 'Representer',__all__2,1 class RepresenterError(YAMLError):RepresenterError17,241 class BaseRepresenter(object):BaseRepresenter20,286 yaml_representers = {}yaml_representers22,318 yaml_multi_representers = {}yaml_multi_representers23,345 def __init__(self, default_style=None, default_flow_style=None):__init__25,379 def represent(self, data):represent32,645 def get_classobj_bases(self, cls):get_classobj_bases39,847 def represent_data(self, data):represent_data45,1021 def add_representer(cls, data_type, representer):add_representer79,2570 add_representer = classmethod(add_representer)add_representer83,2796 def add_multi_representer(cls, data_type, representer):add_multi_representer85,2848 add_multi_representer = classmethod(add_multi_representer)add_multi_representer89,3104 def represent_scalar(self, tag, value, style=None):represent_scalar91,3168 def represent_sequence(self, tag, sequence, flow_style=None):represent_sequence99,3460 def represent_mapping(self, tag, mapping, flow_style=None):represent_mapping117,4189 def ignore_aliases(self, data):ignore_aliases141,5221 class SafeRepresenter(BaseRepresenter):SafeRepresenter144,5279 def ignore_aliases(self, data):ignore_aliases146,5320 def represent_none(self, data):represent_none152,5499 def represent_str(self, data):represent_str156,5625 def represent_unicode(self, data):represent_unicode172,6167 def represent_bool(self, data):represent_bool175,6276 def represent_int(self, data):represent_int182,6472 def represent_long(self, data):represent_long185,6586 inf_value = 1e300inf_value188,6701 def represent_float(self, data):represent_float192,6811 def represent_list(self, data):represent_list212,7694 def represent_dict(self, data):represent_dict227,8314 def represent_set(self, data):represent_set230,8421 def represent_date(self, data):represent_date236,8602 def represent_datetime(self, data):represent_datetime240,8757 def represent_yaml_object(self, tag, data, cls, flow_style=None):represent_yaml_object244,8919 def represent_undefined(self, data):represent_undefined251,9200 class Representer(SafeRepresenter):Representer295,10459 def represent_str(self, data):represent_str297,10496 def represent_unicode(self, data):represent_unicode313,11045 def represent_long(self, data):represent_long322,11330 def represent_complex(self, data):represent_complex328,11548 def represent_tuple(self, data):represent_tuple339,11952 def represent_name(self, data):represent_name342,12070 def represent_module(self, data):represent_module346,12248 def represent_instance(self, data):represent_instance350,12397 def represent_object(self, data):represent_object391,14233 src/madpack/yaml/resolver.py,1220 __all__ = ['BaseResolver', 'Resolver']__all__2,1 class ResolverError(YAMLError):ResolverError9,93 class BaseResolver(object):BaseResolver12,135 DEFAULT_SCALAR_TAG = u'tag:yaml.org,2002:str'DEFAULT_SCALAR_TAG14,164 DEFAULT_SEQUENCE_TAG = u'tag:yaml.org,2002:seq'DEFAULT_SEQUENCE_TAG15,214 DEFAULT_MAPPING_TAG = u'tag:yaml.org,2002:map'DEFAULT_MAPPING_TAG16,266 yaml_implicit_resolvers = {}yaml_implicit_resolvers18,318 yaml_path_resolvers = {}yaml_path_resolvers19,351 def __init__(self):__init__21,381 def add_implicit_resolver(cls, tag, regexp, first):add_implicit_resolver25,485 add_implicit_resolver = classmethod(add_implicit_resolver)add_implicit_resolver32,835 def add_path_resolver(cls, tag, path, kind=None):add_path_resolver34,899 add_path_resolver = classmethod(add_path_resolver)add_path_resolver86,3665 def descend_resolver(self, current_node, current_index):descend_resolver88,3721 def ascend_resolver(self):ascend_resolver111,4721 def check_resolver_prefix(self, depth, path, kind,check_resolver_prefix117,4894 def resolve(self, kind, value, implicit):resolve140,5838 class Resolver(BaseResolver):Resolver164,6819 src/madpack/yaml/scanner.py,5169 __all__ = ['Scanner', 'ScannerError']__all__27,449 class ScannerError(MarkedYAMLError):ScannerError32,544 class SimpleKey(object):SimpleKey35,591 def __init__(self, token_number, required, index, line, column, mark):__init__38,656 class Scanner(object):Scanner46,912 def __init__(self):__init__48,936 def check_token(self, *choices):check_token113,3510 def peek_token(self):peek_token125,3908 def get_token(self):get_token132,4139 def need_more_tokens(self):need_more_tokens142,4395 def fetch_more_tokens(self):fetch_more_tokens153,4755 def next_possible_simple_key(self):next_possible_simple_key261,8016 def stale_possible_simple_keys(self):stale_possible_simple_keys276,8732 def save_possible_simple_key(self):save_possible_simple_key292,9590 def remove_possible_simple_key(self):remove_possible_simple_key313,10573 def unwind_indent(self, column):unwind_indent326,11091 def add_indent(self, column):add_indent350,12041 def fetch_stream_start(self):fetch_stream_start360,12301 def fetch_stream_end(self):fetch_stream_end372,12633 def fetch_directive(self):fetch_directive390,13076 def fetch_document_start(self):fetch_document_start402,13388 def fetch_document_end(self):fetch_document_end405,13483 def fetch_document_indicator(self, TokenClass):fetch_document_indicator408,13574 def fetch_flow_sequence_start(self):fetch_flow_sequence_start424,14089 def fetch_flow_mapping_start(self):fetch_flow_mapping_start427,14196 def fetch_flow_collection_start(self, TokenClass):fetch_flow_collection_start430,14301 def fetch_flow_sequence_end(self):fetch_flow_sequence_end447,14814 def fetch_flow_mapping_end(self):fetch_flow_mapping_end450,14915 def fetch_flow_collection_end(self, TokenClass):fetch_flow_collection_end453,15014 def fetch_flow_entry(self):fetch_flow_entry470,15526 def fetch_block_entry(self):fetch_block_entry484,15930 def fetch_key(self):fetch_key517,17029 def fetch_value(self):fetch_value545,18011 def fetch_alias(self):fetch_alias601,20222 def fetch_anchor(self):fetch_anchor612,20495 def fetch_tag(self):fetch_tag623,20776 def fetch_literal(self):fetch_literal634,21031 def fetch_folded(self):fetch_folded637,21104 def fetch_block_scalar(self, style):fetch_block_scalar640,21176 def fetch_single(self):fetch_single651,21497 def fetch_double(self):fetch_double654,21569 def fetch_flow_scalar(self, style):fetch_flow_scalar657,21640 def fetch_plain(self):fetch_plain668,21942 def check_directive(self):check_directive683,22393 def check_document_start(self):check_document_start690,22565 def check_document_end(self):check_document_end698,22820 def check_block_entry(self):check_block_entry706,23073 def check_key(self):check_key711,23211 def check_value(self):check_value721,23452 def check_plain(self):check_plain731,23695 def scan_to_next_token(self):scan_to_next_token752,24503 def scan_directive(self):scan_directive787,26010 def scan_directive_name(self, start_mark):scan_directive_name806,26745 def scan_yaml_directive_value(self, start_mark):scan_yaml_directive_value827,27658 def scan_yaml_directive_number(self, start_mark):scan_yaml_directive_number846,28523 def scan_tag_directive_value(self, start_mark):scan_tag_directive_value860,29052 def scan_tag_directive_handle(self, start_mark):scan_tag_directive_handle870,29426 def scan_tag_directive_prefix(self, start_mark):scan_tag_directive_prefix880,29837 def scan_directive_ignored_line(self, start_mark):scan_directive_ignored_line890,30271 def scan_anchor(self, TokenClass):scan_anchor904,30872 def scan_tag(self):scan_tag940,32366 def scan_block_scalar(self, style):scan_block_scalar982,33931 def scan_block_scalar_indicators(self, start_mark):scan_block_scalar_indicators1058,36670 def scan_block_scalar_ignored_line(self, start_mark):scan_block_scalar_ignored_line1098,38268 def scan_block_scalar_indentation(self):scan_block_scalar_indentation1112,38875 def scan_block_scalar_breaks(self, indent):scan_block_scalar_breaks1127,39415 def scan_flow_scalar(self, style):scan_flow_scalar1140,39921 ESCAPE_REPLACEMENTS = {ESCAPE_REPLACEMENTS1164,40991 ESCAPE_CODES = {ESCAPE_CODES1184,41449 def scan_flow_scalar_non_spaces(self, double, start_mark):scan_flow_scalar_non_spaces1190,41534 def scan_flow_scalar_spaces(self, double, start_mark):scan_flow_scalar_spaces1233,43628 def scan_flow_scalar_breaks(self, double, start_mark):scan_flow_scalar_breaks1257,44521 def scan_plain(self):scan_plain1275,45315 def scan_plain_spaces(self, indent, start_mark):scan_plain_spaces1322,47491 def scan_tag_handle(self, name, start_mark):scan_tag_handle1359,48972 def scan_tag_uri(self, name, start_mark):scan_tag_uri1385,50046 def scan_uri_escapes(self, name, start_mark):scan_uri_escapes1411,51045 def scan_line_break(self):scan_line_break1430,51910 src/madpack/yaml/serializer.py,568 __all__ = ['Serializer', 'SerializerError']__all__2,1 class SerializerError(YAMLError):SerializerError8,116 class Serializer(object):Serializer11,160 ANCHOR_TEMPLATE = u'id%03d'ANCHOR_TEMPLATE13,187 def __init__(self, encoding=None,__init__15,220 def open(self):open27,652 def close(self):close36,969 def serialize(self, node):serialize46,1233 def anchor_node(self, node):anchor_node60,1810 def generate_anchor(self, node):generate_anchor74,2346 def serialize_node(self, node, parent, index):serialize_node78,2475 src/madpack/yaml/tokens.py,2274 class Token(object):Token2,1 def __init__(self, start_mark, end_mark):__init__3,22 def __repr__(self):__repr__6,138 class DirectiveToken(Token):DirectiveToken17,511 id = ''id18,540 def __init__(self, name, value, start_mark, end_mark):__init__19,563 class DocumentStartToken(Token):DocumentStartToken25,745 id = ''id26,778 class DocumentEndToken(Token):DocumentEndToken28,807 id = ''id29,838 class StreamStartToken(Token):StreamStartToken31,865 id = ''id32,896 def __init__(self, start_mark=None, end_mark=None,__init__33,922 class StreamEndToken(Token):StreamEndToken39,1109 id = ''id40,1138 class BlockSequenceStartToken(Token):BlockSequenceStartToken42,1163 id = ''id43,1201 class BlockMappingStartToken(Token):BlockMappingStartToken45,1236 id = ''id46,1273 class BlockEndToken(Token):BlockEndToken48,1307 id = ''id49,1335 class FlowSequenceStartToken(Token):FlowSequenceStartToken51,1359 id = '['id52,1396 class FlowMappingStartToken(Token):FlowMappingStartToken54,1410 id = '{'id55,1446 class FlowSequenceEndToken(Token):FlowSequenceEndToken57,1460 id = ']'id58,1495 class FlowMappingEndToken(Token):FlowMappingEndToken60,1509 id = '}'id61,1543 class KeyToken(Token):KeyToken63,1557 id = '?'id64,1580 class ValueToken(Token):ValueToken66,1594 id = ':'id67,1619 class BlockEntryToken(Token):BlockEntryToken69,1633 id = '-'id70,1663 class FlowEntryToken(Token):FlowEntryToken72,1677 id = ','id73,1706 class AliasToken(Token):AliasToken75,1720 id = ''id76,1745 def __init__(self, value, start_mark, end_mark):__init__77,1764 class AnchorToken(Token):AnchorToken82,1915 id = ''id83,1941 def __init__(self, value, start_mark, end_mark):__init__84,1961 class TagToken(Token):TagToken89,2112 id = ''id90,2135 def __init__(self, value, start_mark, end_mark):__init__91,2152 class ScalarToken(Token):ScalarToken96,2303 id = ''id97,2329 def __init__(self, value, plain, start_mark, end_mark, style=None):__init__98,2349 src/modules/assoc_rules/assoc_rules.cpp,637 namespace madlib {madlib15,342 namespace modules {modules16,361 namespace assoc_rules {assoc_rules17,381 typedef struct perm_fctxperm_fctx20,472 bool* flags;flags22,499 char* positions;positions23,519 int32 pos_len;pos_len24,543 int32 num_elems;num_elems25,565 int32 num_calls;num_calls26,589 int16 typlen;typlen29,660 bool typbyval;typbyval30,681 char typalign;typalign31,704 } perm_fctx;perm_fctx32,727 gen_rules_from_cfp::SRF_init(AnyType &args) {SRF_init48,1151 gen_rules_from_cfp::SRF_next(void *user_fctx, bool *is_last_call) {SRF_next80,2271 src/modules/assoc_rules/assoc_rules.hpp,0 src/modules/convex/algo/igd.hpp,680 #define MADLIB_MODULES_CONVEX_ALGO_IGD_HPP_MADLIB_MODULES_CONVEX_ALGO_IGD_HPP_14,472 namespace madlib {madlib16,517 namespace modules {modules18,537 namespace convex {convex20,558 class IGD {IGD29,902 typedef State state_type;state_type31,922 typedef ConstState const_state_type;const_state_type32,952 typedef typename Task::tuple_type tuple_type;tuple_type33,993 typedef typename Task::model_type model_type;model_type34,1043 IGD::transition(state_type &state,transition43,1342 IGD::merge(state_type &state,merge61,2027 IGD::final(state_type &state) {final89,3266 src/modules/convex/algo/loss.hpp,615 #define MADLIB_MODULES_CONVEX_ALGO_LOSS_HPP_MADLIB_MODULES_CONVEX_ALGO_LOSS_HPP_14,460 namespace madlib {madlib16,506 namespace modules {modules18,526 namespace convex {convex20,547 class Loss {Loss29,891 typedef State state_type;state_type31,912 typedef ConstState const_state_type;const_state_type32,942 typedef typename Task::tuple_type tuple_type;tuple_type33,983 typedef typename Task::model_type model_type;model_type34,1033 Loss::transition(state_type &state,transition42,1290 Loss::merge(state_type &state,merge52,1566 src/modules/convex/algo/newton.hpp,701 #define MADLIB_MODULES_CONVEX_ALGO_NEWTON_HPP_MADLIB_MODULES_CONVEX_ALGO_NEWTON_HPP_14,468 namespace madlib {madlib16,516 namespace modules {modules18,536 namespace convex {convex20,557 class Newton {Newton29,901 typedef State state_type;state_type31,924 typedef ConstState const_state_type;const_state_type32,954 typedef typename Task::tuple_type tuple_type;tuple_type33,995 typedef typename Task::model_type model_type;model_type34,1045 Newton::transition(state_type &state,transition43,1344 Newton::merge(state_type &state,merge60,1816 Newton::final(state_type &state) {final69,2125 src/modules/convex/convex.hpp,0 src/modules/convex/lmf_igd.cpp,582 namespace madlib {madlib22,503 namespace modules {modules24,523 namespace convex {convex26,544 LMF >, LMFTuple > > LMFIGDAlgorithm;LMFIGDAlgorithm30,720 LMF >, LMFTuple > > LMFLossAlgorithm;LMFLossAlgorithm33,892 lmf_igd_transition::run(AnyType &args) {run41,1088 lmf_igd_merge::run(AnyType &args) {run113,3811 lmf_igd_final::run(AnyType &args) {run136,4642 internal_lmf_igd_distance::run(AnyType &args) {run159,5295 internal_lmf_igd_result::run(AnyType &args) {run170,5620 src/modules/convex/lmf_igd.hpp,0 src/modules/convex/task/l2.hpp,439 #define MADLIB_MODULES_CONVEX_TASK_L2_HPP_MADLIB_MODULES_CONVEX_TASK_L2_HPP_8,229 namespace madlib {madlib12,313 namespace modules {modules14,333 namespace convex {convex16,354 class L2 {L222,484 typedef Model model_type;model_type24,503 typedef Hessian hessian_type;hessian_type25,533 L2::gradient(gradient44,1154 L2::hessian(hessian56,1490 L2::loss(loss68,1838 src/modules/convex/task/lmf.hpp,673 #define MADLIB_MODULES_CONVEX_TASK_LMF_HPP_MADLIB_MODULES_CONVEX_TASK_LMF_HPP_11,367 namespace madlib {madlib15,452 namespace modules {modules17,472 namespace convex {convex19,493 class LMF {LMF25,612 typedef Model model_type;model_type27,632 typedef Tuple tuple_type;tuple_type28,662 independent_variables_type;independent_variables_type30,748 typedef typename Tuple::dependent_variable_type dependent_variable_type;dependent_variable_type31,784 LMF::gradient(gradient57,1761 LMF::gradientInPlace(gradientInPlace67,2118 LMF::loss(loss82,2759 LMF::predict(predict99,3558 src/modules/convex/task/ols.hpp,746 #define MADLIB_MODULES_CONVEX_TASK_OLS_HPP_MADLIB_MODULES_CONVEX_TASK_OLS_HPP_8,231 namespace madlib {madlib12,334 namespace modules {modules14,354 namespace convex {convex16,375 class OLS {OLS22,518 typedef Model model_type;model_type24,538 typedef Tuple tuple_type;tuple_type25,568 typedef Hessian hessian_type;hessian_type26,598 independent_variables_type;independent_variables_type28,688 typedef typename Tuple::dependent_variable_type dependent_variable_type;dependent_variable_type29,724 OLS::gradient(gradient56,1753 OLS::hessian(hessian69,2133 OLS::loss(loss80,2481 OLS::predict(predict91,2830 src/modules/convex/type/dependent_variable.hpp,218 #define MADLIB_MODULES_CONVEX_TYPE_DEPENDENT_VARIABLE_HPP_MADLIB_MODULES_CONVEX_TYPE_DEPENDENT_VARIABLE_HPP_12,437 namespace madlib {madlib14,497 namespace modules {modules16,517 namespace convex {convex18,538 src/modules/convex/type/hessian.hpp,230 #define MADLIB_MODULES_CONVEX_TYPE_HESSIAN_HPP_MADLIB_MODULES_CONVEX_TYPE_HESSIAN_HPP_13,493 namespace madlib {madlib17,586 namespace modules {modules19,606 namespace convex {convex21,627 GLMHessian;GLMHessian25,729 src/modules/convex/type/independent_variables.hpp,314 #define MADLIB_MODULES_CONVEX_TYPE_INDEPENDENT_VARIABLES_HPP_MADLIB_MODULES_CONVEX_TYPE_INDEPENDENT_VARIABLES_HPP_12,444 namespace madlib {madlib14,507 namespace modules {modules16,527 namespace convex {convex18,548 struct MatrixIndex {MatrixIndex20,568 uint16_t i;i21,589 uint16_t j;j22,605 src/modules/convex/type/model.hpp,912 #define MADLIB_MODULES_CONVEX_TYPE_MODEL_HPP_MADLIB_MODULES_CONVEX_TYPE_MODEL_HPP_13,504 namespace madlib {madlib17,595 namespace modules {modules19,615 namespace convex {convex21,636 struct LMFModel {LMFModel24,680 typename HandleTraits::MatrixTransparentHandleMap matrixU;matrixU25,698 typename HandleTraits::MatrixTransparentHandleMap matrixV;matrixV26,769 static inline uint32_t arraySize(const uint16_t inRowDim, arraySize35,1077 void initialize(const double &inScaleFactor) {initialize43,1356 LMFModel &operator*=(const double &c) {operator *=64,2089 LMFModel &operator-=(const LMFModel &inOtherModel) {operator -=72,2239 LMFModel &operator+=(const LMFModel &inOtherModel) {operator +=80,2453 LMFModel &operator=(const LMFModel &inOtherModel) {operator =88,2667 GLMModel;GLMModel98,3002 src/modules/convex/type/state.hpp,7207 #define MADLIB_MODULES_CONVEX_TYPE_STATE_HPP_MADLIB_MODULES_CONVEX_TYPE_STATE_HPP_10,299 namespace madlib {madlib15,407 namespace modules {modules17,427 namespace convex {convex19,448 class LMFIGDState {LMFIGDState39,1181 LMFIGDState(const AnyType &inArray) : mStorage(inArray.getAs()) {LMFIGDState44,1273 inline operator AnyType() const {operator AnyType54,1553 inline void allocate(const Allocator &inAllocator, uint16_t inRowDim,allocate61,1696 LMFIGDState &operator=(const LMFIGDState &inOtherState) {operator =83,2540 inline void reset() {reset94,2826 inline void computeRMSE() {computeRMSE107,3222 static inline uint32_t arraySize(const uint16_t inRowDim, arraySize111,3334 void rebind() {rebind136,4535 Handle mStorage;mStorage157,5508 struct TaskState {TaskState160,5538 typename HandleTraits::ReferenceToUInt16 rowDim;rowDim161,5561 typename HandleTraits::ReferenceToUInt16 colDim;colDim162,5626 typename HandleTraits::ReferenceToUInt16 maxRank;maxRank163,5691 typename HandleTraits::ReferenceToDouble stepsize;stepsize164,5757 typename HandleTraits::ReferenceToDouble scaleFactor;scaleFactor165,5824 LMFModel model;model166,5894 typename HandleTraits::ReferenceToDouble RMSE;RMSE167,5926 } task;task168,5989 struct AlgoState {AlgoState170,6002 typename HandleTraits::ReferenceToUInt64 numRows;numRows171,6025 typename HandleTraits::ReferenceToDouble loss;loss172,6091 LMFModel incrModel;incrModel173,6154 } algo;algo174,6190 class GLMIGDState {GLMIGDState194,6909 GLMIGDState(const AnyType &inArray) : mStorage(inArray.getAs()) {GLMIGDState199,7001 inline operator AnyType() const {operator AnyType209,7281 inline void allocate(const Allocator &inAllocator, uint32_t inDimension) {allocate216,7424 GLMIGDState &operator=(const GLMIGDState &inOtherState) {operator =230,7885 inline void reset() {reset241,8171 static inline uint32_t arraySize(const uint32_t inDimension) {arraySize247,8291 void rebind() {rebind266,9026 Handle mStorage;mStorage276,9395 struct TaskState {TaskState279,9425 typename HandleTraits::ReferenceToUInt32 dimension;dimension280,9448 typename HandleTraits::ReferenceToDouble stepsize;stepsize281,9516 typename HandleTraits::ColumnVectorTransparentHandleMap model;model282,9583 } task;task283,9662 struct AlgoState {AlgoState285,9675 typename HandleTraits::ReferenceToUInt64 numRows;numRows286,9698 typename HandleTraits::ReferenceToDouble loss;loss287,9764 incrModel;incrModel289,9899 } algo;algo290,9922 class RegularizedGLMIGDState {RegularizedGLMIGDState294,9962 RegularizedGLMIGDState(const AnyType &inArray) : mStorage(inArray.getAs()) {RegularizedGLMIGDState299,10076 inline operator AnyType() const {operator AnyType309,10367 inline void allocate(const Allocator &inAllocator, uint32_t inDimension) {allocate316,10510 RegularizedGLMIGDState &operator=(const RegularizedGLMIGDState &inOtherState) {operator =330,10971 inline void reset() {reset341,11279 static inline uint32_t arraySize(const uint32_t inDimension) {arraySize347,11399 void rebind() {rebind369,12309 Handle mStorage;mStorage382,12846 struct TaskState {TaskState385,12876 typename HandleTraits::ReferenceToUInt32 dimension;dimension386,12899 typename HandleTraits::ReferenceToDouble stepsize;stepsize387,12967 typename HandleTraits::ReferenceToDouble lambda;lambda388,13034 typename HandleTraits::ReferenceToUInt64 totalRows;totalRows389,13099 typename HandleTraits::ColumnVectorTransparentHandleMap model;model390,13167 } task;task391,13246 struct AlgoState {AlgoState393,13259 typename HandleTraits::ReferenceToUInt64 numRows;numRows394,13282 typename HandleTraits::ReferenceToDouble loss;loss395,13348 incrModel;incrModel397,13483 gradient;gradient399,13578 } algo;algo400,13600 class GLMCGState {GLMCGState420,14309 GLMCGState(const AnyType &inArray) : mStorage(inArray.getAs()) {GLMCGState425,14399 inline operator AnyType() const {operator AnyType435,14678 inline void allocate(const Allocator &inAllocator, uint32_t inDimension) {allocate442,14821 GLMCGState &operator=(const GLMCGState &inOtherState) {operator =456,15282 inline void reset() {reset467,15566 static inline uint32_t arraySize(const uint32_t inDimension) {arraySize473,15713 void rebind() {rebind495,16634 Handle mStorage;mStorage509,17238 TransparentColumnVector;TransparentColumnVector513,17344 struct TaskState {TaskState515,17378 typename HandleTraits::ReferenceToUInt32 dimension;dimension516,17401 typename HandleTraits::ReferenceToUInt32 iteration;iteration517,17469 typename HandleTraits::ReferenceToDouble stepsize;stepsize518,17537 TransparentColumnVector model;model519,17604 TransparentColumnVector direction;direction520,17643 TransparentColumnVector gradient;gradient521,17686 } task;task522,17728 struct AlgoState {AlgoState524,17741 typename HandleTraits::ReferenceToUInt64 numRows;numRows525,17764 typename HandleTraits::ReferenceToDouble loss;loss526,17830 TransparentColumnVector incrGradient;incrGradient527,17893 } algo;algo528,17939 class GLMNewtonState {GLMNewtonState549,18736 GLMNewtonState(const AnyType &inArray) : mStorage(inArray.getAs()) {GLMNewtonState554,18834 inline operator AnyType() const {operator AnyType564,19117 inline void allocate(const Allocator &inAllocator, uint16_t inDimension) {allocate571,19260 GLMNewtonState &operator=(const GLMNewtonState &inOtherState) {operator =585,19721 inline void reset() {reset596,20013 static inline uint32_t arraySize(const uint16_t inDimension) {arraySize603,20225 void rebind() {rebind622,20977 Handle mStorage;mStorage633,21413 struct TaskState {TaskState636,21443 typename HandleTraits::ReferenceToUInt16 dimension;dimension637,21466 typename HandleTraits::ColumnVectorTransparentHandleMap model;model638,21534 } task;task639,21613 struct AlgoState {AlgoState641,21626 typename HandleTraits::ReferenceToUInt64 numRows;numRows642,21649 typename HandleTraits::ReferenceToDouble loss;loss643,21715 typename HandleTraits::ColumnVectorTransparentHandleMap gradient;gradient644,21778 typename HandleTraits::MatrixTransparentHandleMap hessian;hessian645,21860 } algo;algo646,21935 src/modules/convex/type/tuple.hpp,920 #define MADLIB_MODULES_CONVEX_TYPE_TUPLE_HPP_MADLIB_MODULES_CONVEX_TYPE_TUPLE_HPP_11,337 namespace madlib {madlib18,496 namespace modules {modules20,516 namespace convex {convex22,537 struct ExampleTuple {ExampleTuple25,620 typedef IndependentVariables independent_variables_type;independent_variables_type26,642 typedef DependentVariable dependent_variable_type;dependent_variable_type27,703 int id;id31,854 independent_variables_type indVar;indVar32,866 dependent_variable_type depVar;depVar33,905 ExampleTuple() { id = 0; }ExampleTuple35,942 ExampleTuple(const ExampleTuple &rhs) {ExampleTuple36,973 ExampleTuple& operator=(const ExampleTuple &rhs) {operator =41,1102 ~ExampleTuple() { }~ExampleTuple49,1314 typedef ExampleTuple GLMTuple;GLMTuple54,1470 typedef ExampleTuple LMFTuple;LMFTuple57,1570 src/modules/convex/utils_regularization.cpp,1351 namespace madlib {madlib10,191 namespace modules {modules11,210 namespace convex {convex12,230 typedef HandleTraits >::ColumnVectorTransparentHandleMap CVector;CVector16,300 class ScalesStateScalesState19,418 ScalesState (const AnyType& inArray):ScalesState24,508 inline operator AnyType () constoperator AnyType30,623 inline void allocate (const Allocator& inAllocator,allocate35,698 ScalesState& operator= (const ScalesState& inOtherState)operator =49,1261 static inline uint32_t arraySize (const uint32_t inDimension)arraySize56,1475 void rebind ()rebind62,1603 Handle mStorage;mStorage70,1816 typename HandleTraits::ReferenceToUInt32 dimension;dimension73,1848 typename HandleTraits::ReferenceToUInt64 numRows;numRows74,1912 typename HandleTraits::ColumnVectorTransparentHandleMap mean;mean75,1974 typename HandleTraits::ColumnVectorTransparentHandleMap std;std76,2048 AnyType utils_var_scales_transition::run (AnyType& args)run81,2202 AnyType utils_var_scales_merge::run (AnyType& args)run111,2902 AnyType utils_var_scales_final::run (AnyType& args)run130,3393 AnyType __utils_var_scales_result::run (AnyType& args)run146,3844 AnyType utils_normalize_data::run (AnyType& args)run157,4112 src/modules/convex/utils_regularization.hpp,0 src/modules/crf/linear_crf.cpp,9328 namespace madlib {madlib15,410 namespace modules {modules20,485 namespace crf {crf25,587 class LinCrfLBFGSTransitionState {LinCrfLBFGSTransitionState46,1373 LinCrfLBFGSTransitionState(const AnyType &inArray)LinCrfLBFGSTransitionState51,1495 inline operator AnyType() const {operator AnyType63,1833 inline void initialize(const Allocator &inAllocator, uint32_t inWidthOfX,initialize72,2023 LinCrfLBFGSTransitionState &operator=(operator =87,2558 LinCrfLBFGSTransitionState &operator+=(operator +=100,2947 inline void reset() {reset114,3469 static const int m=7;// The number of corrections used in the LBFGS update.m120,3572 static inline uint32_t arraySize(const uint32_t num_features) {arraySize123,3662 void rebind(uint32_t inWidthOfFeature) {rebind127,3802 Handle mStorage;mStorage145,4836 typename HandleTraits::ReferenceToUInt32 iteration;iteration148,4866 typename HandleTraits::ReferenceToUInt32 num_features;num_features149,4930 typename HandleTraits::ReferenceToUInt32 num_labels;num_labels150,4997 typename HandleTraits::ColumnVectorTransparentHandleMap coef;coef151,5062 typename HandleTraits::ColumnVectorTransparentHandleMap diag;diag152,5136 typename HandleTraits::ColumnVectorTransparentHandleMap grad;grad153,5210 typename HandleTraits::ColumnVectorTransparentHandleMap ws;ws154,5284 typename HandleTraits::ReferenceToUInt64 numRows;numRows156,5357 typename HandleTraits::ReferenceToDouble loglikelihood;loglikelihood157,5419 typename HandleTraits::ColumnVectorTransparentHandleMap lbfgs_state;lbfgs_state159,5488 typename HandleTraits::ColumnVectorTransparentHandleMap mcsrch_state;mcsrch_state160,5569 class LBFGS {LBFGS168,5919 double stp1, ftol, stp, sq, yr, beta;stp1171,5973 double stp1, ftol, stp, sq, yr, beta;ftol171,5973 double stp1, ftol, stp, sq, yr, beta;stp171,5973 double stp1, ftol, stp, sq, yr, beta;sq171,5973 double stp1, ftol, stp, sq, yr, beta;yr171,5973 double stp1, ftol, stp, sq, yr, beta;beta171,5973 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;iflag179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;iter179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;nfun179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;point179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;ispt179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;iypt179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;maxfev179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;info179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;bound179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;npt179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;cp179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;nfev179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;inmc179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;iycn179,6390 int iflag, iter, nfun, point, ispt, iypt, maxfev, info, bound, npt, cp, nfev, inmc, iycn, iscn;iscn179,6390 int infoc;infoc181,6525 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;dg182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;dgm182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;dginit182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;dgtest182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;dgx182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;dgxm182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;dgy182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;dgym182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;finit182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;ftest1182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;fm182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;fx182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;fxm182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;fy182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;fym182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;p5182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;p66182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;stx182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;sty182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;stmin182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;stmax182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;width182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;width1182,6540 double dg, dgm, dginit, dgtest, dgx, dgxm, dgy, dgym, finit, ftest1, fm, fx, fxm, fy, fym, p5, p66, stx, sty, stmin, stmax, width, width1, xtrapf;xtrapf182,6540 bool brackt, stage1, finish;brackt183,6691 bool brackt, stage1, finish;stage1183,6691 bool brackt, stage1, finish;finish183,6691 ColumnVector w;//w185,6725 ColumnVector x;// solution vectorx186,6747 ColumnVector diag;diag187,6785 LBFGS::LBFGS(LinCrfLBFGSTransitionState >& state) {LBFGS199,7407 void LBFGS::save_state(LinCrfLBFGSTransitionState > &state) {save_state256,9550 void LBFGS::mcstep(double& stx, double& fx, double& dx,mcstep309,11344 void LBFGS::mcsrch(int n, Eigen::VectorXd& x, double f, Eigen::VectorXd& g,mcsrch435,15100 void LBFGS::lbfgs(int n, int m, double f, Eigen::VectorXd g, double eps,lbfgs571,18767 void compute_exp_Mi(int num_labels, Eigen::MatrixXd &Mi, Eigen::VectorXd &Vi) {compute_exp_Mi669,21750 Eigen::VectorXd mult(Eigen::MatrixXd Mi, Eigen::VectorXd Vi, bool trans,mult679,22048 void compute_logli_gradient(LinCrfLBFGSTransitionState >& state,compute_logli_gradient704,22583 lincrf_lbfgs_step_transition::run(AnyType &args) {run838,27509 lincrf_lbfgs_step_merge_states::run(AnyType &args) {run860,28407 lincrf_lbfgs_step_final::run(AnyType &args) {run880,29020 internal_lincrf_lbfgs_converge::run(AnyType &args) {run934,31113 internal_lincrf_lbfgs_result::run(AnyType &args) {run943,31361 AnyType stateToResult(stateToResult951,31611 src/modules/crf/linear_crf.hpp,0 src/modules/declarations.hpp,0 src/modules/elastic_net/elastic_net.hpp,0 src/modules/elastic_net/elastic_net_binomial_fista.cpp,1545 namespace madlib {madlib8,187 namespace modules {modules9,206 namespace elastic_net {elastic_net10,226 class BinomialFistaBinomialFista15,334 inline void BinomialFista::update_y_intercept_final (FistaState >& state)update_y_intercept_final39,1533 inline void BinomialFista::merge_intercept (FistaState >& state1,merge_intercept46,1791 inline void BinomialFista::initialize (FistaState >& state, AnyType& args)initialize54,2112 inline void BinomialFista::get_y (double& y, AnyType& args)get_y65,2457 inline void BinomialFista::normal_transition (FistaState >& state,normal_transition72,2641 inline void BinomialFista::active_transition (FistaState >& state,active_transition97,3382 inline void BinomialFista::backtracking_transition (FistaState >& state,backtracking_transition123,4208 inline void BinomialFista::update_b_intercept (FistaState >& state)update_b_intercept147,5029 inline void BinomialFista::update_y_intercept (FistaState >& state,update_y_intercept154,5293 AnyType binomial_fista_transition::run (AnyType& args)run174,5963 AnyType binomial_fista_merge::run (AnyType& args)run183,6211 AnyType binomial_fista_final::run (AnyType& args)run192,6441 AnyType __binomial_fista_state_diff::run (AnyType& args)run202,6692 AnyType __binomial_fista_result::run (AnyType& args)run212,6969 src/modules/elastic_net/elastic_net_binomial_fista.hpp,0 src/modules/elastic_net/elastic_net_binomial_igd.cpp,1055 namespace madlib {madlib9,199 namespace modules {modules10,218 namespace elastic_net {elastic_net11,238 class BinomialIgdBinomialIgd16,344 inline void BinomialIgd::init_intercept (IgdState >& state)init_intercept34,1184 inline void BinomialIgd::get_y (double& y, AnyType& args)get_y41,1417 inline void BinomialIgd::compute_gradient (ColumnVector& gradient,compute_gradient48,1599 inline void BinomialIgd::update_intercept (IgdState >& state,update_intercept66,2173 inline void BinomialIgd::merge_intercept (IgdState >& state1,merge_intercept83,2658 inline void BinomialIgd::update_intercept_final (IgdState >& state)update_intercept_final96,3283 binomial_igd_transition::run (AnyType& args)run120,4002 binomial_igd_merge::run (AnyType& args)run131,4283 binomial_igd_final::run (AnyType& args)run142,4500 __binomial_igd_state_diff::run (AnyType& args)run153,4743 __binomial_igd_result::run (AnyType& args)run164,5012 src/modules/elastic_net/elastic_net_binomial_igd.hpp,0 src/modules/elastic_net/elastic_net_gaussian_fista.cpp,1544 namespace madlib {madlib8,187 namespace modules {modules9,206 namespace elastic_net {elastic_net10,226 class GaussianFistaGaussianFista15,334 inline void GaussianFista::update_y_intercept_final (FistaState >& state)update_y_intercept_final44,1608 inline void GaussianFista::merge_intercept (FistaState >& state1,merge_intercept51,1866 inline void GaussianFista::get_y (double& y, AnyType& args)get_y59,2226 inline void GaussianFista::update_b_intercept (FistaState >& state)update_b_intercept66,2401 inline void GaussianFista::update_y_intercept (FistaState >& state,update_y_intercept73,2665 inline void GaussianFista::initialize (FistaState >& state, AnyType& args)initialize82,3076 inline void GaussianFista::backtracking_transition (FistaState >& state,backtracking_transition93,3408 inline void GaussianFista::normal_transition (FistaState >& state,normal_transition112,4098 inline void GaussianFista::active_transition (FistaState >& state,active_transition133,4744 AnyType gaussian_fista_transition::run (AnyType& args)run160,5662 AnyType gaussian_fista_merge::run (AnyType& args)run169,5910 AnyType gaussian_fista_final::run (AnyType& args)run178,6140 AnyType __gaussian_fista_state_diff::run (AnyType& args)run188,6391 AnyType __gaussian_fista_result::run (AnyType& args)run198,6668 src/modules/elastic_net/elastic_net_gaussian_fista.hpp,0 src/modules/elastic_net/elastic_net_gaussian_igd.cpp,1055 namespace madlib {madlib9,199 namespace modules {modules10,218 namespace elastic_net {elastic_net11,238 class GaussianIgdGaussianIgd16,344 inline void GaussianIgd::get_y (double& y, AnyType& args)get_y34,1223 inline void GaussianIgd::init_intercept (IgdState >& state)init_intercept41,1396 inline void GaussianIgd::compute_gradient (ColumnVector& gradient,compute_gradient48,1631 inline void GaussianIgd::update_intercept (IgdState >& state,update_intercept61,2137 inline void GaussianIgd::merge_intercept (IgdState >& state1,merge_intercept75,2581 inline void GaussianIgd::update_intercept_final (IgdState >& state)update_intercept_final86,2951 gaussian_igd_transition::run (AnyType& args)run108,3631 gaussian_igd_merge::run (AnyType& args)run119,3912 gaussian_igd_final::run (AnyType& args)run130,4129 __gaussian_igd_state_diff::run (AnyType& args)run141,4372 __gaussian_igd_result::run (AnyType& args)run152,4641 src/modules/elastic_net/elastic_net_gaussian_igd.hpp,0 src/modules/elastic_net/elastic_net_optimizer_fista.hpp,635 namespace madlib {madlib14,236 namespace modules {modules15,255 namespace elastic_net {elastic_net16,275 class FistaFista19,323 inline void Fista::proxy (CVector& y, CVector& gradient_y, CVector& x,proxy39,943 AnyType Fista::fista_transition (AnyType& args, const Allocator& inAllocator)fista_transition62,1543 AnyType Fista::fista_merge (AnyType& args)fista_merge161,4535 AnyType Fista::fista_final (AnyType& args)fista_final203,5628 AnyType Fista::fista_state_diff (AnyType& args)fista_state_diff325,10462 AnyType Fista::fista_result (AnyType& args)fista_result360,11463 src/modules/elastic_net/elastic_net_optimizer_igd.hpp,726 namespace madlib {madlib7,118 namespace modules {modules8,137 namespace elastic_net {elastic_net9,157 class IgdIgd12,205 AnyType Igd::igd_transition (AnyType& args, const Allocator& inAllocator)igd_transition38,966 AnyType Igd::igd_merge (AnyType& args)igd_merge130,3926 AnyType Igd::igd_final (AnyType& args)igd_final165,5092 AnyType Igd::igd_state_diff (AnyType& args)igd_state_diff188,5767 AnyType Igd::igd_result (AnyType& args)igd_result219,6612 inline double Igd::p_abs (CVector& v, double r)p_abs249,7595 inline void Igd::link_fn (CVector& theta, CVector& w, double p)link_fn263,8004 inline double Igd::sign (const double & x)sign286,8690 src/modules/elastic_net/elastic_net_utils.cpp,397 namespace madlib {madlib7,151 namespace modules {modules8,170 namespace elastic_net {elastic_net9,190 AnyType __elastic_net_gaussian_predict::run (AnyType& args)run16,320 AnyType __elastic_net_binomial_predict::run (AnyType& args)run31,787 AnyType __elastic_net_binomial_prob::run (AnyType& args)run47,1234 AnyType __elastic_net_binomial_loglikelihood::run (AnyType& args)run62,1721 src/modules/elastic_net/elastic_net_utils.hpp,0 src/modules/elastic_net/share/shared_utils.hpp,690 #define ELASTIC_NET_SHARED_UTILS_ELASTIC_NET_SHARED_UTILS_9,138 namespace madlib {madlib11,173 namespace modules {modules12,192 namespace elastic_net {elastic_net13,212 typedef HandleTraits >::ColumnVectorTransparentHandleMap CVector;CVector17,287 inline double sparse_dot (CVector& coef, MappedColumnVector& x)sparse_dot24,433 inline double sparse_dot (CVector& coef, CVector& x)sparse_dot34,703 inline double sparse_dot (ColumnVector& coef, CVector& x)sparse_dot44,962 inline double sparse_dot (ColumnVector& coef, ColumnVector& x)sparse_dot54,1226 inline double sparse_dot (MappedColumnVector& coef, MappedColumnVector& x)sparse_dot64,1495 src/modules/elastic_net/state/fista.hpp,3090 #define MADLIB_MODULES_ELASIC_NET_STATE_FISTA_MADLIB_MODULES_ELASIC_NET_STATE_FISTA_10,161 namespace madlib {madlib16,328 namespace modules {modules17,347 namespace elastic_net {elastic_net18,367 class FistaStateFistaState23,466 FistaState (const AnyType& inArray):FistaState28,558 inline operator AnyType () constoperator AnyType40,839 inline void allocate (const Allocator& inAllocator,allocate48,979 FistaState& operator= (const FistaState& inOtherState)operator =65,1619 static inline uint32_t arraySize (const uint32_t inDimension)arraySize75,1891 void rebind ()rebind81,2020 Handle mStorage;mStorage112,3477 typename HandleTraits::ReferenceToUInt32 dimension;dimension115,3509 typename HandleTraits::ReferenceToDouble lambda;lambda116,3573 typename HandleTraits::ReferenceToDouble alpha;alpha117,3634 typename HandleTraits::ReferenceToDouble stepsize;stepsize118,3694 typename HandleTraits::ReferenceToUInt64 totalRows;totalRows119,3757 typename HandleTraits::ReferenceToDouble intercept;intercept120,3821 typename HandleTraits::ReferenceToDouble intercept_y;intercept_y121,3885 typename HandleTraits::ColumnVectorTransparentHandleMap coef;coef122,3951 typename HandleTraits::ColumnVectorTransparentHandleMap coef_y;coef_y123,4025 typename HandleTraits::ReferenceToDouble tk;tk126,4242 typename HandleTraits::ReferenceToUInt64 numRows;numRows127,4299 typename HandleTraits::ColumnVectorTransparentHandleMap gradient;gradient128,4361 typename HandleTraits::ReferenceToUInt32 backtracking; // is backtracking now?backtracking129,4439 typename HandleTraits::ReferenceToDouble max_stepsize;max_stepsize130,4530 typename HandleTraits::ReferenceToDouble eta;eta131,4597 typename HandleTraits::ColumnVectorTransparentHandleMap b_coef; // backtracking coefb_coef132,4655 typename HandleTraits::ReferenceToDouble b_intercept; // backtracking interceptb_intercept133,4752 typename HandleTraits::ReferenceToDouble fn; // store the function value in backtrackingfn134,4844 typename HandleTraits::ReferenceToDouble Qfn; // the Q function value in backtrackingQfn135,4945 typename HandleTraits::ReferenceToUInt32 use_active_set; // whether to use active set methoduse_active_set136,5043 typename HandleTraits::ReferenceToUInt32 iter; // how many effective iteration runiter137,5148 typename HandleTraits::ReferenceToDouble stepsize_sum; // sum of step size so farstepsize_sum138,5243 typename HandleTraits::ReferenceToUInt32 is_active; // is using active-set now?is_active139,5337 typename HandleTraits::ReferenceToDouble gradient_intercept; // gradient element for interceptgradient_intercept140,5429 typename HandleTraits::ReferenceToUInt32 random_stepsize;random_stepsize141,5536 src/modules/elastic_net/state/igd.hpp,2154 #define MADLIB_MODULES_ELASIC_NET_STATE_IGD_MADLIB_MODULES_ELASIC_NET_STATE_IGD_9,153 namespace madlib {madlib14,282 namespace modules {modules15,301 namespace elastic_net {elastic_net16,321 class IgdStateIgdState21,420 IgdState (const AnyType& inArray):IgdState26,504 inline operator AnyType() const {operator AnyType38,793 inline void allocate(const Allocator& inAllocator, uint32_t inDimension)allocate45,936 IgdState &operator= (const IgdState& inOtherState)operator =62,1544 static inline uint32_t arraySize (const uint32_t inDimension)arraySize72,1813 void rebind ()rebind78,1942 Handle mStorage;mStorage98,2667 typename HandleTraits::ReferenceToUInt32 dimension;dimension101,2699 typename HandleTraits::ReferenceToDouble stepsize;stepsize102,2763 typename HandleTraits::ReferenceToDouble lambda; // regularization controllambda103,2826 typename HandleTraits::ReferenceToDouble alpha; // elastic net controlalpha104,2913 typename HandleTraits::ReferenceToUInt64 totalRows;totalRows105,2996 typename HandleTraits::ReferenceToDouble intercept;intercept106,3060 typename HandleTraits::ReferenceToDouble ymean;ymean107,3124 typename HandleTraits::ColumnVectorTransparentHandleMap xmean;xmean108,3184 typename HandleTraits::ColumnVectorTransparentHandleMap coef;coef109,3259 typename HandleTraits::ReferenceToUInt64 numRows;numRows110,3333 typename HandleTraits::ReferenceToDouble loss;loss111,3395 typename HandleTraits::ReferenceToDouble p; // used for mirror truncationp112,3454 typename HandleTraits::ReferenceToDouble q; // used for mirror truncationq113,3540 typename HandleTraits::ColumnVectorTransparentHandleMap theta; // used for mirror truncationtheta114,3626 typename HandleTraits::ReferenceToDouble threshold; // used for remove tiny valuesthreshold115,3731 typename HandleTraits::ReferenceToDouble step_decay; // decay of step sizestep_decay116,3826 src/modules/lda/lda.cpp,1544 namespace madlib {madlib19,423 namespace modules {modules20,442 namespace lda {lda21,462 typedef struct __type_info{__type_info27,671 Oid oid;oid28,699 int16_t len;len29,712 bool byval;byval30,729 char align;align31,748 __type_info(Oid oid):oid(oid)__type_info33,768 } type_info;type_info37,878 static int32_t __lda_gibbs_sample(__lda_gibbs_sample62,2072 static int32_t __min(__min117,3837 static int32_t __min(ArrayHandle ah){__min122,4013 static int32_t __max(__max131,4263 static int32_t __max(ArrayHandle ah){__max136,4439 static int32_t __sum(ArrayHandle ah){__sum145,4677 AnyType lda_gibbs_sample::run(AnyType & args)run172,5919 AnyType lda_random_assign::run(AnyType & args)run280,10295 AnyType lda_count_topic_sfunc::run(AnyType & args)run316,11556 AnyType lda_count_topic_prefunc::run(AnyType & args)run385,14176 AnyType lda_transpose::run(AnyType & args)run404,14756 typedef struct __sr_ctx{__sr_ctx434,15634 const int32_t * inarray;inarray435,15659 int32_t maxcall;maxcall436,15688 int32_t dim;dim437,15709 int32_t curcall;curcall438,15726 } sr_ctx;sr_ctx439,15747 void * lda_unnest::SRF_init(AnyType &args) SRF_init445,15888 AnyType lda_unnest::SRF_next(void *user_fctx, bool *is_last_call)SRF_next463,16357 AnyType lda_perplexity_sfunc::run(AnyType & args){run503,17655 AnyType lda_perplexity_prefunc::run(AnyType & args){run596,21068 AnyType lda_perplexity_ffunc::run(AnyType & args){run611,21676 src/modules/lda/lda.hpp,0 src/modules/linalg/average.cpp,1082 namespace madlib {madlib14,342 namespace modules {modules19,417 namespace linalg {linalg21,438 class AvgVectorState {AvgVectorState31,730 AvgVectorState(const AnyType &inArray)AvgVectorState36,828 inline operator AnyType() const {operator AnyType42,977 inline void initialize(const Allocator &inAllocator,initialize46,1047 AvgVectorState &operator+=(operator +=56,1408 static inline size_t arraySize(uint32_t inNumDimensions) {arraySize70,1856 void rebind(uint32_t inNumDimensions) {rebind85,2447 Handle mStorage;mStorage93,2782 typename HandleTraits::ReferenceToUInt64 numRows;numRows96,2812 typename HandleTraits::ReferenceToUInt32 numDimensions;numDimensions97,2874 sumOfVectors;sumOfVectors99,3010 avg_vector_transition::run(AnyType& args) {run104,3045 avg_vector_merge::run(AnyType& args) {run122,3651 avg_vector_final::run(AnyType& args) {run138,4133 normalized_avg_vector_transition::run(AnyType& args) {run149,4438 normalized_avg_vector_final::run(AnyType& args) {run167,5068 src/modules/linalg/average.hpp,0 src/modules/linalg/linalg.hpp,0 src/modules/linalg/matrix_agg.cpp,1001 namespace madlib {madlib15,388 namespace modules {modules20,463 namespace linalg {linalg22,484 class MatrixAggState {MatrixAggState32,765 MatrixAggState(const AnyType &inArray)MatrixAggState37,863 operator AnyType() const {operator AnyType44,1060 void initialize(uint64_t inNumRows) {initialize48,1123 newColumn(const Allocator& inAllocator) {newColumn54,1301 static inline size_t arraySize(uint64_t inNumRows, uint64_t inNumCols) {arraySize80,2235 void rebind(uint64_t inNumRows, uint64_t inNumCols) {rebind96,2833 Handle mStorage;mStorage107,3245 typename HandleTraits::ReferenceToUInt64 numRows;numRows110,3275 typename HandleTraits::ReferenceToUInt64 numCols;numCols111,3337 typename HandleTraits::MatrixTransparentHandleMap matrix;matrix112,3399 matrix_agg_transition::run(AnyType& args) {run117,3482 matrix_agg_final::run(AnyType& args) {run134,4082 matrix_column::run(AnyType& args) {run142,4283 src/modules/linalg/matrix_agg.hpp,0 src/modules/linalg/metric.cpp,1009 namespace madlib {madlib14,301 namespace modules {modules16,321 namespace linalg {linalg18,342 struct ReverseLexicographicComparator {ReverseLexicographicComparator23,402 bool operator()(const TupleType& inTuple1, const TupleType& inTuple2) {operator ()27,530 closestColumnsAndDistances(closestColumnsAndDistances58,1878 distNorm1(distNorm190,3031 distNorm2(distNorm298,3161 squaredDistNorm2(squaredDistNorm2106,3286 distAngle(distAngle114,3425 distTanimoto(distTanimoto134,3980 closestColumnsAndDistancesShortcut(closestColumnsAndDistancesShortcut155,4650 closest_column::run(AnyType& args) {run192,6096 closest_columns::run(AnyType& args) {run216,6938 norm1::run(AnyType& args) {run240,7873 norm2::run(AnyType& args) {run245,7993 dist_norm1::run(AnyType& args) {run250,8108 dist_norm2::run(AnyType& args) {run258,8270 squared_dist_norm2::run(AnyType& args) {run269,8601 dist_angle::run(AnyType& args) {run277,8778 dist_tanimoto::run(AnyType& args) {run285,8940 src/modules/linalg/metric.hpp,186 #define MADLIB_MODULES_LINALG_LINALG_HPPMADLIB_MODULES_LINALG_LINALG_HPP55,1142 namespace madlib {madlib57,1184 namespace modules {modules59,1204 namespace linalg {linalg61,1225 src/modules/prob/boost.cpp,1001 namespace madlib {madlib13,331 namespace modules {modules15,351 namespace prob {prob17,372 #define DEFINE_PROBABILITY_FUNCTION_1(DEFINE_PROBABILITY_FUNCTION_119,390 #define DEFINE_PROBABILITY_FUNCTION_2(DEFINE_PROBABILITY_FUNCTION_230,751 #define DEFINE_PROBABILITY_FUNCTION_3(DEFINE_PROBABILITY_FUNCTION_343,1179 #define DEFINE_PROBABILITY_DISTR_1(DEFINE_PROBABILITY_DISTR_157,1668 #define DEFINE_PROBABILITY_DISTR_2(DEFINE_PROBABILITY_DISTR_262,1967 #define DEFINE_PROBABILITY_DISTR_3(DEFINE_PROBABILITY_DISTR_371,2342 #define DEFINE_CONTINUOUS_PROB_DISTR_1(DEFINE_CONTINUOUS_PROB_DISTR_180,2757 #define DEFINE_CONTINUOUS_PROB_DISTR_2(DEFINE_CONTINUOUS_PROB_DISTR_283,2875 #define DEFINE_CONTINUOUS_PROB_DISTR_3(DEFINE_CONTINUOUS_PROB_DISTR_386,3013 #define DEFINE_DISCRETE_PROB_DISTR_1(DEFINE_DISCRETE_PROB_DISTR_189,3171 #define DEFINE_DISCRETE_PROB_DISTR_2(DEFINE_DISCRETE_PROB_DISTR_292,3295 #define DEFINE_DISCRETE_PROB_DISTR_3(DEFINE_DISCRETE_PROB_DISTR_395,3439 src/modules/prob/boost.hpp,12323 #define LIST_CONTINUOUS_PROB_DISTR LIST_CONTINUOUS_PROB_DISTR7,188 #define LIST_DISCRETE_PROB_DISTR LIST_DISCRETE_PROB_DISTR36,1130 #define MADLIB_ITEM(MADLIB_ITEM45,1349 #undef MADLIB_ITEMMADLIB_ITEM52,1523 #define MADLIB_ITEM(MADLIB_ITEM54,1543 #undef MADLIB_ITEMMADLIB_ITEM61,1715 #define MADLIB_MODULES_PROB_BOOST_HPPMADLIB_MODULES_PROB_BOOST_HPP65,1774 namespace madlib {madlib69,1854 namespace modules {modules71,1874 namespace prob {prob73,1895 enum ProbFnOverride {ProbFnOverride78,1988 kResultIsReady = 0,kResultIsReady79,2010 kLetBoostCalculate,kLetBoostCalculate80,2034 kLetBoostCalculateUsingValuekLetBoostCalculateUsingValue81,2058 struct DomainCheck {DomainCheck105,3172 typedef typename Distribution::value_type RealType;RealType106,3193 static ProbFnOverride cdf(const Distribution&, const RealType&, RealType&) {cdf109,3281 static ProbFnOverride pdf(const Distribution&, const RealType&, RealType&) {pdf113,3404 static ProbFnOverride quantile(const Distribution&, const RealType&,quantile118,3558 struct RealDomainCheck {RealDomainCheck135,4208 typedef typename Distribution::value_type RealType;RealType136,4233 static ProbFnOverride cdf(const Distribution&, const RealType& inX,cdf139,4321 static ProbFnOverride pdf(const Distribution&, const RealType& inX,pdf152,4689 static ProbFnOverride quantile(const Distribution&, const RealType&, RealType&) {quantile163,4977 struct PositiveDomainCheck : public RealDomainCheck {PositiveDomainCheck173,5249 typedef RealDomainCheck Base;Base174,5317 typedef typename Base::RealType RealType;RealType175,5365 static ProbFnOverride cdf(const Distribution& inDist, const RealType& inX,cdf178,5443 static ProbFnOverride pdf(const Distribution& inDist, const RealType& inX,pdf188,5744 struct ZeroOneDomainCheck : public PositiveDomainCheck {ZeroOneDomainCheck204,6146 typedef PositiveDomainCheck Base;Base205,6217 typedef typename Base::RealType RealType;RealType206,6269 static ProbFnOverride cdf(const Distribution&, const RealType& inX,cdf209,6347 static ProbFnOverride pdf(const Distribution&, const RealType& inX,pdf222,6677 struct IntegerDomainCheck : public RealDomainCheck {IntegerDomainCheck238,7071 typedef RealDomainCheck Base;Base239,7138 typedef typename Base::RealType RealType;RealType240,7186 static ProbFnOverride internalMakeIntegral(ProbFnOverride inAction,internalMakeIntegral242,7233 static ProbFnOverride cdf(const Distribution& inDist, const RealType& inX,cdf265,8089 static ProbFnOverride pdf(const Distribution& inDist, const RealType& inX,pdf273,8345 struct NonNegativeIntegerDomainCheck : public IntegerDomainCheck {NonNegativeIntegerDomainCheck286,8708 typedef IntegerDomainCheck Base;Base287,8789 typedef typename Base::RealType RealType;RealType288,8840 static ProbFnOverride cdf(const Distribution& inDist, const RealType& inX,cdf291,8918 static ProbFnOverride pdf(const Distribution& inDist, const RealType& inX,pdf301,9219 struct DomainCheck >DomainCheck322,9736 typedef boost::math::bernoulli_distribution Distribution;Distribution326,9912 typedef IntegerDomainCheck Base;Base327,9992 static ProbFnOverride cdf(const Distribution& inDist, const RealType& inX,cdf330,10075 static ProbFnOverride pdf(const Distribution& inDist, const RealType& inX,pdf343,10448 static ProbFnOverride quantile(const Distribution& inDist,quantile354,10762 struct DomainCheck >DomainCheck377,11532 typedef boost::math::binomial_distribution Distribution;Distribution381,11706 typedef IntegerDomainCheck Base;Base382,11785 static ProbFnOverride cdf(const Distribution& inDist, const RealType& inX,cdf385,11868 static ProbFnOverride pdf(const Distribution& inDist, const RealType& inX,pdf404,12621 static ProbFnOverride quantile(const Distribution& inDist,quantile421,13269 struct DomainCheck >DomainCheck453,14552 typedef boost::math::exponential_distribution Distribution;Distribution457,14733 typedef PositiveDomainCheck Base;Base458,14815 static bool check_dist(const char* function, RealType lambda,check_dist460,14868 static ProbFnOverride cdf(const Distribution& inDist,cdf474,15334 static ProbFnOverride pdf(const Distribution& inDist,pdf485,15777 static ProbFnOverride quantile(const Distribution& inDist,quantile497,16230 struct DomainCheck >DomainCheck519,16970 typedef boost::math::extreme_value_distribution Distribution;Distribution523,17151 typedef RealDomainCheck Base;Base524,17235 static bool check_dist(const char* function, RealType location,check_dist526,17284 static ProbFnOverride cdf(const Distribution& inDist,cdf535,17629 static ProbFnOverride pdf(const Distribution& inDist,pdf547,18104 static ProbFnOverride quantile(const Distribution& inDist,quantile560,18589 struct DomainCheck >DomainCheck581,19283 typedef boost::math::fisher_f_distribution Distribution;Distribution585,19458 typedef PositiveDomainCheck Base;Base586,19537 static ProbFnOverride quantile(const Distribution& inDist,quantile589,19621 struct DomainCheck >DomainCheck620,20763 typedef boost::math::gamma_distribution Distribution;Distribution624,20932 typedef PositiveDomainCheck Base;Base625,21008 static ProbFnOverride pdf(const Distribution& inDist, const RealType& inX,pdf627,21061 struct DomainCheck >DomainCheck662,22175 typedef boost::math::geometric_distribution Distribution;Distribution666,22362 typedef NonNegativeIntegerDomainCheck Base;Base667,22442 static ProbFnOverride cdf(const Distribution& inDist, const RealType& inX,cdf670,22536 static ProbFnOverride quantile(const Distribution& inDist,quantile686,23086 struct DomainCheck >DomainCheck706,23722 typedef boost::math::hypergeometric_distribution Distribution;Distribution710,23919 typedef NonNegativeIntegerDomainCheck Base;Base711,24004 static ProbFnOverride cdf(const Distribution& inDist, const RealType& inX,cdf714,24098 static ProbFnOverride pdf(const Distribution& inDist, const RealType& inX,pdf729,24681 struct DomainCheck >DomainCheck749,25326 typedef boost::math::inverse_gamma_distribution Distribution;Distribution753,25511 typedef PositiveDomainCheck Base;Base754,25595 static ProbFnOverride quantile(const Distribution& inDist,quantile757,25679 struct DomainCheck >DomainCheck783,26560 typedef boost::math::lognormal_distribution Distribution;Distribution787,26737 typedef PositiveDomainCheck Base;Base788,26817 static bool check_dist(const char* function, RealType location,check_dist790,26870 static ProbFnOverride pdf(const Distribution& inDist,pdf800,27234 static ProbFnOverride quantile(const Distribution& inDist,quantile813,27715 struct DomainCheck >DomainCheck837,28539 typedef boost::math::negative_binomial_distribution Distribution;Distribution841,28742 typedef NonNegativeIntegerDomainCheck Base;Base842,28830 static bool check_dist(const char* function, const RealType& r,check_dist844,28893 static ProbFnOverride cdf(const Distribution& inDist,cdf861,29489 static ProbFnOverride pdf(const Distribution& inDist,pdf873,29980 static ProbFnOverride quantile(const Distribution& inDist,quantile886,30481 struct DomainCheck >DomainCheck911,31373 typedef boost::math::non_central_beta_distribution Distribution;Distribution915,31563 typedef ZeroOneDomainCheck Base;Base916,31650 static ProbFnOverride pdf(const Distribution& inDist,pdf918,31702 struct DomainCheck >DomainCheck965,33643 typedef boost::math::non_central_chi_squared_distribution Distribution;Distribution969,33848 typedef PositiveDomainCheck Base;Base970,33942 static ProbFnOverride pdf(const Distribution& inDist,pdf972,33995 struct DomainCheck >DomainCheck1008,35494 typedef boost::math::non_central_f_distribution Distribution;Distribution1012,35679 typedef PositiveDomainCheck Base;Base1013,35763 static ProbFnOverride pdf(const Distribution& inDist,pdf1015,35816 struct DomainCheck >DomainCheck1052,37323 typedef boost::math::pareto_distribution Distribution;Distribution1056,37494 typedef PositiveDomainCheck Base;Base1057,37571 static ProbFnOverride cdf(const Distribution& inDist,cdf1060,37655 static ProbFnOverride pdf(const Distribution& inDist,pdf1075,38228 static ProbFnOverride quantile(const Distribution& inDist,quantile1091,38810 struct DomainCheck >DomainCheck1117,39710 typedef boost::math::poisson_distribution Distribution;Distribution1121,39893 typedef NonNegativeIntegerDomainCheck Base;Base1122,39971 static ProbFnOverride quantile(const Distribution& inDist,quantile1125,40065 struct DomainCheck >DomainCheck1153,40996 typedef boost::math::rayleigh_distribution Distribution;Distribution1157,41171 typedef PositiveDomainCheck Base;Base1158,41250 static bool check_sigma_finite(const char* function, RealType sigma,check_sigma_finite1160,41303 static ProbFnOverride cdf(const Distribution& inDist,cdf1174,41773 static ProbFnOverride pdf(const Distribution& inDist,pdf1186,42221 static ProbFnOverride quantile(const Distribution& inDist,quantile1199,42679 struct DomainCheck >DomainCheck1220,43385 typedef boost::math::weibull_distribution Distribution;Distribution1224,43558 typedef PositiveDomainCheck Base;Base1225,43636 static bool check_weibull_shape(check_weibull_shape1229,43799 static ProbFnOverride cdf(const Distribution& inDist, const RealType& inX,cdf1245,44338 static ProbFnOverride pdf(const Distribution& inDist, const RealType& inX,pdf1257,44817 static ProbFnOverride quantile(const Distribution& inDist,quantile1281,45654 #define DOMAIN_CHECK_OVERRIDE(DOMAIN_CHECK_OVERRIDE1296,46153 #undef DOMAIN_CHECK_OVERRIDEDOMAIN_CHECK_OVERRIDE1327,47829 #define DEFINE_BOOST_WRAPPER(DEFINE_BOOST_WRAPPER1331,47885 #define DEFINE_BOOST_COMPLEMENT_WRAPPER(DEFINE_BOOST_COMPLEMENT_WRAPPER1350,48732 #define DEFINE_BOOST_PROBABILITY_DISTR(DEFINE_BOOST_PROBABILITY_DISTR1371,49695 #define MADLIB_ITEM(MADLIB_ITEM1382,50126 #undef MADLIB_ITEMMADLIB_ITEM1390,50342 #undef DEFINE_PROBABILITY_DISTRDEFINE_PROBABILITY_DISTR1391,50361 #undef DEFINE_BOOST_WRAPPERDEFINE_BOOST_WRAPPER1392,50393 #undef LIST_CONTINUOUS_PROB_DISTRLIST_CONTINUOUS_PROB_DISTR1393,50421 src/modules/prob/kolmogorov.cpp,438 namespace madlib {madlib17,540 namespace modules {modules19,560 namespace prob {prob21,581 kolmogorov_cdf::run(AnyType &args) {run27,691 namespace TMath {TMath37,998 inline Double_t Exp(Double_t x) {Exp42,1105 inline Double_t Abs(Double_t x) {Abs46,1178 inline Int_t Max(Int_t a, Int_t b) {Max50,1252 Int_t TMath::Nint(Double_t x)Nint63,1675 Double_t TMath::KolmogorovProb(Double_t z)KolmogorovProb84,2242 src/modules/prob/kolmogorov.hpp,895 #define MADLIB_MODULES_PROB_KOLMOGOROV_HPPMADLIB_MODULES_PROB_KOLMOGOROV_HPP14,334 namespace madlib {madlib20,541 namespace modules {modules22,561 namespace prob {prob24,582 namespace TMath {TMath28,735 typedef int32_t Int_t;Int_t30,814 typedef double Double_t;Double_t31,841 class kolmogorov_distribution {kolmogorov_distribution39,1007 typedef RealType value_type;value_type41,1047 typedef Policy policy_type;policy_type42,1080 kolmogorov_distribution() { }kolmogorov_distribution44,1113 typedef kolmogorov_distribution kolmogorov;kolmogorov47,1151 range(const kolmogorov_distribution& /*dist*/) {range55,1378 support(const kolmogorov_distribution& /*dist*/) {support68,1783 cdf(const kolmogorov_distribution&, const RealType& x) {cdf76,2014 cdf(cdf95,2605 src/modules/prob/prob.hpp,0 src/modules/prob/student.cpp,246 namespace madlib {madlib11,254 namespace modules {modules13,274 namespace prob {prob15,295 students_t_cdf::run(AnyType &args) {run21,407 students_t_pdf::run(AnyType &args) {run32,655 students_t_quantile::run(AnyType &args) {run43,892 src/modules/prob/student.hpp,756 #define MADLIB_MODULES_PROB_STUDENT_T_HPPMADLIB_MODULES_PROB_STUDENT_T_HPP67,2330 namespace madlib {madlib73,2541 namespace modules {modules75,2561 namespace prob {prob77,2582 students_t;students_t80,2675 oneSidedStudentsT_CDF(const RealType& t, uint64_t nu) {oneSidedStudentsT_CDF125,4267 GleasonsNormalApproxForStudentsT(const RealType& t, const RealType& nu) {GleasonsNormalApproxForStudentsT191,6341 cdf(const boost::math::students_t_distribution& dist,cdf232,7925 cdf(cdf278,9420 pdf(const boost::math::students_t_distribution& dist,pdf308,10274 pdf(pdf316,10468 quantile(const boost::math::students_t_distribution& dist,quantile328,10701 quantile(quantile351,11470 src/modules/regress/linear.cpp,842 namespace madlib {madlib15,368 namespace modules {modules17,388 namespace regress {regress19,409 typedef LinearRegressionAccumulator LinRegrState;LinRegrState21,430 typedef LinearRegressionAccumulator MutableLinRegrState;MutableLinRegrState22,495 typedef HeteroLinearRegressionAccumulator HeteroLinRegrState;HeteroLinRegrState25,609 MutableHeteroLinRegrState;MutableHeteroLinRegrState27,751 linregr_transition::run(AnyType& args) {run30,839 linregr_merge_states::run(AnyType& args) {run40,1144 linregr_final::run(AnyType& args) {run49,1391 hetero_linregr_transition::run(AnyType& args) {run75,2216 hetero_linregr_merge_states::run(AnyType& args) {run86,2619 hetero_linregr_final::run(AnyType& args) {run103,3165 src/modules/regress/linear.hpp,0 src/modules/regress/LinearRegression_impl.hpp,1381 #define MADLIB_MODULES_REGRESS_LINEAR_REGRESSION_IMPL_HPPMADLIB_MODULES_REGRESS_LINEAR_REGRESSION_IMPL_HPP8,262 namespace madlib {madlib14,432 namespace modules {modules19,507 namespace regress {regress21,528 LinearRegressionAccumulator::LinearRegressionAccumulator(LinearRegressionAccumulator25,583 LinearRegressionAccumulator::bind(ByteStream_type& inStream) {bind46,1236 LinearRegressionAccumulator::operator<<(const tuple_type& inTuple) {operator <<67,1945 LinearRegressionAccumulator::operator<<(operator <<108,3406 LinearRegressionAccumulator::operator=(operator =133,4167 LinearRegression::LinearRegression(LinearRegression142,4359 LinearRegression::compute(compute160,4875 HeteroLinearRegressionAccumulator::HeteroLinearRegressionAccumulator(HeteroLinearRegressionAccumulator267,9274 HeteroLinearRegressionAccumulator::bind(ByteStream_type& inStream) {bind288,9939 HeteroLinearRegressionAccumulator::operator<<(const hetero_tuple_type& inTuple) {operator <<309,10637 HeteroLinearRegressionAccumulator::operator<<(operator <<355,12092 HeteroLinearRegressionAccumulator::operator=(operator =370,12567 HeteroLinearRegression::HeteroLinearRegression(HeteroLinearRegression379,12771 HeteroLinearRegression::compute(compute397,13311 src/modules/regress/LinearRegression_proto.hpp,1909 #define MADLIB_MODULES_REGRESS_LINEAR_REGRESSION_PROTO_HPPMADLIB_MODULES_REGRESS_LINEAR_REGRESSION_PROTO_HPP8,264 namespace madlib {madlib10,324 namespace modules {modules12,344 namespace regress {regress14,365 class LinearRegressionAccumulatorLinearRegressionAccumulator21,490 typedef DynamicStruct Base;Base24,610 MADLIB_DYNAMIC_STRUCT_TYPEDEFS;MADLIB_DYNAMIC_STRUCT_TYPEDEFS25,682 typedef std::tuple tuple_type;tuple_type26,718 uint64_type numRows;numRows36,1250 uint16_type widthOfX;widthOfX37,1275 double_type y_sum;y_sum38,1301 double_type y_square_sum;y_square_sum39,1324 ColumnVector_type X_transp_Y;X_transp_Y40,1354 Matrix_type X_transp_X;X_transp_X41,1388 class LinearRegression {LinearRegression44,1420 MutableNativeColumnVector coef;coef51,1689 double r2;r252,1725 MutableNativeColumnVector stdErr;stdErr53,1740 MutableNativeColumnVector tStats;tStats54,1778 MutableNativeColumnVector pValues;pValues55,1816 double conditionNo;conditionNo56,1855 class HeteroLinearRegressionAccumulatorHeteroLinearRegressionAccumulator63,2034 typedef DynamicStruct Base;Base67,2168 MADLIB_DYNAMIC_STRUCT_TYPEDEFS;MADLIB_DYNAMIC_STRUCT_TYPEDEFS68,2246 typedef std::tuple hetero_tuple_type;hetero_tuple_type70,2283 uint64_type numRows;numRows81,2886 uint16_type widthOfX;widthOfX82,2911 double_type a_sum;a_sum83,2937 double_type a_square_sum;a_square_sum84,2960 ColumnVector_type X_transp_A;X_transp_A85,2990 Matrix_type X_transp_X;X_transp_X86,3024 class HeteroLinearRegressionHeteroLinearRegression89,3056 double test_statistic;test_statistic97,3357 double pValue;pValue98,3384 src/modules/regress/logistic.cpp,5523 namespace madlib {madlib18,499 namespace modules {modules23,574 namespace regress {regress28,676 enum { IN_PROCESS, COMPLETED, TERMINATED};IN_PROCESS31,720 enum { IN_PROCESS, COMPLETED, TERMINATED};COMPLETED31,720 enum { IN_PROCESS, COMPLETED, TERMINATED};TERMINATED31,720 class LogRegrCGTransitionState {LogRegrCGTransitionState54,1650 LogRegrCGTransitionState(const AnyType &inArray)LogRegrCGTransitionState59,1768 inline operator AnyType() const {operator AnyType71,2104 inline void initialize(const Allocator &inAllocator, uint16_t inWidthOfX) {initialize80,2332 LogRegrCGTransitionState &operator=(operator =91,2737 LogRegrCGTransitionState &operator+=(operator +=104,3126 inline void reset() {reset125,3917 static inline size_t arraySize(const uint16_t inWidthOfX) {arraySize134,4090 void rebind(uint16_t inWidthOfX) {rebind158,5104 Handle mStorage;mStorage172,5823 typename HandleTraits::ReferenceToUInt32 iteration;iteration175,5853 typename HandleTraits::ReferenceToUInt16 widthOfX;widthOfX176,5917 typename HandleTraits::ColumnVectorTransparentHandleMap coef;coef177,5980 typename HandleTraits::ColumnVectorTransparentHandleMap dir;dir178,6054 typename HandleTraits::ColumnVectorTransparentHandleMap grad;grad179,6127 typename HandleTraits::ReferenceToDouble beta;beta180,6201 typename HandleTraits::ReferenceToUInt64 numRows;numRows182,6261 typename HandleTraits::ColumnVectorTransparentHandleMap gradNew;gradNew183,6323 typename HandleTraits::MatrixTransparentHandleMap X_transp_AX;X_transp_AX184,6400 typename HandleTraits::ReferenceToDouble logLikelihood;logLikelihood185,6475 typename HandleTraits::ReferenceToUInt16 status;status186,6543 inline double sigma(double x) {sigma192,6644 logregr_cg_step_transition::run(AnyType &args) {run200,6787 logregr_cg_step_merge_states::run(AnyType &args) {run257,8624 logregr_cg_step_final::run(AnyType &args) {run277,9239 internal_logregr_cg_step_distance::run(AnyType &args) {run357,11956 internal_logregr_cg_result::run(AnyType &args) {run368,12323 class LogRegrIRLSTransitionState {LogRegrIRLSTransitionState392,13317 LogRegrIRLSTransitionState(const AnyType &inArray)LogRegrIRLSTransitionState397,13439 inline operator AnyType() const {operator AnyType409,13777 inline void initialize(const Allocator &inAllocator, uint16_t inWidthOfX) {initialize418,14023 LogRegrIRLSTransitionState &operator=(operator =429,14428 LogRegrIRLSTransitionState &operator+=(operator +=442,14821 inline void reset() {reset463,15624 static inline uint32_t arraySize(const uint16_t inWidthOfX) {arraySize472,15820 void rebind(uint16_t inWidthOfX = 0) {rebind492,16628 Handle mStorage;mStorage502,17132 typename HandleTraits::ReferenceToUInt16 widthOfX;widthOfX505,17162 typename HandleTraits::ColumnVectorTransparentHandleMap coef;coef506,17225 typename HandleTraits::ReferenceToUInt64 numRows;numRows508,17300 typename HandleTraits::ColumnVectorTransparentHandleMap X_transp_Az;X_transp_Az509,17362 typename HandleTraits::MatrixTransparentHandleMap X_transp_AX;X_transp_AX510,17443 typename HandleTraits::ReferenceToDouble logLikelihood;logLikelihood511,17518 typename HandleTraits::ReferenceToUInt16 status;status512,17586 logregr_irls_step_transition::run(AnyType &args) {run517,17660 logregr_irls_step_merge_states::run(AnyType &args) {run585,19828 logregr_irls_step_final::run(AnyType &args) {run605,20449 internal_logregr_irls_step_distance::run(AnyType &args) {run661,22807 internal_logregr_irls_result::run(AnyType &args) {run672,23180 class LogRegrIGDTransitionState {LogRegrIGDTransitionState693,24028 LogRegrIGDTransitionState(const AnyType &inArray)LogRegrIGDTransitionState698,24148 inline operator AnyType() const {operator AnyType710,24485 inline void initialize(const Allocator &inAllocator, uint16_t inWidthOfX) {initialize719,24713 LogRegrIGDTransitionState &operator=(operator =730,25118 LogRegrIGDTransitionState &operator+=(operator +=743,25509 inline void reset() {reset774,26876 static inline uint32_t arraySize(const uint16_t inWidthOfX) {arraySize784,27100 void rebind(uint16_t inWidthOfX) {rebind803,27910 Handle mStorage;mStorage813,28370 typename HandleTraits::ReferenceToUInt16 widthOfX;widthOfX816,28400 typename HandleTraits::ReferenceToDouble stepsize;stepsize817,28463 typename HandleTraits::ColumnVectorTransparentHandleMap coef;coef818,28526 typename HandleTraits::ReferenceToUInt64 numRows;numRows820,28601 typename HandleTraits::MatrixTransparentHandleMap X_transp_AX;X_transp_AX821,28663 typename HandleTraits::ReferenceToDouble logLikelihood;logLikelihood822,28735 typename HandleTraits::ReferenceToUInt16 status;status823,28803 logregr_igd_step_transition::run(AnyType &args) {run827,28876 logregr_igd_step_merge_states::run(AnyType &args) {run892,31081 logregr_igd_step_final::run(AnyType &args) {run915,31847 internal_logregr_igd_step_distance::run(AnyType &args) {run940,32656 internal_logregr_igd_result::run(AnyType &args) {run951,33026 AnyType stateToResult(stateToResult968,33649 src/modules/regress/logistic.hpp,0 src/modules/regress/multilogistic.cpp,1950 namespace madlib {madlib20,504 namespace modules {modules25,579 namespace regress {regress30,681 inline double sigma(double x) {sigma44,993 class MLogRegrIRLSTransitionState {MLogRegrIRLSTransitionState62,1633 MLogRegrIRLSTransitionState(const AnyType &inArray)MLogRegrIRLSTransitionState72,1902 inline operator AnyType() const {operator AnyType84,2276 inline void initialize(const Allocator &inAllocator, uint16_t inWidthOfX, uint16_t inNumCategories) {initialize93,2522 template MLogRegrIRLSTransitionState &operator=(operator =105,2996 template MLogRegrIRLSTransitionState &operator+=(operator +=117,3387 inline void reset() {reset135,4029 static inline uint32_t arraySize(const uint16_t inWidthOfX,arraySize143,4174 void rebind(uint16_t inWidthOfX = 0, uint16_t inNumCategories = 0) {rebind169,5348 Handle mStorage;mStorage185,6041 typename HandleTraits::ReferenceToUInt16 widthOfX;widthOfX188,6071 typename HandleTraits::ReferenceToUInt16 numCategories;numCategories189,6134 typename HandleTraits::ColumnVectorTransparentHandleMap coef;coef191,6203 typename HandleTraits::ReferenceToUInt64 numRows;numRows192,6277 typename HandleTraits::ColumnVectorTransparentHandleMap gradient;gradient193,6339 typename HandleTraits::MatrixTransparentHandleMap X_transp_AX;X_transp_AX194,6417 typename HandleTraits::ReferenceToDouble logLikelihood;logLikelihood195,6492 mlogregr_irls_step_transition::run(AnyType &args) {run213,6803 mlogregr_irls_step_merge_states::run(AnyType &args) {run347,11635 mlogregr_irls_step_final::run(AnyType &args) {run367,12259 internal_mlogregr_irls_step_distance::run(AnyType &args) {run412,14042 internal_mlogregr_irls_result::run(AnyType &args) {run423,14418 AnyType mLogstateToResult(mLogstateToResult436,14794 src/modules/regress/multilogistic.hpp,0 src/modules/regress/regress.hpp,0 src/modules/sample/sample.hpp,0 src/modules/sample/weighted_sample.cpp,765 namespace madlib {madlib15,395 namespace modules {modules17,415 namespace sample {sample19,436 WeightedSampleInt64State;WeightedSampleInt64State22,514 MutableWeightedSampleInt64State;MutableWeightedSampleInt64State24,609 WeightedSampleColVecState;WeightedSampleColVecState27,716 MutableWeightedSampleColVecState;MutableWeightedSampleColVecState29,823 weighted_sample_transition_int64::run(AnyType& args) {run36,933 weighted_sample_transition_vector::run(AnyType& args) {run46,1257 weighted_sample_merge_int64::run(AnyType &args) {run61,1671 weighted_sample_merge_vector::run(AnyType &args) {run71,1957 weighted_sample_final_int64::run(AnyType &args) {run85,2304 weighted_sample_final_vector::run(AnyType &args) {run92,2486 src/modules/sample/weighted_sample.hpp,0 src/modules/sample/WeightedSample_impl.hpp,879 #define MADLIB_MODULES_SAMPLE_WEIGHTED_SAMPLE_IMPL_HPPMADLIB_MODULES_SAMPLE_WEIGHTED_SAMPLE_IMPL_HPP8,257 namespace std {std14,449 namespace madlib {madlib18,507 namespace modules {modules20,527 namespace sample {sample22,548 WeightedSampleAccumulator::WeightedSampleAccumulator(WeightedSampleAccumulator26,611 bindWeightedSampleAcc(bindWeightedSampleAcc36,817 bindWeightedSampleAcc(bindWeightedSampleAcc47,1104 WeightedSampleAccumulator::bind(ByteStream_type& inStream) {bind73,2090 prepareSample(WeightedSampleAccumulator&, const T&) { }prepareSample80,2260 prepareSample(prepareSample85,2370 WeightedSampleAccumulator::operator<<(operator <<102,2824 WeightedSampleAccumulator::operator<<(operator <<132,3724 WeightedSampleAccumulator::operator=(operator =149,4155 src/modules/sample/WeightedSample_proto.hpp,907 #define MADLIB_MODULES_SAMPLE_WEIGHTED_SAMPLE_PROTO_HPPMADLIB_MODULES_SAMPLE_WEIGHTED_SAMPLE_PROTO_HPP8,259 namespace madlib {madlib10,316 namespace modules {modules12,336 namespace sample {sample14,357 struct WeightedSampleHeader { };WeightedSampleHeader21,489 struct WeightedSampleHeader {WeightedSampleHeader24,549 typename DynamicStructType::type width;width25,610 class WeightedSampleAccumulatorWeightedSampleAccumulator29,715 typedef DynamicStruct Base;Base33,835 MADLIB_DYNAMIC_STRUCT_TYPEDEFS;MADLIB_DYNAMIC_STRUCT_TYPEDEFS34,905 typedef std::tuple tuple_type;tuple_type35,941 double_type weight_sum;weight_sum45,1450 WeightedSampleHeader header;header46,1478 typename DynamicStructType::type sample;sample47,1525 src/modules/shared/HandleTraits.hpp,2197 #define MADLIB_SHARED_HANDLE_TRAITS_HPP_MADLIB_SHARED_HANDLE_TRAITS_HPP_8,236 namespace madlib {madlib12,318 namespace modules {modules14,338 struct HandleTraits > {HandleTraits36,1071 typedef dbal::eigen_integration::ColumnVector ColumnVector;ColumnVector37,1115 typedef dbal::eigen_integration::Matrix Matrix;Matrix38,1179 typedef utils::Reference ReferenceToUInt64;ReferenceToUInt6440,1232 typedef utils::Reference ReferenceToInt64;ReferenceToInt6441,1298 typedef utils::Reference ReferenceToUInt32;ReferenceToUInt3242,1362 typedef utils::Reference ReferenceToUInt16;ReferenceToUInt1643,1428 typedef utils::Reference ReferenceToBool;ReferenceToBool44,1494 typedef utils::Reference ReferenceToDouble;ReferenceToDouble45,1554 typedef const double* DoublePtr;DoublePtr46,1610 ColumnVectorTransparentHandleMap;ColumnVectorTransparentHandleMap49,1768 TransparentHandle > MatrixTransparentHandleMap;MatrixTransparentHandleMap51,1871 struct HandleTraits > {HandleTraits55,1968 typedef dbal::eigen_integration::ColumnVector ColumnVector;ColumnVector56,2019 typedef dbal::eigen_integration::Matrix Matrix;Matrix57,2083 typedef utils::MutableReference ReferenceToUInt64;ReferenceToUInt6459,2136 typedef utils::MutableReference ReferenceToInt64;ReferenceToInt6460,2209 typedef utils::MutableReference ReferenceToUInt32;ReferenceToUInt3261,2280 typedef utils::MutableReference ReferenceToUInt16;ReferenceToUInt1662,2353 typedef utils::MutableReference ReferenceToBool;ReferenceToBool63,2426 typedef utils::MutableReference ReferenceToDouble;ReferenceToDouble64,2493 typedef double* DoublePtr;DoublePtr65,2556 ColumnVectorTransparentHandleMap;ColumnVectorTransparentHandleMap68,2699 TransparentHandle > MatrixTransparentHandleMap;MatrixTransparentHandleMap70,2800 src/modules/stats/chi_squared_test.cpp,1156 namespace madlib {madlib15,398 namespace modules {modules17,418 namespace stats {stats19,439 class Chi2TestTransitionState {Chi2TestTransitionState29,722 Chi2TestTransitionState(const AnyType &inArray)Chi2TestTransitionState31,762 inline operator AnyType() const {operator AnyType40,1077 Handle mStorage;mStorage45,1156 typename HandleTraits::ReferenceToUInt64 numRows;numRows48,1186 typename HandleTraits::ReferenceToDouble sum_expect;sum_expect49,1248 typename HandleTraits::ReferenceToDouble sum_obs_square_over_expect;sum_obs_square_over_expect50,1313 typename HandleTraits::ReferenceToDouble sum_obs;sum_obs51,1394 typename HandleTraits::ReferenceToDouble sumSquaredDeviations;sumSquaredDeviations52,1456 typename HandleTraits::ReferenceToInt64 df;df54,1532 updateSumSquaredDeviations(double &ioLeftNumRows, double &ioLeftSumExp,updateSumSquaredDeviations59,1604 chi2_gof_test_transition::run(AnyType &args) {run84,2496 chi2_gof_test_merge_states::run(AnyType &args) {run120,3949 chi2_gof_test_final::run(AnyType &args) {run144,4868 src/modules/stats/chi_squared_test.hpp,0 src/modules/stats/cox_prop_hazards.cpp,2122 namespace madlib {madlib16,396 namespace modules {modules21,471 namespace stats {stats26,573 class CoxPropHazardsTransitionState {CoxPropHazardsTransitionState64,1823 CoxPropHazardsTransitionState(const AnyType &inArray)CoxPropHazardsTransitionState70,1952 inline operator AnyType() const {operator AnyType81,2298 inline void initialize(const Allocator &inAllocator, uint16_t inWidthOfX) {initialize94,2780 CoxPropHazardsTransitionState &operator=(operator =105,3185 CoxPropHazardsTransitionState &operator+=(operator +=118,3584 inline void reset() {reset141,4300 static inline size_t arraySize(const uint16_t inWidthOfX) {arraySize156,4528 void rebind(uint16_t inWidthOfX) {rebind180,5435 Handle mStorage;mStorage202,6143 typename HandleTraits::ReferenceToUInt64 numRows;numRows205,6173 typename HandleTraits::ReferenceToUInt16 widthOfX;widthOfX206,6235 typename HandleTraits::ReferenceToDouble multiplier;multiplier207,6298 typename HandleTraits::ReferenceToDouble y_previous;y_previous208,6363 typename HandleTraits::ColumnVectorTransparentHandleMap coef;coef209,6428 typename HandleTraits::ReferenceToDouble S;S211,6503 typename HandleTraits::ColumnVectorTransparentHandleMap H;H212,6559 typename HandleTraits::ColumnVectorTransparentHandleMap grad; grad213,6630 typename HandleTraits::ReferenceToDouble logLikelihood;logLikelihood214,6704 typename HandleTraits::MatrixTransparentHandleMap V;V215,6772 typename HandleTraits::MatrixTransparentHandleMap hessian;hessian216,6837 AnyType cox_prop_hazards_step_transition::run(AnyType &args) {run235,7213 AnyType cox_prop_hazards_step_final::run(AnyType &args) {run309,9622 AnyType internal_cox_prop_hazards_step_distance::run(AnyType &args) {run344,10865 AnyType internal_cox_prop_hazards_result::run(AnyType &args) {run355,11251 AnyType stateToResult(stateToResult372,11737 AnyType intermediate_cox_prop_hazards::run(AnyType &args) {run414,12964 src/modules/stats/cox_prop_hazards.hpp,0 src/modules/stats/kolmogorov_smirnov_test.cpp,856 namespace madlib {madlib15,415 namespace modules {modules17,435 namespace stats {stats19,456 class KSTestTransitionState {KSTestTransitionState29,752 KSTestTransitionState(const AnyType &inArray)KSTestTransitionState31,790 inline operator AnyType() const {operator AnyType39,1046 Handle mStorage;mStorage44,1125 typename HandleTraits::ColumnVectorTransparentHandleMap num;num47,1155 typename HandleTraits::ColumnVectorTransparentHandleMap expectedNum;expectedNum48,1228 typename HandleTraits::ReferenceToDouble last;last49,1309 typename HandleTraits::ReferenceToDouble maxDiff;maxDiff50,1368 typename HandleTraits::ReferenceToDouble lastDiff;lastDiff51,1430 ks_test_transition::run(AnyType &args) {run58,1575 ks_test_final::run(AnyType &args) {run121,4164 src/modules/stats/kolmogorov_smirnov_test.hpp,0 src/modules/stats/mann_whitney_test.cpp,782 namespace madlib {madlib16,420 namespace modules {modules18,440 namespace stats {stats20,461 class MWTestTransitionState {MWTestTransitionState30,751 MWTestTransitionState(const AnyType &inArray)MWTestTransitionState32,789 inline operator AnyType() const {operator AnyType39,1012 Handle mStorage;mStorage44,1091 typename HandleTraits::ColumnVectorTransparentHandleMap num;num47,1121 typename HandleTraits::ColumnVectorTransparentHandleMap numTies;numTies48,1194 typename HandleTraits::ColumnVectorTransparentHandleMap rankSum;rankSum49,1271 typename HandleTraits::ReferenceToDouble last;last50,1348 mw_test_transition::run(AnyType &args) {run57,1483 mw_test_final::run(AnyType &args) {run89,2770 src/modules/stats/mann_whitney_test.hpp,0 src/modules/stats/one_way_anova.cpp,1440 namespace madlib {madlib16,406 namespace modules {modules18,426 namespace stats {stats20,447 class OWATransitionState {OWATransitionState30,733 OWATransitionState(const AnyType &inArray)OWATransitionState32,768 inline operator AnyType() const {operator AnyType44,1129 static inline size_t arraySize(uint32_t inNumGroupsReserved) {arraySize60,1704 void rebind(uint32_t inNumGroupsReserved) {rebind64,1822 Handle mStorage;mStorage77,2432 typename HandleTraits::ReferenceToUInt32 numGroups;numGroups80,2462 typename HandleTraits::DoublePtr groupValues;groupValues81,2526 typename HandleTraits::DoublePtr posToIndices;posToIndices82,2584 typename HandleTraits::ColumnVectorTransparentHandleMap num;num83,2643 typename HandleTraits::ColumnVectorTransparentHandleMap sum;sum84,2716 typename HandleTraits::ColumnVectorTransparentHandleMap corrected_square_sum;corrected_square_sum85,2789 OWATransitionState >::idxOfGroup(idxOfGroup90,2904 OWATransitionState >::idxOfGroup(idxOfGroup108,3453 updateCorrectedSumOfSquares(double &ioLeftWeight, double &ioLeftSum,updateCorrectedSumOfSquares189,6976 one_way_anova_transition::run(AnyType &args) {run218,7954 one_way_anova_merge_states::run(AnyType &args) {run235,8458 one_way_anova_final::run(AnyType &args) {run259,9365 src/modules/stats/one_way_anova.hpp,0 src/modules/stats/stats.hpp,0 src/modules/stats/t_test.cpp,1411 namespace madlib {madlib16,395 namespace modules {modules18,415 namespace stats {stats20,436 class TTestTransitionState {TTestTransitionState33,744 TTestTransitionState(const AnyType &inArray)TTestTransitionState35,781 inline operator AnyType() const {operator AnyType50,1268 Handle mStorage;mStorage55,1347 typename HandleTraits::ReferenceToUInt64 numX;numX58,1377 typename HandleTraits::ReferenceToDouble x_sum;x_sum59,1436 typename HandleTraits::ReferenceToDouble correctedX_square_sum;correctedX_square_sum60,1496 typename HandleTraits::ReferenceToUInt64 numY;numY62,1573 typename HandleTraits::ReferenceToDouble y_sum;y_sum63,1632 typename HandleTraits::ReferenceToDouble correctedY_square_sum;correctedY_square_sum64,1692 updateCorrectedSumOfSquares(double &ioLeftWeight, double &ioLeftSum,updateCorrectedSumOfSquares86,2491 t_test_one_transition::run(AnyType &args) {run114,3439 t_test_two_transition::run(AnyType &args) {run129,3820 t_test_merge_states::run(AnyType &args) {run152,4500 t_test_one_final::run(AnyType &args) {run175,5285 t_test_two_pooled_final::run(AnyType &args) {run198,6074 t_test_two_unpooled_final::run(AnyType &args) {run228,7237 f_test_final::run(AnyType &args) {run265,8678 tStatsToResult(double inT, double inDegreeOfFreedom) {tStatsToResult302,9870 src/modules/stats/t_test.hpp,0 src/modules/stats/wilcoxon_signed_rank_test.cpp,985 namespace madlib {madlib16,442 namespace modules {modules18,462 namespace stats {stats20,483 class WSRTestTransitionState {WSRTestTransitionState29,724 WSRTestTransitionState(const AnyType &inArray)WSRTestTransitionState31,763 inline operator AnyType() const {operator AnyType40,1069 Handle mStorage;mStorage45,1148 typename HandleTraits::ColumnVectorTransparentHandleMap num;num48,1178 typename HandleTraits::ColumnVectorTransparentHandleMap numTies;numTies49,1251 typename HandleTraits::ColumnVectorTransparentHandleMap rankSum;rankSum50,1328 typename HandleTraits::ReferenceToDouble lastAbs;lastAbs51,1405 typename HandleTraits::ReferenceToDouble lastAbsUpperBound;lastAbsUpperBound52,1467 typename HandleTraits::ReferenceToDouble reduceVariance;reduceVariance53,1539 wsr_test_transition::run(AnyType &args) {run64,1790 wsr_test_final::run(AnyType &args) {run127,4268 src/modules/stats/wilcoxon_signed_rank_test.hpp,0 src/patch/Eigen.sh,199 check_that_malloc_is_allowed();check_that_malloc_is_allowed12,431 check_that_malloc_is_allowed();check_that_malloc_is_allowed46,1519 throw_std_bad_alloc();throw_std_bad_alloc51,1762 src/ports/greenplum/4.0/patch/Versions_4_0_and_below.sh.in,0 src/ports/greenplum/4.1/patch/Versions_4_1_0_to_4_1_1.sh.in,0 src/ports/greenplum/dbconnector/Compatibility.hpp,662 #define MADLIB_GREENPLUM_COMPATIBILITY_HPPMADLIB_GREENPLUM_COMPATIBILITY_HPP8,261 namespace madlib {madlib10,305 namespace dbconnector {dbconnector12,325 namespace postgres {postgres14,350 #define PG_GET_COLLATION(PG_GET_COLLATION21,550 #define SearchSysCache1(SearchSysCache126,652 #define AGG_CONTEXT_AGGREGATE AGG_CONTEXT_AGGREGATE37,993 #define AGG_CONTEXT_WINDOW AGG_CONTEXT_WINDOW38,1050 AggCheckCallContext(FunctionCallInfo fcinfo, MemoryContext *aggcontext) {AggCheckCallContext52,1540 inline ArrayType* madlib_construct_arraymadlib_construct_array72,2102 inline ArrayType* madlib_construct_md_arraymadlib_construct_md_array86,2376 src/ports/greenplum/dbconnector/dbconnector.hpp,144 #define MADLIB_GREENPLUM_DBCONNECTOR_HPPMADLIB_GREENPLUM_DBCONNECTOR_HPP10,309 #define MADLIB_POSTGRES_HEADERSMADLIB_POSTGRES_HEADERS13,430 src/ports/postgres/8.4/patch/Versions_8_4_and_below.sh.in,0 src/ports/postgres/dbconnector/Allocator_impl.hpp,1113 #define MADLIB_POSTGRES_ALLOCATOR_IMPL_HPPMADLIB_POSTGRES_ALLOCATOR_IMPL_HPP8,240 namespace madlib {madlib10,284 namespace dbconnector {dbconnector12,304 namespace postgres {postgres14,329 Allocator::internalAllocateArray(internalAllocateArray31,876 #define MADLIB_ALLOCATE_ARRAY_DEF(MADLIB_ALLOCATE_ARRAY_DEF71,2304 #undef MADLIB_ALLOCATE_ARRAY_DEFMADLIB_ALLOCATE_ARRAY_DEF101,3478 Allocator::allocateByteString(std::size_t inSize) const {allocateByteString110,3691 Allocator::allocate(size_t inSize) const {allocate129,4333 Allocator::reallocate(void *inPtr, const size_t inSize) const {reallocate151,5121 Allocator::free(void *inPtr) const {free179,6129 Allocator::internalPalloc(size_t inSize) const {internalPalloc213,7114 Allocator::internalRePalloc(void *inPtr, size_t inSize) const {internalRePalloc245,8194 Allocator::makeAligned(void *inPtr) const {makeAligned275,8932 Allocator::unaligned(void *inPtr) const {unaligned300,9793 Allocator::internalAllocate(void *inPtr, const size_t inSize) const {internalAllocate353,11836 defaultAllocator() {defaultAllocator427,14516 src/ports/postgres/dbconnector/Allocator_proto.hpp,598 #define MADLIB_POSTGRES_ALLOCATOR_PROTO_HPPMADLIB_POSTGRES_ALLOCATOR_PROTO_HPP8,242 namespace madlib {madlib10,287 namespace dbconnector {dbconnector12,307 namespace postgres {postgres14,332 class Allocator {Allocator43,1351 Allocator() { }Allocator45,1377 #define MADLIB_ALLOCATE_ARRAY_DECL(MADLIB_ALLOCATE_ARRAY_DECL47,1398 #undef MADLIB_ALLOCATE_ARRAY_DECLMADLIB_ALLOCATE_ARRAY_DECL60,1957 enum ReallocateMemory {ReallocateMemory81,2638 NewAllocation,NewAllocation82,2666 ReallocationReallocation83,2689 FunctionCallInfo fcinfo;fcinfo111,3658 src/ports/postgres/dbconnector/AnyType_impl.hpp,1524 #define MADLIB_POSTGRES_ANYTYPE_IMPL_HPPMADLIB_POSTGRES_ANYTYPE_IMPL_HPP8,236 namespace madlib {madlib10,278 namespace dbconnector {dbconnector12,298 namespace postgres {postgres14,323 inline void * AnyType::getUserFuncContext(){getUserFuncContext16,345 inline void AnyType::setUserFuncContext(void * user_fctx){setUserFuncContext19,434 inline MemoryContext AnyType::getCacheMemoryContext(){getCacheMemoryContext22,542 AnyType::AnyType(FunctionCallInfo inFnCallInfo)AnyType27,648 AnyType::AnyType(SystemInformation* inSysInfo,AnyType41,968 AnyType::AnyType(SystemInformation* inSysInfo, Datum inDatum,AnyType56,1358 AnyType::AnyType(const T& inValue, bool inForceLazyConversionToDatum)AnyType87,2454 AnyType::AnyType()AnyType115,3314 AnyType::consistencyCheck() const {consistencyCheck133,3637 AnyType::getAs() const {getAs168,5047 AnyType::isNull() const {isNull230,7180 AnyType::isComposite() const {isComposite240,7361 AnyType::numFields() const {numFields253,7743 AnyType::operator[](uint16_t inID) const {operator []278,8575 AnyType::operator<<(const AnyType &inValue) {operator <<361,11623 AnyType::getAsDatum(FunctionCallInfo inFnCallInfo,getAsDatum396,12923 AnyType::lazyConversionToDatum() {lazyConversionToDatum516,17912 AnyType::LazyConversionToDatumOverride::LazyConversionToDatumOverride(LazyConversionToDatumOverride521,17992 AnyType::LazyConversionToDatumOverride::~LazyConversionToDatumOverride() {~LazyConversionToDatumOverride529,18227 Null() {Null545,18670 src/ports/postgres/dbconnector/AnyType_proto.hpp,1359 #define MADLIB_POSTGRES_ANYTYPE_PROTO_HPPMADLIB_POSTGRES_ANYTYPE_PROTO_HPP8,238 namespace madlib {madlib10,281 namespace dbconnector {dbconnector12,301 namespace postgres {postgres14,326 class AnyType {AnyType32,917 class LazyConversionToDatumOverride {LazyConversionToDatumOverride59,2013 bool mOriginalValue;mOriginalValue64,2193 static bool sLazyConversionToDatum;sLazyConversionToDatum67,2230 enum ContentType {ContentType79,2545 Null,Null80,2568 Scalar,Scalar81,2582 FunctionComposite,FunctionComposite82,2598 NativeComposite,NativeComposite83,2625 ReturnCompositeReturnComposite84,2650 ContentType mContentType;mContentType98,3089 boost::any mContent;mContent99,3119 std::function mToDatumFn;mToDatumFn100,3144 Datum mDatum;mDatum101,3183 FunctionCallInfo fcinfo;fcinfo102,3201 SystemInformation* mSysInfo;mSysInfo103,3230 HeapTupleHeader mTupleHeader;mTupleHeader104,3263 std::vector mChildren;mChildren105,3297 Oid mTypeID;mTypeID106,3333 const char* mTypeName;mTypeName107,3350 bool mIsMutable;mIsMutable108,3377 AnyType_cast(const AnyType& inValue) {AnyType_cast133,4262 AnyType_cast(const T& inValue) {AnyType_cast140,4370 AnyType_cast(T& inValue) {AnyType_cast147,4455 src/ports/postgres/dbconnector/ArrayHandle_impl.hpp,746 #define MADLIB_POSTGRES_ARRAYHANDLE_IMPL_HPPMADLIB_POSTGRES_ARRAYHANDLE_IMPL_HPP8,244 namespace madlib {madlib10,290 namespace dbconnector {dbconnector12,310 namespace postgres {postgres14,335 ArrayHandle::ArrayHandle(const ArrayType *inArray)ArrayHandle18,386 ArrayHandle::ptr() const {ptr24,504 ArrayHandle::size() const {size31,629 ArrayHandle::dims() const {dims42,904 ArrayHandle::sizeOfDim(size_t inDim) const {sizeOfDim49,1004 ArrayHandle::array() const {array59,1227 ArrayHandle::operator[](size_t inIndex) const {operator []66,1320 MutableArrayHandle::ptr() {ptr75,1540 MutableArrayHandle::array() {array82,1691 MutableArrayHandle::operator[](size_t inIndex) {operator []89,1811 src/ports/postgres/dbconnector/ArrayHandle_proto.hpp,573 #define MADLIB_POSTGRES_ARRAYHANDLE_PROTO_HPPMADLIB_POSTGRES_ARRAYHANDLE_PROTO_HPP8,247 namespace madlib {madlib10,294 namespace dbconnector {dbconnector12,314 namespace postgres {postgres14,339 class ArrayHandle {ArrayHandle17,383 enum { isMutable = false };isMutable19,411 const ArrayType *mArray;mArray31,709 class MutableArrayHandle : public ArrayHandle {MutableArrayHandle37,828 typedef ArrayHandle Base;Base38,879 enum { isMutable = true };isMutable41,925 MutableArrayHandle(ArrayType *inArray)MutableArrayHandle43,957 src/ports/postgres/dbconnector/Backend.hpp,586 #define MADLIB_POSTGRES_BACKEND_ABSTRACTION_HPPMADLIB_POSTGRES_BACKEND_ABSTRACTION_HPP8,249 namespace madlib {madlib10,298 namespace dbconnector {dbconnector12,318 namespace postgres {postgres14,343 madlib_InitFunctionCallInfoData(FunctionCallInfoData& fcinfo, FmgrInfo* flinfo,madlib_InitFunctionCallInfoData104,3111 madlib_detoast_verlena_datum_if_necessary(Datum inDatum) {madlib_detoast_verlena_datum_if_necessary122,3714 madlib_DatumGetByteaP(Datum inDatum) {madlib_DatumGetByteaP139,4179 madlib_DatumGetArrayTypeP(Datum inDatum) {madlib_DatumGetArrayTypeP151,4477 src/ports/postgres/dbconnector/ByteString_impl.hpp,704 #define MADLIB_POSTGRES_BYTESTRING_IMPL_HPPMADLIB_POSTGRES_BYTESTRING_IMPL_HPP8,242 namespace madlib {madlib10,287 namespace dbconnector {dbconnector12,307 namespace postgres {postgres14,332 ByteString::ByteString(const bytea* inByteString)ByteString17,361 ByteString::ptr() const {ptr22,482 ByteString::size() const {size29,616 ByteString::byteString() const {byteString37,788 ByteString::operator[](size_t inIndex) const {operator []43,884 MutableByteString::MutableByteString(bytea* inByteString)MutableByteString51,1081 MutableByteString::ptr() {ptr56,1203 MutableByteString::byteString() {byteString62,1327 MutableByteString::operator[](size_t inIndex) {operator []68,1444 src/ports/postgres/dbconnector/ByteString_proto.hpp,620 #define MADLIB_POSTGRES_BYTESTRING_PROTO_HPPMADLIB_POSTGRES_BYTESTRING_PROTO_HPP8,244 namespace madlib {madlib10,290 namespace dbconnector {dbconnector12,310 namespace postgres {postgres14,335 class ByteString {ByteString19,394 enum { isMutable = dbal::Immutable };isMutable21,421 enum { kEffectiveHeaderSizekEffectiveHeaderSize22,463 typedef char char_type;char_type25,573 const bytea* mByteString;mByteString35,809 class MutableByteString : public ByteString {MutableByteString39,844 typedef ByteString Base;Base40,890 enum { isMutable = dbal::Mutable };isMutable43,928 src/ports/postgres/dbconnector/Compatibility.hpp,952 #define MADLIB_POSTGRES_COMPATIBILITY_HPPMADLIB_POSTGRES_COMPATIBILITY_HPP8,238 namespace madlib {madlib14,360 namespace dbconnector {dbconnector16,380 namespace postgres {postgres18,405 #define FLOAT8ARRAYOID FLOAT8ARRAYOID24,543 #define INT8ARRAYOID INT8ARRAYOID28,604 #define PG_GET_COLLATION(PG_GET_COLLATION33,708 #define SearchSysCache1(SearchSysCache138,810 #define type_is_array(type_is_array48,1128 #define AGG_CONTEXT_AGGREGATE AGG_CONTEXT_AGGREGATE60,1462 #define AGG_CONTEXT_WINDOW AGG_CONTEXT_WINDOW61,1519 AggCheckCallContext(FunctionCallInfo fcinfo, MemoryContext *aggcontext) {AggCheckCallContext76,2102 static ArrayType* construct_md_array_zeroconstruct_md_array_zero108,3038 static ArrayType* construct_array_zeroconstruct_array_zero199,5864 inline ArrayType* madlib_construct_md_arraymadlib_construct_md_array219,6213 inline ArrayType* madlib_construct_arraymadlib_construct_array240,6695 src/ports/postgres/dbconnector/dbconnector.hpp,1522 #define MADLIB_POSTGRES_DBCONNECTOR_HPPMADLIB_POSTGRES_DBCONNECTOR_HPP10,308 #define MADLIB_POSTGRES_HEADERSMADLIB_POSTGRES_HEADERS15,535 #undef AbsAbs43,1591 #undef MaxMax47,1621 #undef MinMin51,1651 #undef gettextgettext55,1685 #undef dgettextdgettext59,1724 #undef ngettextngettext63,1764 #undef dngettextdngettext67,1805 namespace std {std90,2464 #define eigen_assert(eigen_assert104,2774 #define MADLIB_PG_TRY MADLIB_PG_TRY120,3586 #define MADLIB_PG_CATCH MADLIB_PG_CATCH129,3880 #define MADLIB_PG_END_TRY MADLIB_PG_END_TRY137,4108 #define MADLIB_PG_RE_THROW MADLIB_PG_RE_THROW140,4156 #define MADLIB_PG_ERROR_DATA(MADLIB_PG_ERROR_DATA143,4220 #define MADLIB_PG_DEFAULT_CATCH_AND_END_TRY MADLIB_PG_DEFAULT_CATCH_AND_END_TRY146,4269 #define MADLIB_WRAP_PG_FUNC(MADLIB_WRAP_PG_FUNC151,4394 #define MADLIB_WRAP_VOID_PG_FUNC(MADLIB_WRAP_VOID_PG_FUNC162,4718 #define MADLIB_FUNC_MAX_ARGS MADLIB_FUNC_MAX_ARGS179,5301 #define MADLIB_MAX_ARRAY_DIMS MADLIB_MAX_ARRAY_DIMS184,5389 namespace madlib {madlib205,6039 namespace dbconnector {dbconnector224,6727 namespace postgres {postgres226,6752 namespace madlib {madlib260,7649 ByteString, dbconnector::postgres::TypeTraits> RootContainer;RootContainer263,7711 MutableByteString, dbconnector::postgres::TypeTraits> MutableRootContainer;MutableRootContainer265,7819 #define DECLARE_UDF(DECLARE_UDF269,7923 #define DECLARE_SR_UDF(DECLARE_SR_UDF283,8323 #define DECLARE_UDF_EXTERNAL(DECLARE_UDF_EXTERNAL297,8726 src/ports/postgres/dbconnector/EigenIntegration_impl.hpp,1338 #define MADLIB_POSTGRES_EIGEN_INTEGRATION_IMPL_HPPMADLIB_POSTGRES_EIGEN_INTEGRATION_IMPL_HPP10,317 namespace madlib {madlib12,369 namespace dbal {dbal14,389 namespace eigen_integration {eigen_integration16,407 HandleMap >::HandleMap(HandleMap28,721 HandleMap >::HandleMap(HandleMap42,1193 HandleMap >::rebind(rebind54,1578 HandleMap >::rebind(rebind66,1883 HandleMap >::rebind(rebind79,2190 HandleMap >::rebind(rebind91,2506 namespace dbconnector {dbconnector102,2747 namespace postgres {postgres104,2772 LegacySparseVectorToSparseColumnVector(SvecType* inVec) {LegacySparseVectorToSparseColumnVector115,3010 SparseColumnVectorToLegacySparseVector(SparseColumnVectorToLegacySparseVector152,4137 VectorToNativeArray(const Eigen::MatrixBase& inVector) {VectorToNativeArray214,6332 NativeArrayToMappedMatrix(Datum inDatum, bool inNeedMutableClone) {NativeArrayToMappedMatrix233,6842 NativeArrayToMappedVector(Datum inDatum, bool inNeedMutableClone) {NativeArrayToMappedVector268,8050 MatrixToNativeArray(const Eigen::MatrixBase& inMatrix) {MatrixToNativeArray310,9407 src/ports/postgres/dbconnector/EigenIntegration_proto.hpp,1176 #define MADLIB_POSTGRES_EIGEN_INTEGRATION_PROTO_HPPMADLIB_POSTGRES_EIGEN_INTEGRATION_PROTO_HPP8,257 namespace madlib {madlib10,310 namespace dbal {dbal12,330 namespace eigen_integration {eigen_integration14,348 typedef HandleMap > NativeColumnVector;NativeColumnVector26,657 MutableNativeColumnVector;MutableNativeColumnVector28,798 typedef HandleMap > NativeMatrix;NativeMatrix29,829 typedef HandleMap > MutableNativeMatrix;MutableNativeMatrix30,897 typedef HandleMap > MappedColumnVector;MappedColumnVector32,974 MutableMappedColumnVector;MutableMappedColumnVector34,1129 typedef HandleMap > MappedMatrix;MappedMatrix35,1160 typedef HandleMap > MutableMappedMatrix;MutableMappedMatrix36,1234 struct DynamicStructType {DynamicStructType42,1400 type;type45,1574 namespace dbconnector {dbconnector51,1614 namespace postgres {postgres53,1639 src/ports/postgres/dbconnector/FunctionHandle_impl.hpp,1262 #define MADLIB_POSTGRES_FUNCTIONHANDLE_IMPL_HPPMADLIB_POSTGRES_FUNCTIONHANDLE_IMPL_HPP8,250 namespace madlib {madlib10,299 namespace dbconnector {dbconnector12,319 namespace postgres {postgres14,344 FunctionHandle::Argument::Argument(AnyType inValue)Argument17,373 FunctionHandle::Argument::Argument(const T& inValue)Argument22,480 FunctionHandle::FunctionHandle(SystemInformation* inSysInfo, Oid inFuncID)FunctionHandle26,605 FunctionHandle::funcPtr() {funcPtr33,836 FunctionHandle::funcID() const {funcID42,960 FunctionHandle::setFunctionCallOptions(uint32_t inFlags) {setFunctionCallOptions48,1046 FunctionHandle::unsetFunctionCallOptions(uint32_t inFlags) {unsetFunctionCallOptions55,1181 FunctionHandle::getFunctionCallOptions() const {getFunctionCallOptions62,1313 FunctionHandle::internalInvoke(FunctionCallInfo inFCInfo) {internalInvoke74,1611 FunctionHandle::invoke(AnyType &args) {invoke88,2064 FunctionHandle::operator()() {operator ()173,5016 #define MADLIB_APPEND_ARG(MADLIB_APPEND_ARG182,5255 #define MADLIB_OPERATOR_DEF(MADLIB_OPERATOR_DEF184,5312 #undef MADLIB_OPERATOR_DEFMADLIB_OPERATOR_DEF196,5740 #undef MADLIB_APPEND_ARGMADLIB_APPEND_ARG197,5767 FunctionHandle::getSysInfo() const {getSysInfo201,5819 src/ports/postgres/dbconnector/FunctionHandle_proto.hpp,766 #define MADLIB_POSTGRES_FUNCTIONHANDLE_PROTO_HPPMADLIB_POSTGRES_FUNCTIONHANDLE_PROTO_HPP8,252 namespace madlib {madlib10,302 namespace dbconnector {dbconnector12,322 namespace postgres {postgres14,347 class FunctionHandle {FunctionHandle19,424 enum { isMutable = false };isMutable21,455 enum FunctionCallOption {FunctionCallOption23,488 GarbageCollectionAfterCall = 0x01GarbageCollectionAfterCall24,518 class Argument : public AnyType {Argument49,1432 #define MADLIB_OPERATOR_DECL(MADLIB_OPERATOR_DECL56,1591 #undef MADLIB_OPERATOR_DECLMADLIB_OPERATOR_DECL61,1821 SystemInformation* mSysInfo;mSysInfo70,2015 FunctionInformation* mFuncInfo;mFuncInfo71,2048 uint32_t mFuncCallOptions;mFuncCallOptions72,2084 src/ports/postgres/dbconnector/main.cpp,610 namespace madlib {madlib18,542 namespace dbconnector {dbconnector20,562 namespace postgres {postgres22,587 bool AnyType::sLazyConversionToDatum = false;sLazyConversionToDatum24,609 OutputStreamBuffer gOutStreamBuffer;gOutStreamBuffer29,730 OutputStreamBuffer gErrStreamBuffer;gErrStreamBuffer30,797 std::ostream dberr(&gErrStreamBuffer);gErrStreamBuffer42,1017 #undef DECLARE_UDFDECLARE_UDF54,1233 #undef DECLARE_SR_UDFDECLARE_SR_UDF55,1252 #define DECLARE_UDF DECLARE_UDF56,1274 #define DECLARE_SR_UDF DECLARE_SR_UDF57,1315 src/ports/postgres/dbconnector/NativeRandomNumberGenerator_impl.hpp,560 #define MADLIB_POSTGRES_NATIVERANDOMNUMBERGENERATOR_IMPL_HPPMADLIB_POSTGRES_NATIVERANDOMNUMBERGENERATOR_IMPL_HPP8,276 namespace madlib {madlib10,338 namespace dbconnector {dbconnector12,358 namespace postgres {postgres14,383 NativeRandomNumberGenerator::NativeRandomNumberGenerator() { }NativeRandomNumberGenerator17,412 NativeRandomNumberGenerator::seed(result_type inSeed) {seed26,613 NativeRandomNumberGenerator::operator()() {operator ()35,856 NativeRandomNumberGenerator::min() {min46,1176 NativeRandomNumberGenerator::max() {max62,1781 src/ports/postgres/dbconnector/NativeRandomNumberGenerator_proto.hpp,357 #define MADLIB_POSTGRES_NATIVERANDOMNUMBERGENERATOR_PROTO_HPPMADLIB_POSTGRES_NATIVERANDOMNUMBERGENERATOR_PROTO_HPP8,278 namespace madlib {madlib10,341 namespace dbconnector {dbconnector12,361 namespace postgres {postgres14,386 class NativeRandomNumberGenerator {NativeRandomNumberGenerator23,652 typedef double result_type;result_type25,696 src/ports/postgres/dbconnector/NewDelete.cpp,307 operator new(std::size_t size) throw (std::bad_alloc) {operator new47,1819 operator delete(void *ptr) throw() {operator delete63,2333 operator new(std::size_t size, const std::nothrow_t&) throw() {operator new75,2715 operator delete(void *ptr, const std::nothrow_t&) throw() {operator delete89,3149 src/ports/postgres/dbconnector/OutputStreamBuffer_impl.hpp,292 #define MADLIB_POSTGRES_OUTPUTSTREAMBUFFER_IMPL_HPPMADLIB_POSTGRES_OUTPUTSTREAMBUFFER_IMPL_HPP8,258 namespace madlib {madlib10,311 namespace dbconnector {dbconnector12,331 namespace postgres {postgres14,356 OutputStreamBuffer::output(char *inMsg,output25,582 src/ports/postgres/dbconnector/OutputStreamBuffer_proto.hpp,268 #define MADLIB_POSTGRES_OUTPUTSTREAMBUFFER_PROTO_HPPMADLIB_POSTGRES_OUTPUTSTREAMBUFFER_PROTO_HPP8,260 namespace madlib {madlib10,314 namespace dbconnector {dbconnector12,334 namespace postgres {postgres14,359 class OutputStreamBufferOutputStreamBuffer21,560 src/ports/postgres/dbconnector/PGException_proto.hpp,372 #define MADLIB_POSTGRES_PGEXCEPTION_PROTO_HPPMADLIB_POSTGRES_PGEXCEPTION_PROTO_HPP8,246 namespace madlib {madlib10,293 namespace dbconnector {dbconnector12,313 namespace postgres {postgres14,338 class PGException : public std::runtime_error {PGException19,419 PGException()PGException22,489 PGException(ErrorData* /* inErrorData */)PGException26,630 src/ports/postgres/dbconnector/SystemInformation_impl.hpp,1557 #define MADLIB_POSTGRES_SYSTEMINFORMATION_IMPL_HPPMADLIB_POSTGRES_SYSTEMINFORMATION_IMPL_HPP8,256 namespace madlib {madlib10,308 namespace dbconnector {dbconnector12,328 namespace postgres {postgres14,353 initializeOidHashTable(HTAB*& ioHashTable, MemoryContext inCacheContext,initializeOidHashTable23,455 setSystemInformationInFmgrInfo(FmgrInfo* inFmgrInfo,setSystemInformationInFmgrInfo58,1758 getSystemInformationFromFmgrInfo(FmgrInfo* inFmgrInfo) {getSystemInformationFromFmgrInfo74,2159 getMemoryContextFromFmgrInfo(FmgrInfo* inFmgrInfo) {getMemoryContextFromFmgrInfo91,2700 SystemInformation::get(FunctionCallInfo fcinfo) {get109,3253 SystemInformation::typeInformation(Oid inTypeID) {typeInformation138,4216 SystemInformation::functionInformation(Oid inFuncID) {functionInformation208,7032 TypeInformation::getTupleDesc(int32_t inTypeMod) {getTupleDesc325,12265 TypeInformation::isCompositeType() {isCompositeType356,13426 TypeInformation::getName() {getName365,13601 TypeInformation::isByValue() {isByValue371,13662 TypeInformation::getLen() {getLen377,13729 TypeInformation::getType() {getType383,13788 FunctionInformation::getArgumentType(uint16_t inArgID, FmgrInfo* inFmgrInfo) {getArgumentType402,14352 FunctionInformation::getReturnType(FunctionCallInfo fcinfo) {getReturnType432,15394 FunctionInformation::getReturnTupleDesc(FunctionCallInfo fcinfo) {getReturnTupleDesc468,16794 FunctionInformation::getFuncMgrInfo() {getFuncMgrInfo525,19212 FunctionInformation::getFullName() {getFullName563,20616 src/ports/postgres/dbconnector/SystemInformation_proto.hpp,1276 #define MADLIB_POSTGRES_SYSTEMINFORMATION_PROTO_HPPMADLIB_POSTGRES_SYSTEMINFORMATION_PROTO_HPP8,252 namespace madlib {madlib12,355 namespace dbconnector {dbconnector14,375 namespace postgres {postgres16,400 struct TypeInformation {TypeInformation24,607 Oid oid;oid28,700 char name[NAMEDATALEN];name33,747 int16_t len;len41,1084 bool byval;byval47,1233 char type;type53,1369 TupleDesc tupdesc;tupdesc60,1604 struct FunctionInformation {FunctionInformation77,2039 Oid oid;oid81,2136 UDF::Pointer cxx_func;cxx_func89,2464 FmgrInfo flinfo;flinfo105,3175 TypeFuncClass funcclass;funcclass111,3318 uint16_t nargs;nargs118,3485 Oid *argtypes;argtypes124,3620 bool polymorphic;polymorphic130,3791 bool isstrict;isstrict137,4024 bool secdef;secdef144,4221 Oid rettype;rettype149,4281 TupleDesc tupdesc;tupdesc157,4586 SystemInformation* mSysInfo;mSysInfo162,4666 struct SystemInformation {SystemInformation193,6182 Oid entryFuncOID;entryFuncOID197,6293 MemoryContext cacheContext;cacheContext202,6384 Oid collationOID;collationOID213,6899 HTAB *types;types218,7004 HTAB *functions;functions224,7167 void *user_fctx;user_fctx232,7491 src/ports/postgres/dbconnector/TransparentHandle_impl.hpp,518 #define MADLIB_POSTGRES_TRANSPARENTHANDLE_IMPL_HPPMADLIB_POSTGRES_TRANSPARENTHANDLE_IMPL_HPP8,256 namespace madlib {madlib10,308 namespace dbconnector {dbconnector12,328 namespace postgres {postgres14,353 TransparentHandle::TransparentHandle(val_type* inPtr)TransparentHandle17,413 TransparentHandle::ptr() const {ptr26,662 TransparentHandle::TransparentHandle(val_type* inPtr)TransparentHandle33,791 TransparentHandle::ptr() {ptr42,1021 src/ports/postgres/dbconnector/TransparentHandle_proto.hpp,632 #define MADLIB_POSTGRES_TRANSPARENTHANDLE_PROTO_HPPMADLIB_POSTGRES_TRANSPARENTHANDLE_PROTO_HPP8,258 namespace madlib {madlib10,311 namespace dbconnector {dbconnector12,331 namespace postgres {postgres14,356 class TransparentHandle {TransparentHandle23,667 typedef const T val_type;val_type25,701 enum { isMutable = IsMutable };isMutable26,731 val_type *mPtr;mPtr33,848 class TransparentHandleTransparentHandle40,974 typedef TransparentHandle Base;Base44,1076 typedef T val_type;val_type45,1132 enum { isMutable = dbal::Mutable };isMutable46,1156 src/ports/postgres/dbconnector/TypeTraits_impl.hpp,7653 #define MADLIB_POSTGRES_TYPETRAITS_IMPL_HPPMADLIB_POSTGRES_TYPETRAITS_IMPL_HPP8,242 namespace madlib {madlib10,287 namespace dbconnector {dbconnector12,307 namespace postgres {postgres14,332 class convertTo {convertTo17,382 convertTo(const T& inOrig) : mOrig(inOrig) { }convertTo19,408 operator U() {operator U21,460 const T& mOrig;mOrig44,1429 #define WITH_OID(WITH_OID47,1453 #define WITHOUT_OID WITHOUT_OID54,1708 #define WITH_TYPE_CLASS(WITH_TYPE_CLASS56,1755 #define WITH_TYPE_NAME(WITH_TYPE_NAME58,1824 #define WITHOUT_TYPE_NAME WITHOUT_TYPE_NAME67,2150 #define WITH_MUTABILITY(WITH_MUTABILITY76,2384 #define WITHOUT_SYSINFO WITHOUT_SYSINFO78,2458 #define WITH_DEFAULT_EXTENDED_TRAITS WITH_DEFAULT_EXTENDED_TRAITS82,2576 #define WITH_SYS_INFO_CONVERSION(WITH_SYS_INFO_CONVERSION85,2659 #define WITH_TO_PG_CONVERSION(WITH_TO_PG_CONVERSION90,2848 #define WITH_TO_CXX_CONVERSION(WITH_TO_CXX_CONVERSION94,2985 #define WITH_BIND_TO_STREAM(WITH_BIND_TO_STREAM103,3276 struct TypeTraitsBase {TypeTraitsBase113,3520 enum { oid = InvalidOid };oid114,3544 enum { alignment = MAXIMUM_ALIGNOF };alignment116,3576 enum { isMutable = dbal::Immutable };isMutable117,3618 enum { typeClass = dbal::SimpleType };typeClass118,3660 typedef T value_type;value_type120,3704 static const char* typeName() {typeName122,3731 static SystemInformation* toSysInfo(const value_type&) {toSysInfo126,3795 struct TypeTraits : public TypeTraitsBase {TypeTraits132,3899 enum { oid = FLOAT8OID };oid133,3959 enum { alignment = ALIGNOF_DOUBLE };alignment134,3989 struct TypeTraits{TypeTraits140,4151 typedef float value_type;value_type141,4177 WITH_DEFAULT_EXTENDED_TRAITS;WITH_DEFAULT_EXTENDED_TRAITS146,4316 struct TypeTraits : public TypeTraitsBase {TypeTraits152,4471 enum { oid = INT8OID };oid153,4533 enum { alignment = ALIGNOF_DOUBLE };alignment154,4561 struct TypeTraits : public TypeTraitsBase {TypeTraits160,4721 enum { oid = INT8OID };oid161,4785 enum { alignment = ALIGNOF_DOUBLE };alignment162,4813 struct TypeTraits : public TypeTraitsBase {TypeTraits172,5061 enum { oid = INT4OID };oid173,5123 enum { alignment = ALIGNOF_INT };alignment174,5151 struct TypeTraits : public TypeTraitsBase {TypeTraits180,5308 enum { oid = INT4OID };oid181,5372 enum { alignment = ALIGNOF_INT };alignment182,5400 struct TypeTraits : public TypeTraitsBase {TypeTraits192,5645 enum { oid = INT2OID };oid193,5707 enum { alignment = ALIGNOF_SHORT };alignment194,5735 struct TypeTraits : public TypeTraitsBase {TypeTraits200,5894 enum { oid = INT2OID };oid201,5958 enum { alignment = ALIGNOF_SHORT };alignment202,5986 struct TypeTraits {TypeTraits212,6233 typedef bool value_type;value_type213,6259 WITH_DEFAULT_EXTENDED_TRAITS;WITH_DEFAULT_EXTENDED_TRAITS218,6395 struct TypeTraits {TypeTraits224,6546 typedef char* value_type;value_type225,6573 WITH_DEFAULT_EXTENDED_TRAITS;WITH_DEFAULT_EXTENDED_TRAITS230,6710 struct TypeTraits : public TypeTraitsBase {TypeTraits236,6896 enum { alignment = MAXIMUM_ALIGNOF };alignment237,6964 struct TypeTraits : public TypeTraitsBase {TypeTraits244,7178 enum { alignment = MAXIMUM_ALIGNOF };alignment245,7260 struct TypeTraits {TypeTraits257,7602 typedef FunctionHandle value_type;value_type258,7638 WITHOUT_TYPE_NAME;WITHOUT_TYPE_NAME263,7787 struct TypeTraits >TypeTraits270,8021 enum { oid = INT4ARRAYOID };oid272,8113 enum { isMutable = dbal::Immutable };isMutable273,8146 enum { typeClass = dbal::ArrayType };typeClass274,8188 struct TypeTraits >TypeTraits280,8371 enum { oid = INT4ARRAYOID };oid282,8477 enum { isMutable = dbal::Mutable };isMutable283,8510 enum { typeClass = dbal::ArrayType };typeClass284,8550 struct TypeTraits > {TypeTraits294,8823 typedef ArrayHandle value_type;value_type295,8865 WITH_DEFAULT_EXTENDED_TRAITS;WITH_DEFAULT_EXTENDED_TRAITS300,9022 struct TypeTraits > {TypeTraits306,9197 typedef ArrayHandle value_type;value_type307,9238 WITH_DEFAULT_EXTENDED_TRAITS;WITH_DEFAULT_EXTENDED_TRAITS312,9390 struct TypeTraits > {TypeTraits323,9811 typedef MutableArrayHandle value_type;value_type324,9860 WITH_DEFAULT_EXTENDED_TRAITS;WITH_DEFAULT_EXTENDED_TRAITS329,10022 struct TypeTraits<TypeTraits339,10287 ArrayHandle > value_type;value_type346,10535 WITH_DEFAULT_EXTENDED_TRAITS;WITH_DEFAULT_EXTENDED_TRAITS351,10688 struct TypeTraits<TypeTraits360,10954 MutableArrayHandle > value_type;value_type367,11197 WITH_DEFAULT_EXTENDED_TRAITS;WITH_DEFAULT_EXTENDED_TRAITS372,11357 struct TypeTraits<TypeTraits385,11821 TransparentHandle > > Base;Base401,12586 typedef typename Base::value_type value_type;value_type402,12641 enum { oid = FLOAT8ARRAYOID };oid404,12692 enum { alignment = ALIGNOF_DOUBLE };alignment405,12727 enum { isMutable = IsMutable };isMutable406,12768 enum { typeClass = dbal::ArrayType };typeClass407,12804 struct TypeTraits<TypeTraits416,13044 ArrayHandle > value_type;value_type423,13280 WITH_DEFAULT_EXTENDED_TRAITS;WITH_DEFAULT_EXTENDED_TRAITS428,13435 struct TypeTraits<TypeTraits438,13710 MutableArrayHandle > value_type;value_type445,13941 WITH_DEFAULT_EXTENDED_TRAITS;WITH_DEFAULT_EXTENDED_TRAITS450,14101 struct TypeTraits<TypeTraits462,14487 TransparentHandle > > Base;Base478,15216 typedef typename Base::value_type value_type;value_type479,15271 enum { oid = FLOAT8ARRAYOID };oid481,15322 enum { alignment = ALIGNOF_DOUBLE };alignment482,15357 enum { isMutable = IsMutable };isMutable483,15398 enum { typeClass = dbal::ArrayType };typeClass484,15434 struct TypeTraitsTypeTraits493,15673 typedef dbal::eigen_integration::Matrix value_type;value_type495,15785 enum { oid = FLOAT8ARRAYOID };oid497,15842 enum { isMutable = dbal::Immutable };isMutable498,15877 enum { typeClass = dbal::ArrayType };typeClass499,15919 struct TypeTraits {TypeTraits560,18038 typedef dbal::eigen_integration::SparseColumnVector value_type;value_type561,18103 WITHOUT_OID;WITHOUT_OID563,18172 WITHOUT_SYSINFO;WITHOUT_SYSINFO567,18298 struct TypeTraitsTypeTraits579,18576 enum { alignment = MAXIMUM_ALIGNOF };alignment582,18699 #undef WITH_OIDWITH_OID585,18745 #undef WITHOUT_OIDWITHOUT_OID586,18761 #undef WITH_TYPE_CLASSWITH_TYPE_CLASS587,18780 #undef WITH_TYPE_NAMEWITH_TYPE_NAME588,18803 #undef WITHOUT_TYPE_NAMEWITHOUT_TYPE_NAME589,18825 #undef WITH_MUTABILITYWITH_MUTABILITY590,18850 #undef WITHOUT_SYSINFOWITHOUT_SYSINFO591,18873 #undef WITH_DEFAULT_EXTENDED_TRAITSWITH_DEFAULT_EXTENDED_TRAITS592,18896 #undef WITH_SYS_INFO_CONVERSIONWITH_SYS_INFO_CONVERSION593,18932 #undef WITH_TO_PG_CONVERSIONWITH_TO_PG_CONVERSION594,18964 #undef WITH_TO_CXX_CONVERSIONWITH_TO_CXX_CONVERSION595,18993 src/ports/postgres/dbconnector/TypeTraits_proto.hpp,201 #define MADLIB_POSTGRES_TYPETRAITS_PROTO_HPPMADLIB_POSTGRES_TYPETRAITS_PROTO_HPP8,244 namespace madlib {madlib10,290 namespace dbconnector {dbconnector12,310 namespace postgres {postgres14,335 src/ports/postgres/dbconnector/UDF_impl.hpp,976 #define MADLIB_POSTGRES_UDF_IMPL_HPPMADLIB_POSTGRES_UDF_IMPL_HPP8,228 namespace madlib {madlib10,266 namespace dbconnector {dbconnector12,286 namespace postgres {postgres14,311 #define MADLIB_HANDLE_STANDARD_EXCEPTION(MADLIB_HANDLE_STANDARD_EXCEPTION16,333 #define MADLIB_SRF_IS_FIRSTCALL(MADLIB_SRF_IS_FIRSTCALL20,449 #define MADLIB_SRF_FIRSTCALL_INIT(MADLIB_SRF_FIRSTCALL_INIT21,518 #define MADLIB_SRF_PERCALL_SETUP(MADLIB_SRF_PERCALL_SETUP22,575 #define MADLIB_SRF_RETURN_NEXT(MADLIB_SRF_RETURN_NEXT23,646 #define MADLIB_SRF_RETURN_DONE(MADLIB_SRF_RETURN_DONE24,731 UDF::SRF_is_firstcall(FunctionCallInfo fcinfo){SRF_is_firstcall35,1029 UDF::SRF_percall_setup(FunctionCallInfo fcinfo){SRF_percall_setup53,1442 UDF::invoke(AnyType& args) {invoke76,2066 UDF::SRF_invoke(FunctionCallInfo fcinfo) {SRF_invoke93,2410 UDF::call(FunctionCallInfo fcinfo) {call141,3857 #undef MADLIB_HANDLE_STANDARD_EXCEPTIONMADLIB_HANDLE_STANDARD_EXCEPTION214,6527 src/ports/postgres/dbconnector/UDF_proto.hpp,352 #define MADLIB_POSTGRES_UDF_PROTO_HPPMADLIB_POSTGRES_UDF_PROTO_HPP8,230 namespace madlib {madlib10,269 namespace dbconnector {dbconnector12,289 namespace postgres {postgres14,314 class UDF : public Allocator {UDF19,376 typedef AnyType (*Pointer)(AnyType&);Pointer21,415 UDF() { }UDF23,458 UDF::Pointer funcPtr() {funcPtr45,1048 src/ports/postgres/modules/assoc_rules/__init__.py_in,0 src/ports/postgres/modules/assoc_rules/assoc_rules.py_in,219 def __assert(condition, msg):__assert19,345 def __float_gt(val1, val2):__float_gt30,640 def __float_le(val1, val2):__float_le41,939 def assoc_rules(madlib_schema, support, confidence, tid_col,assoc_rules57,1666 src/ports/postgres/modules/assoc_rules/assoc_rules.sql_in,690 This type of data mining algorithm uses transactional data. Every transaction event has a unique identification, and each transaction consists of a set of items (or itemset). Purchases are considered binary (either it was purchased or not), and this implementation does not take into consideration the quantity of each item. For the MADlib association rules function, it is assumed that the data is stored in two columns with one item and transaction id per row. Transactions with multiple items will span multiple rows with one row per item.has26,1889 CREATE TABLE test_data (test_data135,7723 trans_id INTtest_data.trans_id136,7748 , product texttest_data.product137,7765 src/ports/postgres/modules/assoc_rules/test/assoc_rules.sql_in,1356 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.assoc_array_eqassoc_array_eq13,596 CREATE TABLE test_data1 (test_data138,1262 trans_id INTtest_data1.trans_id39,1292 , product INTtest_data1.product40,1313 CREATE TABLE test_data2 (test_data244,1380 trans_id INTtest_data2.trans_id45,1410 , product VARCHARtest_data2.product46,1431 CREATE TABLE test1_exp_result (test1_exp_result76,2566 ruleid integer,test1_exp_result.ruleid77,2602 pre text[],test1_exp_result.pre78,2626 post text[],test1_exp_result.post79,2646 support double precision,test1_exp_result.support80,2667 confidence double precision,test1_exp_result.confidence81,2701 lift double precision,test1_exp_result.lift82,2738 conviction double precisiontest1_exp_result.conviction83,2769 CREATE TABLE test2_exp_result (test2_exp_result87,2857 ruleid integer,test2_exp_result.ruleid88,2893 pre text[],test2_exp_result.pre89,2917 post text[],test2_exp_result.post90,2937 support double precision,test2_exp_result.support91,2958 confidence double precision,test2_exp_result.confidence92,2992 lift double precision,test2_exp_result.lift93,3029 conviction double precisiontest2_exp_result.conviction94,3060 src/ports/postgres/modules/bayes/__init__.py_in,0 src/ports/postgres/modules/bayes/bayes.py_in,1206 def __get_feature_probs_sql(**kwargs):__get_feature_probs_sql38,1317 def __get_attr_values_sql(**kwargs):__get_attr_values_sql110,3907 def __get_attr_counts_sql(**kwargs):__get_attr_counts_sql145,4980 def __get_class_priors_sql(**kwargs):__get_class_priors_sql177,5851 def __get_keys_and_prob_values_sql(**kwargs):__get_keys_and_prob_values_sql207,6696 def __get_prob_values_sql(**kwargs):__get_prob_values_sql292,10147 def __get_classification_sql(**kwargs):__get_classification_sql359,12698 def create_prepared_data_table(**kwargs):create_prepared_data_table379,13287 def create_prepared_data(**kwargs):create_prepared_data385,13495 def create_classification_view(**kwargs):create_classification_view484,17083 def create_classification(**kwargs):create_classification491,17293 def create_bayes_probabilities_view(**kwargs):create_bayes_probabilities_view571,20319 def create_bayes_probabilities(**kwargs):create_bayes_probabilities577,20543 def create_classification_function(**kwargs):create_classification_function696,25027 def __init_prepared_data(kwargs):__init_prepared_data751,27197 def __verify_attr_num(sourceTable, attrColumn, numAttr):__verify_attr_num771,27799 src/ports/postgres/modules/bayes/bayes.sql_in,76 CREATE FUNCTION MADLIB_SCHEMA.argmax_transition(argmax_transition269,9437 src/ports/postgres/modules/bayes/test/bayes.sql_in,2145 CREATE OR REPLACE FUNCTION fill_feature(pre_class INT, p FLOAT, total INT)fill_feature13,598 CREATE OR REPLACE FUNCTION fill_feature3(pre_class INT, p1 FLOAT, p2 FLOAT, total INT)fill_feature330,866 CREATE FUNCTION install_test_1() RETURNS VOID AS $$ install_test_154,1294 CREATE TABLE data_1( class INT, attrib FLOAT[] );data_166,1522 CREATE TABLE data_1( class INT, attrib FLOAT[] );data_1.class66,1522 CREATE TABLE data_1( class INT, attrib FLOAT[] );data_1.attrib66,1522 CREATE TABLE data_test_1( id INT, attrib INT[], prob FLOAT[] );data_test_172,1892 CREATE TABLE data_test_1( id INT, attrib INT[], prob FLOAT[] );data_test_1.id72,1892 CREATE TABLE data_test_1( id INT, attrib INT[], prob FLOAT[] );data_test_1.attrib72,1892 CREATE TABLE data_test_1( id INT, attrib INT[], prob FLOAT[] );data_test_1.prob72,1892 CREATE FUNCTION install_test_2() RETURNS VOID AS $$ install_test_2133,4142 CREATE TABLE data_2( class INT, attrib FLOAT[] );data_2144,4308 CREATE TABLE data_2( class INT, attrib FLOAT[] );data_2.class144,4308 CREATE TABLE data_2( class INT, attrib FLOAT[] );data_2.attrib144,4308 CREATE TABLE data_test_2( id INT, attrib INT[], prob FLOAT[] );data_test_2150,4783 CREATE TABLE data_test_2( id INT, attrib INT[], prob FLOAT[] );data_test_2.id150,4783 CREATE TABLE data_test_2( id INT, attrib INT[], prob FLOAT[] );data_test_2.attrib150,4783 CREATE TABLE data_test_2( id INT, attrib INT[], prob FLOAT[] );data_test_2.prob150,4783 CREATE FUNCTION install_test_3() RETURNS VOID AS $$ install_test_3193,6435 CREATE TABLE data_3( class INT, attrib FLOAT[] );data_3205,6655 CREATE TABLE data_3( class INT, attrib FLOAT[] );data_3.class205,6655 CREATE TABLE data_3( class INT, attrib FLOAT[] );data_3.attrib205,6655 CREATE TABLE data_test_3( id INT, attrib INT[], prob FLOAT[] );data_test_3211,7031 CREATE TABLE data_test_3( id INT, attrib INT[], prob FLOAT[] );data_test_3.id211,7031 CREATE TABLE data_test_3( id INT, attrib INT[], prob FLOAT[] );data_test_3.attrib211,7031 CREATE TABLE data_test_3( id INT, attrib INT[], prob FLOAT[] );data_test_3.prob211,7031 src/ports/postgres/modules/compatibility/compatibility.sql_in,159 CREATE FUNCTION pg_temp._madlib_temp_function()_madlib_temp_function107,3492 CREATE FUNCTION MADLIB_SCHEMA.create_table_as(create_table_as205,6726 src/ports/postgres/modules/compatibility/test/compatibility.sql_in,89 CREATE FUNCTION run_some_non_select_stmnts(id INTEGER)run_some_non_select_stmnts15,767 src/ports/postgres/modules/conjugate_gradient/conjugate_gradient.sql_in,382 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.conjugate_gradient(Matrix TEXT, val_id TEXT, row_id TEXT, b FLOAT[], precision_limit FLOAT, verbosity INT) RETURNS FLOAT[] AS $$conjugate_gradient76,2449 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.conjugate_gradient(Matrix TEXT, val_id TEXT, row_id TEXT, b FLOAT[], precision_limit FLOAT) RETURNS FLOAT[] AS $$conjugate_gradient169,5852 src/ports/postgres/modules/conjugate_gradient/test/conj_grad.sql_in,353 CREATE FUNCTION install_test() RETURNS VOID AS $$ install_test13,598 CREATE TABLE A(A20,694 row INT,A.row21,711 val FLOAT[]A.val22,722 CREATE TABLE data(row_num INT, row_val FLOAT[]);data45,2546 CREATE TABLE data(row_num INT, row_val FLOAT[]);data.row_num45,2546 CREATE TABLE data(row_num INT, row_val FLOAT[]);data.row_val45,2546 src/ports/postgres/modules/convex/__init__.py_in,0 src/ports/postgres/modules/convex/lmf.sql_in,399 CREATE TABLE ' || rel_output || ' ( || rel_output || 318,11626 id SERIAL, || rel_output || .id319,11674 matrix_u DOUBLE PRECISION[], || rel_output || .matrix_u320,11710 matrix_v DOUBLE PRECISION[], || rel_output || .matrix_v321,11758 rmse DOUBLE PRECISION)'; || rel_output || .rmse322,11806 src/ports/postgres/modules/convex/lmf_igd.py_in,91 def compute_lmf_igd(schema_madlib, rel_args, rel_state, rel_source,compute_lmf_igd15,248 src/ports/postgres/modules/convex/test/cross_validation.sql_in,854 CREATE TABLE lin_housing_wi (x float8[],y float8);lin_housing_wi7,249 CREATE TABLE lin_housing_wi (x float8[],y float8);lin_housing_wi.x7,249 CREATE TABLE lin_housing_wi (x float8[],y float8);lin_housing_wi.y7,249 CREATE TABLE log_breast_cancer_wisconsin (x float8[],y boolean);log_breast_cancer_wisconsin518,43715 CREATE TABLE log_breast_cancer_wisconsin (x float8[],y boolean);log_breast_cancer_wisconsin.x518,43715 CREATE TABLE log_breast_cancer_wisconsin (x float8[],y boolean);log_breast_cancer_wisconsin.y518,43715 create table cvtest1 (val double precision[], dep double precision);cvtest11207,63304 create table cvtest1 (val double precision[], dep double precision);cvtest1.val1207,63304 create table cvtest1 (val double precision[], dep double precision);cvtest1.dep1207,63304 create function check_cv0()check_cv01260,67639 src/ports/postgres/modules/convex/test/lmf.sql_in,300 CREATE TABLE mlens100k (mlens100k10,300 id serial,mlens100k.id11,325 user_id INTEGER,mlens100k.user_id12,349 movie_id INTEGER,mlens100k.movie_id13,374 rating DOUBLE PRECISION);mlens100k.rating14,399 CREATE FUNCTION check_rmse()check_rmse100023,979865 src/ports/postgres/modules/convex/test/ridge_and_lasso.sql_in,0 src/ports/postgres/modules/convex/utils_regularization.py_in,1108 version_wrapper = __mad_version()version_wrapper12,439 mad_vec = version_wrapper.select_vecfunc()mad_vec13,473 def __utils_ind_var_scales(**kwargs):__utils_ind_var_scales17,598 def __utils_dep_var_scale(**kwargs):__utils_dep_var_scale39,1349 def __utils_normalize_data(y_decenter = True, **kwargs):__utils_normalize_data59,1917 def __utils_cv_preprocess(kwargs):__utils_cv_preprocess99,3575 def __utils_cv_split_and_normalization(k, kwargs):__utils_cv_split_and_normalization211,8532 def __utils_accumulate_error(accum_count, tbl_accum_error, param_value, error):__utils_accumulate_error281,12056 def __utils_cv_produce_col_name_string(col_dep_var, col_dep_var_cv_new,__utils_cv_produce_col_name_string295,12751 def __utils_cv_copy_data_with_id (rel_origin, col_dep_var, col_dep_var_cv_new,__utils_cv_copy_data_with_id314,13600 def __utils_cv_split_data_using_id_col (rel_source, col_dep_var, col_dep_var_cv_new,__utils_cv_split_data_using_id_col338,14885 def __utils_cv_split_data_using_id_tbl (rel_origin, col_dep_var, col_dep_var_cv_new,__utils_cv_split_data_using_id_tbl365,16272 src/ports/postgres/modules/convex/utils_regularization.sql_in,90 CREATE FUNCTION MADLIB_SCHEMA.__utils_var_scales_result (__utils_var_scales_result9,142 src/ports/postgres/modules/crf/__init__.py_in,0 src/ports/postgres/modules/crf/crf.py_in,238 def __runIterativeAlg(stateType, initialState, source, updateExpr,__runIterativeAlg15,166 def compute_lincrf(schema_madlib, source, sparse_R, dense_M, sparse_M, featureSize, tagSize, maxNumIterations, **kwargs):compute_lincrf112,4240 src/ports/postgres/modules/crf/crf.sql_in,126 CREATE FUNCTION MADLIB_SCHEMA.compute_lincrf(compute_lincrf506,19825 CREATE FUNCTION MADLIB_SCHEMA.lincrf(lincrf582,22696 src/ports/postgres/modules/crf/crf_data_loader.sql_in,111 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.crf_train_data(datapath text) RETURNS void AScrf_train_data133,4176 src/ports/postgres/modules/crf/crf_feature_gen.sql_in,0 src/ports/postgres/modules/crf/test/crf_test_large.sql_in,3171 CREATE TABLE crf_feature_test_new (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test_new11,606 CREATE TABLE crf_feature_test_new (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test_new.id11,606 CREATE TABLE crf_feature_test_new (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test_new.name11,606 CREATE TABLE crf_feature_test_new (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test_new.prev_label_id11,606 CREATE TABLE crf_feature_test_new (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test_new.label_id11,606 CREATE TABLE crf_feature_test_new (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test_new.weight11,606 CREATE TABLE crf_dictionary_new (token text,total integer);crf_dictionary_new310,13423 CREATE TABLE crf_dictionary_new (token text,total integer);crf_dictionary_new.token310,13423 CREATE TABLE crf_dictionary_new (token text,total integer);crf_dictionary_new.total310,13423 CREATE TABLE crf_regex_new (pattern text,name text);crf_regex_new447,15394 CREATE TABLE crf_regex_new (pattern text,name text);crf_regex_new.pattern447,15394 CREATE TABLE crf_regex_new (pattern text,name text);crf_regex_new.name447,15394 CREATE TABLE crf_label_new (id integer,label character varying);crf_label_new457,15962 CREATE TABLE crf_label_new (id integer,label character varying);crf_label_new.id457,15962 CREATE TABLE crf_label_new (id integer,label character varying);crf_label_new.label457,15962 CREATE TABLE test_segmenttbl_new (start_pos integer,doc_id integer,seg_text text,max_pos integer);test_segmenttbl_new473,16791 CREATE TABLE test_segmenttbl_new (start_pos integer,doc_id integer,seg_text text,max_pos integer);test_segmenttbl_new.start_pos473,16791 CREATE TABLE test_segmenttbl_new (start_pos integer,doc_id integer,seg_text text,max_pos integer);test_segmenttbl_new.doc_id473,16791 CREATE TABLE test_segmenttbl_new (start_pos integer,doc_id integer,seg_text text,max_pos integer);test_segmenttbl_new.seg_text473,16791 CREATE TABLE test_segmenttbl_new (start_pos integer,doc_id integer,seg_text text,max_pos integer);test_segmenttbl_new.max_pos473,16791 CREATE TABLE expected_extraction_new(doc_id integer, start_pos integer, seg_text text, label character varying);expected_extraction_new601,19967 CREATE TABLE expected_extraction_new(doc_id integer, start_pos integer, seg_text text, label character varying);expected_extraction_new.doc_id601,19967 CREATE TABLE expected_extraction_new(doc_id integer, start_pos integer, seg_text text, label character varying);expected_extraction_new.start_pos601,19967 CREATE TABLE expected_extraction_new(doc_id integer, start_pos integer, seg_text text, label character varying);expected_extraction_new.seg_text601,19967 CREATE TABLE expected_extraction_new(doc_id integer, start_pos integer, seg_text text, label character varying);expected_extraction_new.label601,19967 src/ports/postgres/modules/crf/test/crf_test_small.sql_in,3165 CREATE TABLE crf_document (id integer,text text);crf_document11,454 CREATE TABLE crf_document (id integer,text text);crf_document.id11,454 CREATE TABLE crf_document (id integer,text text);crf_document.text11,454 CREATE TABLE crf_feature_test (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test19,1062 CREATE TABLE crf_feature_test (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test.id19,1062 CREATE TABLE crf_feature_test (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test.name19,1062 CREATE TABLE crf_feature_test (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test.prev_label_id19,1062 CREATE TABLE crf_feature_test (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test.label_id19,1062 CREATE TABLE crf_feature_test (id integer,name text,prev_label_id integer,label_id integer,weight float);crf_feature_test.weight19,1062 CREATE TABLE crf_dictionary (token text,total integer);crf_dictionary59,5782 CREATE TABLE crf_dictionary (token text,total integer);crf_dictionary.token59,5782 CREATE TABLE crf_dictionary (token text,total integer);crf_dictionary.total59,5782 CREATE TABLE crf_regex (pattern text,name text);crf_regex76,6628 CREATE TABLE crf_regex (pattern text,name text);crf_regex.pattern76,6628 CREATE TABLE crf_regex (pattern text,name text);crf_regex.name76,6628 CREATE TABLE crf_label (id integer,label character varying);crf_label86,7184 CREATE TABLE crf_label (id integer,label character varying);crf_label.id86,7184 CREATE TABLE crf_label (id integer,label character varying);crf_label.label86,7184 CREATE TABLE test_segmenttbl (start_pos integer,doc_id integer,seg_text text,max_pos integer);test_segmenttbl96,7883 CREATE TABLE test_segmenttbl (start_pos integer,doc_id integer,seg_text text,max_pos integer);test_segmenttbl.start_pos96,7883 CREATE TABLE test_segmenttbl (start_pos integer,doc_id integer,seg_text text,max_pos integer);test_segmenttbl.doc_id96,7883 CREATE TABLE test_segmenttbl (start_pos integer,doc_id integer,seg_text text,max_pos integer);test_segmenttbl.seg_text96,7883 CREATE TABLE test_segmenttbl (start_pos integer,doc_id integer,seg_text text,max_pos integer);test_segmenttbl.max_pos96,7883 CREATE TABLE expected_extraction(doc_id integer, start_pos integer, seg_text text, label character varying);expected_extraction118,9668 CREATE TABLE expected_extraction(doc_id integer, start_pos integer, seg_text text, label character varying);expected_extraction.doc_id118,9668 CREATE TABLE expected_extraction(doc_id integer, start_pos integer, seg_text text, label character varying);expected_extraction.start_pos118,9668 CREATE TABLE expected_extraction(doc_id integer, start_pos integer, seg_text text, label character varying);expected_extraction.seg_text118,9668 CREATE TABLE expected_extraction(doc_id integer, start_pos integer, seg_text text, label character varying);expected_extraction.label118,9668 src/ports/postgres/modules/crf/test/crf_train_large.sql_in,130 SELECT assert(s1.count+s2.count = 0, 'Features extracted do not match expected features.')count564,20641 ) AS UU572,20918 src/ports/postgres/modules/crf/test/crf_train_small.sql_in,0 src/ports/postgres/modules/crf/viterbi.sql_in,0 src/ports/postgres/modules/data_profile/__init__.py_in,0 src/ports/postgres/modules/data_profile/profile.py_in,289 aggs = {}aggs17,304 def profile( madlib_schema, input_table, funclist, buckets):profile40,1440 def __catalog_columns( schema_name, table_name):__catalog_columns88,3548 def __get_profile_data( schema, table, numcols, non_numcols, aggs, funclist, buckets):__get_profile_data121,5039 src/ports/postgres/modules/data_profile/profile.sql_in,0 src/ports/postgres/modules/data_profile/test/data_profile.sql_in,0 src/ports/postgres/modules/elastic_net/__init__.py_in,0 src/ports/postgres/modules/elastic_net/elastic_net.py_in,830 version_wrapper = __mad_version()version_wrapper16,635 mad_vec = version_wrapper.select_vecfunc()mad_vec17,669 def elastic_net_help(schema_madlib, family_or_optimizer = None, **kwargs):elastic_net_help21,789 def elastic_net_train(schema_madlib, tbl_source, tbl_result, col_dep_var,elastic_net_train271,12258 def __check_args (tbl_source, col_ind_var, col_dep_var):__check_args373,17647 def analyze_input_str(schema_madlib, tbl_source,analyze_input_str388,18275 def elastic_net_predict_all (schema_madlib, tbl_model, tbl_new_source,elastic_net_predict_all472,21542 def __elastic_net_gaussian_predict_all(schema_madlib, tbl_model, tbl_new_source,__elastic_net_gaussian_predict_all495,22538 def __elastic_net_binomial_predict_all(schema_madlib, tbl_model, tbl_new_source,__elastic_net_binomial_predict_all554,24491 src/ports/postgres/modules/elastic_net/elastic_net.sql_in,824 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.elastic_net_train (elastic_net_train286,16255 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.elastic_net_train (elastic_net_train328,17638 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.elastic_net_train (elastic_net_train348,18260 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.elastic_net_train (elastic_net_train367,18846 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.elastic_net_train (elastic_net_train385,19403 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.elastic_net_train (elastic_net_train402,19922 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.elastic_net_train (elastic_net_train418,20404 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.elastic_net_train ()elastic_net_train437,20983 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.elastic_net_gaussian_predict (elastic_net_gaussian_predict531,24205 src/ports/postgres/modules/elastic_net/elastic_net_gaussian_fista.py_in,853 version_wrapper = __mad_version()version_wrapper25,1062 mad_vec = version_wrapper.select_vecfunc()mad_vec26,1096 def __fista_params_parser(optimizer_params, lambda_value, schema_madlib):__fista_params_parser30,1217 def __fista_create_tbl_args(**args):__fista_create_tbl_args129,5094 def __fista_construct_dict(schema_madlib, tbl_source, col_ind_var, col_dep_var,__fista_construct_dict164,6670 def __fista_cleanup_temp_tbls(**args):__fista_cleanup_temp_tbls221,9356 def __elastic_net_gaussian_fista_train(schema_madlib, tbl_source, col_ind_var,__elastic_net_gaussian_fista_train239,9992 def __elastic_net_gaussian_fista_train_compute (schema_madlib, tbl_source, col_ind_var,__elastic_net_gaussian_fista_train_compute253,10951 def __compute_gaussian_fista(schema_madlib, tbl_args, tbl_state, tbl_source,__compute_gaussian_fista353,16442 src/ports/postgres/modules/elastic_net/elastic_net_gaussian_igd.py_in,822 version_wrapper = __mad_version()version_wrapper21,891 mad_vec = version_wrapper.select_vecfunc()mad_vec22,925 def __igd_params_parser(optimizer_params, lambda_value, schema_madlib):__igd_params_parser26,1046 def __igd_create_tbl_args(**args):__igd_create_tbl_args126,4934 def __igd_construct_dict(schema_madlib, tbl_source, col_ind_var, col_dep_var,__igd_construct_dict159,6342 def __igd_cleanup_temp_tbls(**args):__igd_cleanup_temp_tbls215,8897 def __elastic_net_gaussian_igd_train(schema_madlib, tbl_source, col_ind_var,__elastic_net_gaussian_igd_train232,9520 def __elastic_net_gaussian_igd_train_compute(schema_madlib, tbl_source, col_ind_var,__elastic_net_gaussian_igd_train_compute246,10468 def __compute_gaussian_igd(schema_madlib, tbl_args, tbl_state, tbl_source,__compute_gaussian_igd346,15922 src/ports/postgres/modules/elastic_net/elastic_net_generate_result.py_in,290 version_wrapper = __mad_version()version_wrapper9,258 mad_vec = version_wrapper.select_vecfunc()mad_vec10,292 def __elastic_net_generate_result (optimizer, iteration_run, **args):__elastic_net_generate_result12,336 def __restore_scale (coef, intercept, args):__restore_scale90,3420 src/ports/postgres/modules/elastic_net/elastic_net_models.py_in,479 def __elastic_net_gaussian_fista_train(schema_madlib, tbl_source, col_ind_var,__elastic_net_gaussian_fista_train11,329 def __elastic_net_gaussian_igd_train(schema_madlib, tbl_source, col_ind_var,__elastic_net_gaussian_igd_train29,1312 def __elastic_net_binomial_fista_train(schema_madlib, tbl_source, col_ind_var,__elastic_net_binomial_fista_train47,2261 def __elastic_net_binomial_igd_train(schema_madlib, tbl_source, col_ind_var,__elastic_net_binomial_igd_train65,3244 src/ports/postgres/modules/elastic_net/elastic_net_optimizer_fista.py_in,817 version_wrapper = __mad_version()version_wrapper24,1002 mad_vec = version_wrapper.select_vecfunc()mad_vec25,1036 def __fista_params_parser(optimizer_params, lambda_value, tolerance, schema_madlib):__fista_params_parser29,1157 def __fista_create_tbl_args(**args):__fista_create_tbl_args158,6462 def __fista_construct_dict(schema_madlib, family, tbl_source, col_ind_var, col_dep_var,__fista_construct_dict188,7744 def __fista_cleanup_temp_tbls(**args):__fista_cleanup_temp_tbls245,10401 def __elastic_net_fista_train(schema_madlib, func_step_aggregate,__elastic_net_fista_train263,11037 def __elastic_net_fista_train_compute (schema_madlib, func_step_aggregate,__elastic_net_fista_train_compute290,12514 def __compute_fista(schema_madlib, func_step_aggregate, func_state_diff,__compute_fista400,18427 src/ports/postgres/modules/elastic_net/elastic_net_optimizer_igd.py_in,759 version_wrapper = __mad_version()version_wrapper21,891 mad_vec = version_wrapper.select_vecfunc()mad_vec22,925 def __igd_params_parser(optimizer_params, lambda_value, tolerance, schema_madlib):__igd_params_parser26,1046 def __igd_create_tbl_args(**args):__igd_create_tbl_args148,5849 def __igd_construct_dict(schema_madlib, family, tbl_source,__igd_construct_dict181,7257 def __igd_cleanup_temp_tbls(**args):__igd_cleanup_temp_tbls240,9894 def __elastic_net_igd_train(schema_madlib, func_step_aggregate,__elastic_net_igd_train257,10517 def __elastic_net_igd_train_compute(schema_madlib, func_step_aggregate,__elastic_net_igd_train_compute275,11627 def __compute_igd(schema_madlib, func_step_aggregate, func_state_diff,__compute_igd385,17455 src/ports/postgres/modules/elastic_net/elastic_net_utils.py_in,1529 version_wrapper = __mad_version()version_wrapper21,892 mad_vec = version_wrapper.select_vecfunc()mad_vec22,926 def __preprocess_optimizer_params (optimizer_params):__preprocess_optimizer_params26,1046 def __process_results (coef, intercept, outstr_array):__process_results42,1583 def __process_warmup_lambdas (lambdas, lambda_value):__process_warmup_lambdas60,2203 def __generate_warmup_lambda_sequence (tbl_used, col_ind_var, col_dep_var,__generate_warmup_lambda_sequence93,3437 def __compute_average_sq(**args):__compute_average_sq136,5164 def __compute_log_likelihood (coef, coef_str, intercept, **args):__compute_log_likelihood150,5672 def __elastic_net_validate_args(tbl_source, col_ind_var, col_dep_var,__elastic_net_validate_args195,7493 def __compute_data_scales (args):__compute_data_scales241,9731 def __normalize_data(args):__normalize_data254,10320 def __tbl_dimension_rownum(tbl_source, col_ind_var):__tbl_dimension_rownum281,11444 def __compute_means (**args):__compute_means300,12256 class IterationControllerNoTableDrop (IterationController):IterationControllerNoTableDrop315,12750 def __init__(self, rel_args, rel_state, stateType,__init__325,13118 def update(self, newState):update345,14315 def __enter__(self):__enter__376,15630 class IterationControllerTableAppend (IterationControllerNoTableDrop):IterationControllerTableAppend389,16073 def __init__(self, rel_args, rel_state, stateType,__init__390,16144 def update(self, newState):update416,17272 src/ports/postgres/modules/elastic_net/test/elastic_net_install_check.sql_in,285 CREATE TABLE lin_housing_wi (x float8[],y float8);lin_housing_wi7,227 CREATE TABLE lin_housing_wi (x float8[],y float8);lin_housing_wi.x7,227 CREATE TABLE lin_housing_wi (x float8[],y float8);lin_housing_wi.y7,227 create function check_elastic_net ()check_elastic_net517,43643 src/ports/postgres/modules/kmeans/__init__.py_in,0 src/ports/postgres/modules/kmeans/kmeans.py_in,932 class MinWarning:MinWarning17,249 def __init__(self, warningLevel = 'error'):__init__18,267 def __enter__(self):__enter__21,357 def __exit__(self, *args):__exit__30,687 class IterationController:IterationController35,853 def __init__(self, rel_args, rel_state, stateType,__init__53,1688 def __enter__(self):__enter__72,2486 def __exit__(self, type, value, tb):__exit__86,2980 def runSQL(self, sql):runSQL89,3050 def evaluate(self, expression):evaluate94,3165 def test(self, condition):test124,4341 def update(self, newState, **updateKwargs):update142,5067 def compute_kmeanspp_seeding(schema_madlib, rel_args, rel_state, rel_source,compute_kmeanspp_seeding185,6843 def compute_kmeans_random_seeding(schema_madlib, rel_args, rel_state,compute_kmeans_random_seeding244,9426 def compute_kmeans(schema_madlib, rel_args, rel_state, rel_source,compute_kmeans303,11956 src/ports/postgres/modules/kmeans/kmeans.sql_in,1281 CREATE FUNCTION MADLIB_SCHEMA.internal_execute_using_kmeans_args(internal_execute_using_kmeans_args279,11662 CREATE FUNCTION MADLIB_SCHEMA.kmeans(kmeans438,18662 CREATE FUNCTION MADLIB_SCHEMA.kmeanspp_seeding(kmeanspp_seeding607,24721 CREATE FUNCTION MADLIB_SCHEMA.kmeanspp(kmeanspp669,26182 CREATE FUNCTION MADLIB_SCHEMA.kmeanspp(kmeanspp691,26640 CREATE FUNCTION MADLIB_SCHEMA.kmeanspp(kmeanspp712,27066 CREATE FUNCTION MADLIB_SCHEMA.kmeanspp(kmeanspp732,27483 CREATE FUNCTION MADLIB_SCHEMA.internal_execute_using_kmeans_random_seeding_args(internal_execute_using_kmeans_random_seeding_args753,27963 CREATE FUNCTION MADLIB_SCHEMA.kmeans_random_seeding(kmeans_random_seeding860,32181 CREATE FUNCTION MADLIB_SCHEMA.kmeans_random(kmeans_random911,33391 CREATE FUNCTION MADLIB_SCHEMA.kmeans_random(kmeans_random933,33855 CREATE FUNCTION MADLIB_SCHEMA.kmeans_random(kmeans_random954,34287 CREATE FUNCTION MADLIB_SCHEMA.kmeans_random(kmeans_random975,34718 CREATE FUNCTION MADLIB_SCHEMA.internal_execute_using_kmeans_args(internal_execute_using_kmeans_args1000,35280 CREATE FUNCTION MADLIB_SCHEMA.kmeans(kmeans1071,37764 CREATE FUNCTION MADLIB_SCHEMA.kmeans(kmeans1107,38929 CREATE FUNCTION MADLIB_SCHEMA.simple_silhouette(simple_silhouette1258,43486 src/ports/postgres/modules/kmeans/test/kmeans.sql_in,206 CREATE TABLE kmeans_2d(kmeans_2d7,208 id SERIAL,kmeans_2d.id8,232 x DOUBLE PRECISION,kmeans_2d.x9,244 y DOUBLE PRECISION,kmeans_2d.y10,265 position DOUBLE PRECISION[],kmeans_2d.position11,286 src/ports/postgres/modules/lda/__init__.py_in,0 src/ports/postgres/modules/lda/lda.py_in,2127 version_wrapper = __mad_version()version_wrapper18,326 string_to_array = version_wrapper.select_vecfunc()string_to_array19,360 array_to_string = version_wrapper.select_vec_return()array_to_string20,411 class LDATrainer:LDATrainer25,514 def __init__(__init__26,532 def init_random(self):init_random98,3288 def gen_model(self):gen_model119,4044 def gen_output_data_table(self):gen_output_data_table146,4982 def iteration(self, it): iteration168,5790 def run(self):run230,8103 class LDAPredictor:LDAPredictor250,8674 def __init__(__init__251,8694 def init_random(self):init_random315,11049 def gen_output_table(self):gen_output_table336,11805 def infer(self): infer348,12280 def run(self):run400,14059 def lda_train(lda_train423,14913 def lda_predict(lda_predict475,16791 def get_topic_desc(get_topic_desc512,18159 def get_topic_word_count(madlib_schema, model_table, output_table):get_topic_word_count611,21235 def get_word_topic_count(madlib_schema, model_table, output_table):get_word_topic_count644,22388 def get_perplexity(madlib_schema, model_table, output_data_table):get_perplexity677,23468 def l1_norm_with_smoothing(vector, smooth):l1_norm_with_smoothing745,25732 def norm_vocab(vocab_table, out_table):norm_vocab760,26346 def norm_dataset(data_table, vocab_table, output_table):norm_dataset804,27670 def conorm_data(conorm_data838,28765 def index_sort(vector):index_sort897,30524 def __convert_data_table(madlib_schema, data_table):__convert_data_table913,31046 def __assert(condition, msg):__assert952,32217 def __warn(condition, msg):__warn961,32483 def __check_data_table(data_table):__check_data_table969,32653 def __validate_data_table(data_table, voc_size):__validate_data_table995,33634 def __check_vocab_table(vocab_table):__check_vocab_table1058,36113 def __check_norm_vocab_table(vocab_table):__check_norm_vocab_table1080,36932 def __check_output_data_table(output_data_table, topic_num):__check_output_data_table1106,37879 def __check_model_table(model_table):__check_model_table1144,39245 src/ports/postgres/modules/lda/lda.sql_in,0 src/ports/postgres/modules/lda/test/lda.sql_in,0 src/ports/postgres/modules/linalg/linalg.sql_in,68 CREATE FUNCTION MADLIB_SCHEMA.matrix_column(matrix_column360,9872 src/ports/postgres/modules/linalg/test/linalg.sql_in,129 CREATE TABLE some_vectors (some_vectors168,5045 id SERIAL,some_vectors.id169,5073 x FLOAT8[]some_vectors.x170,5088 src/ports/postgres/modules/prob/prob.sql_in,171 * t-distributed random variable with \f$ \nu \f$ degrees of freedom andwith1240,39215 CREATE FUNCTION MADLIB_SCHEMA.non_central_t_cdf(non_central_t_cdf1243,39342 src/ports/postgres/modules/prob/test/prob.sql_in,128 CREATE OR REPLACE FUNCTION _test_normal_pdf(t float8, mu float8, sigma float8) RETURNS float8 AS $$_test_normal_pdf2313,75605 src/ports/postgres/modules/quantile/quantile.sql_in,143 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.quantile_big(table_name TEXT, col_name TEXT, quantile FLOAT) RETURNS FLOAT AS $$quantile_big65,2228 src/ports/postgres/modules/quantile/test/quantile.sql_in,123 CREATE FUNCTION install_test() RETURNS VOID AS $$ install_test13,598 CREATE TABLE T (T19,715 val FLOATT.val20,733 src/ports/postgres/modules/regress/__init__.py_in,0 src/ports/postgres/modules/regress/linear.sql_in,697 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.linregr_transition(linregr_transition355,13842 CREATE FUNCTION MADLIB_SCHEMA.__internal_get_linreg_result(__internal_get_linreg_result528,20000 CREATE FUNCTION MADLIB_SCHEMA.__internal_get_linregr_insert_string(__internal_get_linregr_insert_string548,20629 CREATE FUNCTION MADLIB_SCHEMA.__internal_linregr_train_hetero(__internal_linregr_train_hetero596,22197 CREATE FUNCTION MADLIB_SCHEMA.linregr_train(linregr_train670,25502 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.linregr_train(linregr_train693,26489 CREATE FUNCTION MADLIB_SCHEMA.linregr_train(linregr_train720,27544 CREATE FUNCTION MADLIB_SCHEMA.linregr_train(linregr_train864,33352 src/ports/postgres/modules/regress/logistic.py_in,410 def __compute_logregr(schema_madlib, rel_args, rel_state, rel_source,__compute_logregr23,623 def logregr_train(schema_madlib, tbl_source, tbl_output, dep_col, ind_col,logregr_train88,3332 def __logregr_validate_args(schema_madlib, tbl_source, tbl_output, dep_col,__logregr_validate_args126,5397 def __logregr_train_compute(schema_madlib, tbl_source, tbl_output, dep_col,__logregr_train_compute187,7862 src/ports/postgres/modules/regress/logistic.sql_in,109 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.__logregr_cg_step_transition(__logregr_cg_step_transition220,8344 src/ports/postgres/modules/regress/multilogistic.py_in,206 def __runIterativeAlg(stateType, initialState, source, updateExpr,__runIterativeAlg15,199 def compute_mlogregr(schema_madlib, source, depvar, numcategories, indepvar, optimizer,compute_mlogregr113,4284 src/ports/postgres/modules/regress/multilogistic.sql_in,100 RAISE EXCEPTION 'The dependent variable column should be of type INTEGER';column358,13813 src/ports/postgres/modules/regress/test/linear.sql_in,702 CREATE TABLE weibull (weibull10,435 id INTEGER NOT NULL,weibull.id11,458 x1 DOUBLE PRECISION,weibull.x112,483 x2 DOUBLE PRECISION,weibull.x213,508 y DOUBLE PRECISION,weibull.y14,533 CREATE TABLE unm (unm57,1770 id INTEGER NOT NULL,unm.id58,1789 x1 DOUBLE PRECISION,unm.x159,1814 x2 DOUBLE PRECISION,unm.x260,1839 y DOUBLE PRECISION,unm.y61,1864 CREATE TABLE houses (houses86,2413 id SERIAL NOT NULL,houses.id87,2435 tax INTEGER,houses.tax88,2459 bedroom REAL,houses.bedroom89,2476 bath REAL,houses.bath90,2494 price INTEGER,houses.price91,2509 size INTEGER,houses.size92,2528 lot INTEGER,houses.lot93,2546 src/ports/postgres/modules/regress/test/logistic.sql_in,1221 CREATE TABLE patients (patients10,334 id INTEGER NOT NULL,patients.id11,358 second_attack INTEGER,patients.second_attack12,383 treatment INTEGER,patients.treatment13,410 trait_anxiety INTEGER,patients.trait_anxiety14,433 CREATE TABLE crime (crime117,4034 id SERIAL NOT NULL,crime.id118,4055 CrimeRat DOUBLE PRECISION,crime.CrimeRat119,4076 MaleTeen INTEGER,crime.MaleTeen120,4107 South SMALLINT,crime.South121,4129 Educ DOUBLE PRECISION,crime.Educ122,4149 Police60 INTEGER,crime.Police60123,4176 Police59 INTEGER,crime.Police59124,4198 Labor INTEGER,crime.Labor125,4220 Males INTEGER,crime.Males126,4239 Pop INTEGER,crime.Pop127,4258 NonWhite INTEGER,crime.NonWhite128,4277 Unemp1 INTEGER,crime.Unemp1129,4299 Unemp2 INTEGER,crime.Unemp2130,4320 Median INTEGER,crime.Median131,4341 BelowMed INTEGER,crime.BelowMed132,4362 CREATE TABLE grad_school (grad_school217,8830 id SERIAL NOT NULL,grad_school.id218,8857 admit INTEGER,grad_school.admit219,8881 gre INTEGER,grad_school.gre220,8900 gpa DOUBLE PRECISION,grad_school.gpa221,8917 rank INTEGER,grad_school.rank222,8943 src/ports/postgres/modules/regress/test/multilogistic.sql_in,398 CREATE TABLE patients (patients13,454 id INTEGER NOT NULL,patients.id14,478 second_attack INTEGER,patients.second_attack15,503 treatment INTEGER,patients.treatment16,530 trait_anxiety INTEGER,patients.trait_anxiety17,553 CREATE TABLE test3 (test3100,3217 feat1 INTEGER,test3.feat1101,3238 feat2 INTEGER,test3.feat2102,3257 cat INTEGERtest3.cat103,3276 src/ports/postgres/modules/sample/sample.sql_in,0 src/ports/postgres/modules/sample/test/sample.sql_in,0 src/ports/postgres/modules/stats/__init__.py_in,0 src/ports/postgres/modules/stats/cox_prop_hazards.py_in,202 def __runIterativeAlg(stateType, intermediateStateType, initialState, source,__runIterativeAlg16,176 def compute_cox_prop_hazards(schema_madlib, source, indepColumn,compute_cox_prop_hazards145,5379 src/ports/postgres/modules/stats/cox_prop_hazards.sql_in,0 src/ports/postgres/modules/stats/hypothesis_tests.sql_in,0 src/ports/postgres/modules/stats/test/anova_test.sql_in,151 CREATE TABLE nist_anova_test (nist_anova_test8,271 id SERIAL,nist_anova_test.id9,302 resistance FLOAT8[]nist_anova_test.resistance10,317 src/ports/postgres/modules/stats/test/chi2_test.sql_in,469 CREATE TABLE chi2_test_blood_group (chi2_test_blood_group8,296 id SERIAL,chi2_test_blood_group.id9,333 blood_group VARCHAR,chi2_test_blood_group.blood_group10,348 observed BIGINT,chi2_test_blood_group.observed11,373 expected DOUBLE PRECISIONchi2_test_blood_group.expected12,394 CREATE TABLE chi2_test_friendly (chi2_test_friendly40,1272 id_x SERIAL,chi2_test_friendly.id_x41,1306 values INTEGER[]chi2_test_friendly.values42,1323 src/ports/postgres/modules/stats/test/cox_proportional_hazards.sql_in,0 src/ports/postgres/modules/stats/test/f_test.sql_in,265 CREATE TABLE jahanmi2 (jahanmi28,290 Run INTEGER,jahanmi2.Run9,314 Lab INTEGER,jahanmi2.Lab10,328 Batch INTEGER,jahanmi2.Batch11,342 Y FLOAT8,jahanmi2.Y12,358 X1 FLOAT8,jahanmi2.X113,369 X2 FLOAT8,jahanmi2.X214,381 X3 FLOAT8jahanmi2.X315,393 src/ports/postgres/modules/stats/test/ks_test.sql_in,0 src/ports/postgres/modules/stats/test/mw_test.sql_in,0 src/ports/postgres/modules/stats/test/t_test.sql_in,275 CREATE TABLE ZARR13 (ZARR138,299 id SERIAL,ZARR13.id9,321 value FLOAT8ZARR13.value10,333 CREATE TABLE auto83b (auto83b228,2683 id SERIAL,auto83b.id229,2706 mpg_us DOUBLE PRECISION,auto83b.mpg_us230,2721 mpg_j DOUBLE PRECISIONauto83b.mpg_j231,2750 src/ports/postgres/modules/stats/test/wsr_test.sql_in,0 src/ports/postgres/modules/summary/__init__.py_in,0 src/ports/postgres/modules/summary/Summarizer.py_in,997 class Summarizer:Summarizer3,13 def __init__(self, schema_madlib, source_table, output_table,__init__4,31 def _populate_columns(self):_populate_columns24,889 def _validate_table_names(self):_validate_table_names42,1901 def _validate_grouping_cols(self):_validate_grouping_cols73,3177 def _validate_target_cols(self):_validate_target_cols83,3636 def _validate_ntile_array(self):_validate_ntile_array95,4146 def _adjust_cols(self):_adjust_cols106,4639 def _validate_paras(self):_validate_paras117,5152 def _build_subquery(self, group_var):_build_subquery133,5757 def numeric_type(operator, datatype):numeric_type167,7797 def minmax_type(minmax, c):minmax_type172,7989 def xtile_type(xtile, c):xtile_type179,8280 def mfv_type(get_count, c):mfv_type187,8632 def _build_inner_query(self):_build_inner_query251,12274 def _build_query(self):_build_query305,14636 def run(self):run363,16685 src/ports/postgres/modules/summary/summary.py_in,392 version_wrapper = __mad_version()version_wrapper12,214 _get_vector = version_wrapper.select_vecfunc()_get_vector13,248 def summary(schema_madlib, source_table, output_table, target_cols, grouping_cols,summary15,296 def _analyze_str_inputs(target_cols, grouping_cols):_analyze_str_inputs84,3275 def summary_help_message(schema_madlib, message, **kwargs):summary_help_message104,4157 src/ports/postgres/modules/summary/summary.sql_in,0 src/ports/postgres/modules/summary/test/summary.sql_in,0 src/ports/postgres/modules/svd_mf/__init__.py_in,0 src/ports/postgres/modules/svd_mf/svdmf.py_in,277 def info( msg):info13,279 def svdmf_run( madlib_schema, input_matrix, col_name, row_name, value, num_features):svdmf_run20,497 def svdmf_run_full( madlib_schema, input_matrix, col_name, row_name, value, num_features, NUM_ITERATIONS, MIN_IMPROVEMENT):svdmf_run_full26,798 src/ports/postgres/modules/svd_mf/svdmf.sql_in,0 src/ports/postgres/modules/svd_mf/test/svdmf.sql_in,464 CREATE OR REPLACE FUNCTION Generate_Sparse(INT, INT, INT) RETURNS void AS $$Generate_Sparse23,1120 CREATE TABLE test(test28,1249 row_num INT, test.row_num29,1268 col_num INT,test.col_num30,1283 val FLOATtest.val31,1297 CREATE OR REPLACE FUNCTION Generate_Random(INT, INT, INT) RETURNS void AS $$Generate_Random51,2058 CREATE TABLE test(test56,2187 row_num INT, test.row_num57,2206 col_num INT,test.col_num58,2221 val FLOATtest.val59,2235 src/ports/postgres/modules/utilities/__init__.py_in,0 src/ports/postgres/modules/utilities/control.py_in,620 class MinWarning:MinWarning15,178 def __init__(self, warningLevel = 'error'):__init__20,282 def __enter__(self):__enter__23,372 def __exit__(self, *args):__exit__32,702 class IterationController:IterationController37,868 def __init__(self, rel_args, rel_state, stateType,__init__58,1718 def __enter__(self):__enter__77,2517 def __exit__(self, type, value, tb):__exit__91,3012 def runSQL(self, sql):runSQL94,3082 def evaluate(self, expression):evaluate99,3197 def test(self, condition):test129,4373 def update(self, newState, **updateKwargs):update147,5099 src/ports/postgres/modules/utilities/group_control.py_in,559 version_wrapper = __mad_version()version_wrapper18,255 mad_vec = version_wrapper.select_vecfunc()mad_vec19,289 class GroupIterationController:GroupIterationController21,333 def __init__(self, rel_args, rel_state, stateType,__init__44,1311 def __enter__(self):__enter__74,2703 def __exit__(self, type, value, tb):__exit__106,4201 def runSQL(self, sql):runSQL109,4271 def evaluate(self, expression):evaluate114,4386 def test(self, condition):test194,7623 def update(self, newState, **updateKwargs):update212,8361 src/ports/postgres/modules/utilities/utilities.py_in,978 def __unique_string (**kwargs):__unique_string9,127 def _string_to_array (s):_string_to_array22,616 def _array_to_string (origin):_array_to_string51,1583 class __mad_version:__mad_version68,1948 def __init__ (self):__init__69,1969 def select_vecfunc (self):select_vecfunc72,2065 def __extract (self, origin, text = True):__extract85,2518 def __identity (self, origin, text = True):__identity101,3036 def select_vec_return (self):select_vec_return104,3107 def __condense (self, origin):__condense114,3403 def select_array_agg (self, schema_madlib):select_array_agg121,3606 def is_gp40 (self):is_gp40131,3994 def is_pg (self):is_pg140,4246 def is_gp41 (self):is_gp41146,4446 def is_gp422_and_up (self):is_gp422_and_up155,4698 def is_less_than_pg90(self):is_less_than_pg90163,4992 def is_less_than_gp41(self):is_less_than_gp41171,5283 def is_less_than_gp42(self):is_less_than_gp42179,5580 src/ports/postgres/modules/utilities/utilities.sql_in,107 CREATE FUNCTION MADLIB_SCHEMA.version()version33,846 CREATE FUNCTION MADLIB_SCHEMA.isnan(isnan130,3425 src/ports/postgres/modules/utilities/validate_args.py_in,764 version_wrapper = __mad_version()version_wrapper5,50 mad_vec = version_wrapper.select_vecfunc()mad_vec6,84 def __is_tbl_exists(tbl):__is_tbl_exists10,205 def __is_tbl_exists_in_schema(tbl):__is_tbl_exists_in_schema30,1013 def __is_tbl_has_rows(tbl):__is_tbl_has_rows50,1775 def __get_cols(tbl, schema_madlib="madlib"):__get_cols61,2161 def __is_col_exists(tbl, cols, schema_madlib="madlib"):__is_col_exists90,3365 def __is_col_array (tbl, col):__is_col_array103,3691 def __is_scalar_col_no_null(tbl, col):__is_scalar_col_no_null128,4459 def __is_array_col_same_dimension(tbl, col):__is_array_col_same_dimension140,4953 def __is_array_col_no_null(tbl, col):__is_array_col_no_null158,5706 def __is_var_valid (tbl, var):__is_var_valid177,6467 src/ports/postgres/modules/validation/__init__.py_in,0 src/ports/postgres/modules/validation/cross_validation.py_in,1298 version_wrapper = __mad_version()version_wrapper24,1021 mad_vec = version_wrapper.select_vecfunc()mad_vec25,1055 def __cv_combine_params_type_general(params, params_type, tbl_data,__cv_combine_params_type_general81,4375 def __cv_funcall_general(func, params, params_type, tbl_data, col_random_id,__cv_funcall_general135,6941 def __cv_param_type_explored(params, params_type, param_explored):__cv_param_type_explored154,7716 def __validate_cv_args(schema_madlib, modelling_func, modelling_params, modelling_params_type,__validate_cv_args169,8210 def cross_validation_general(cross_validation_general203,9796 def cv_linregr_train (schema_madlib, tbl_source, col_ind_var,cv_linregr_train369,17180 def linregr_predict (schema_madlib, coef, col_ind, **kwargs):linregr_predict387,17937 def cv_linregr_predict (schema_madlib, tbl_model, tbl_newdata, col_ind_var,cv_linregr_predict401,18384 def logregr_predict (schema_madlib, coef, col_ind, **kwargs):logregr_predict424,19364 def cv_logregr_predict (schema_madlib, tbl_model, tbl_newdata, col_ind_var,cv_logregr_predict440,19866 def logregr_accuracy (schema_madlib, coef, col_ind, col_dep, **kwargs):logregr_accuracy463,20848 def cv_logregr_accuracy (schema_madlib, tbl_predict, tbl_source, col_id,cv_logregr_accuracy471,21157 src/ports/postgres/modules/validation/cross_validation.sql_in,272 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.cross_validation_general(cross_validation_general207,12146 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.cv_linregr_train(cv_linregr_train344,18331 CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.logregr_predict(logregr_predict412,20578 src/ports/postgres/modules/validation/cv_utils.py_in,1192 version_wrapper = __mad_version()version_wrapper8,157 mad_vec = version_wrapper.select_vecfunc()mad_vec9,191 def __cv_produce_col_name_string(tbl, cols):__cv_produce_col_name_string13,312 def __cv_copy_data_with_id (rel_origin, col_data, rel_copied, random_id):__cv_copy_data_with_id31,873 def __cv_copy_data_with_id_compute (rel_origin, col_string, rel_copied, random_id):__cv_copy_data_with_id_compute48,1725 def __cv_summarize_result(tbl_accum_error, tbl_result, param_explored,__cv_summarize_result62,2290 def __cv_generate_random_id(tbl_origin, col_id, tbl_random_id, random_id):__cv_generate_random_id111,4456 def __cv_validation_rows(row_num, fold_num, which_fold):__cv_validation_rows145,5905 def __cv_split_data_using_id_col(rel_source, col_data, col_id, row_num,__cv_split_data_using_id_col166,6596 def __cv_split_data_using_id_col_compute (rel_source, col_string, col_id, row_num,__cv_split_data_using_id_col_compute188,7625 def __cv_split_data_using_id_tbl(rel_origin, col_data, rel_random_id,__cv_split_data_using_id_tbl216,8919 def __cv_split_data_using_id_tbl_compute (rel_origin, col_string, rel_random_id,__cv_split_data_using_id_tbl_compute245,10403 src/utils/libstdcxx-compatibility.cpp,294 #define _GLIBCXX_USE_NOEXCEPT _GLIBCXX_USE_NOEXCEPT35,1370 #define GCC_VERSION GCC_VERSION38,1420 namespace __cxxabiv1 {__cxxabiv146,1634 namespace std {std97,3656 namespace std {std147,5518 ctype::_M_widen_init() const {_M_widen_init178,6698 namespace std {std204,7351 src/utils/MallocAllocator.hpp,2003 #define MADLIB_NALLOC_ALLOCATOR_HPPMADLIB_NALLOC_ALLOCATOR_HPP8,234 namespace madlib {madlib10,271 namespace utils {utils12,291 class MallocAllocator {MallocAllocator26,639 typedef void* pointer;pointer28,677 typedef const void* const_pointer;const_pointer29,704 typedef void value_type;value_type31,792 template struct rebind { typedef MallocAllocator other; };rebind32,821 template struct rebind { typedef MallocAllocator other; };other32,821 class MallocAllocator {MallocAllocator36,921 typedef std::size_t size_type;size_type38,953 typedef std::ptrdiff_t difference_type;difference_type39,988 typedef T* pointer;pointer40,1032 typedef const T* const_pointer;const_pointer41,1056 typedef T& reference;reference42,1092 typedef const T& const_reference;const_reference43,1118 typedef T value_type;value_type44,1156 template struct rebind { typedef MallocAllocator other; };rebind45,1182 template struct rebind { typedef MallocAllocator other; };other45,1182 MallocAllocator() throw () { }MallocAllocator47,1263 MallocAllocator(const MallocAllocator &) throw () { }MallocAllocator48,1298 template MallocAllocator(const MallocAllocator&) throw () { }MallocAllocator49,1356 ~MallocAllocator() throw () { }~MallocAllocator50,1435 pointer address(reference x) const {address52,1476 const_pointer address(const_reference x) const {address56,1547 pointer allocate(size_type n,allocate60,1630 void deallocate(pointer p, size_type /* n */) {deallocate71,1963 size_type max_size() const throw () {max_size75,2068 void construct(pointer p, const T& val) {construct79,2163 void destroy(pointer p) {destroy83,2275 operator==(const MallocAllocator&, const MallocAllocator&)operator ==90,2365 operator!=(const MallocAllocator&, const MallocAllocator&)operator !=95,2483 src/utils/Math.hpp,311 #define MADLIB_MATH_HPPMADLIB_MATH_HPP8,211 namespace madlib {madlib13,331 namespace utils {utils15,351 nextPowerOfTwo(T inValue) {nextPowerOfTwo24,596 almostEqual(T inX, T inY, int inULP) {almostEqual45,1292 isNegative(const T&) {isNegative72,2153 isNegative(const T& inValue) {isNegative82,2347 src/utils/memory.hpp,328 #define MADLIB_MEMORY_HPPMADLIB_MEMORY_HPP8,215 namespace madlib {madlib10,242 namespace utils {utils12,262 namespace memory {memory14,281 struct ArrayDeleter {ArrayDeleter17,322 void operator()(T *p) {operator ()18,344 struct NoDeleter {NoDeleter24,422 void operator()(T * /* p */) { }operator ()25,441 src/utils/Reference.hpp,1344 #define MADLIB_REFERENCE_HPPMADLIB_REFERENCE_HPP8,221 namespace madlib {madlib10,251 namespace utils {utils12,271 class Reference {Reference23,651 Reference() : mPtr(NULL) { }Reference25,677 Reference(const T *inPtr) : mPtr(const_cast(inPtr)) { }Reference29,816 Reference& rebind(const T *inPtr) {rebind31,881 operator U() const {operator U39,1073 const T* ptr() const {ptr43,1143 const T& ref() const {ref47,1198 Reference& operator=(const Reference&) {operator =55,1311 T *mPtr;mPtr59,1385 class MutableReference : public Reference {MutableReference63,1440 typedef Reference Base;Base64,1490 MutableReference() { }MutableReference66,1532 MutableReference(T *inPtr) : Base(inPtr) { }MutableReference68,1560 MutableReference& operator=(const MutableReference& inReference) {operator =77,1910 MutableReference& operator=(const Base &inReference) {operator =81,2059 MutableReference& operator=(const U &inValue) {operator =86,2183 MutableReference& operator+=(const U &inValue) {operator +=91,2305 MutableReference& operator-=(const U &inValue) {operator -=96,2429 U operator++(int) {operator ++101,2553 MutableReference& operator++() {operator ++107,2695 T* ptr() {ptr112,2797 T& ref() {ref116,2840 src/utils/shapeToExtents.hpp,818 #define MADLIB_SHAPETOEXTENTS_HPPMADLIB_SHAPETOEXTENTS_HPP10,288 namespace madlib {madlib12,323 namespace utils {utils14,343 struct internal_shapeToExtents {internal_shapeToExtents26,696 typedef boost::detail::multi_array::extent_gen type;type27,729 typedef boost::multi_array_types::size_type size_type;size_type28,795 static inline type get(const size_type *inSizeList) {get30,855 struct internal_shapeToExtents {internal_shapeToExtents37,1071 typedef boost::detail::multi_array::extent_gen<1> type;type38,1116 typedef boost::multi_array_types::size_type size_type;size_type39,1176 static inline type get(const size_type *inSizeList) { get41,1236 shapeToExtents(const boost::multi_array_types::size_type *inSizeList) {shapeToExtents52,1515