all_backend_sparse_on_disk_functions.c File Reference


Functions

 PG_FUNCTION_INFO_V1 (auxF)
Datum auxF (PG_FUNCTION_ARGS)
 Parses input string and outputs word with tf score.
 PG_FUNCTION_INFO_V1 (dotprdct_sparse_cached_waste)
 PG_FUNCTION_INFO_V1 (dotprdct_sparse_cached_without_waste)
 PG_FUNCTION_INFO_V1 (cache_model_waste)
Datum initialize_waste_count (PG_FUNCTION_ARGS)
 Initializes waste count.
Datum get_waste_ratio (PG_FUNCTION_ARGS)
 Calculates waste ratio.
Datum cache_model_waste (PG_FUNCTION_ARGS)
 Caches the given model.
Datum dotprdct_sparse_cached_waste (PG_FUNCTION_ARGS)
 Calculates the dot product with the cached model and given feature vector and updates waste count.
Datum dotprdct_sparse_cached_without_waste (PG_FUNCTION_ARGS)
 Calculates the dot product with the cached model and given feature vector and do not update waste count.
 PG_FUNCTION_INFO_V1 (dotprdct_dense_cached_waste)
 PG_FUNCTION_INFO_V1 (dotprdct_dense_cached_without_waste)
Datum dotprdct_dense_cached_waste (PG_FUNCTION_ARGS)
 Calculates the dot product with the cached model and given dense feature vector and updates waste count.
Datum dotprdct_dense_cached_without_waste (PG_FUNCTION_ARGS)
 Calculates the dot product with the cached model and given dense feature vector and do not update waste count.

Variables

 PG_MODULE_MAGIC
const char * szDelim = "|"

Function Documentation

Datum auxF ( PG_FUNCTION_ARGS   ) 

Parses input string and outputs word with tf score.

Parameters:
[in] parsedPubText to_ts_vector output of the input string
[in] distinctWordCount # of distinct words in the input string
[in] pubLength string length

Datum cache_model_waste ( PG_FUNCTION_ARGS   ) 

Caches the given model.

Parameters:
[in] w model vector
[in] bias 

Datum dotprdct_dense_cached_waste ( PG_FUNCTION_ARGS   ) 

Calculates the dot product with the cached model and given dense feature vector and updates waste count.

Parameters:
[in] input feature vector of the entity

Datum dotprdct_dense_cached_without_waste ( PG_FUNCTION_ARGS   ) 

Calculates the dot product with the cached model and given dense feature vector and do not update waste count.

Parameters:
[in] input feature vector of the entity

Datum dotprdct_sparse_cached_waste ( PG_FUNCTION_ARGS   ) 

Calculates the dot product with the cached model and given feature vector and updates waste count.

Parameters:
[in] input feature vector of the entity

Datum dotprdct_sparse_cached_without_waste ( PG_FUNCTION_ARGS   ) 

Calculates the dot product with the cached model and given feature vector and do not update waste count.

Parameters:
[in] input feature vector of the entity

Datum get_waste_ratio ( PG_FUNCTION_ARGS   ) 

Calculates waste ratio.

Returns:
waste ratio

Datum initialize_waste_count ( PG_FUNCTION_ARGS   ) 

Initializes waste count.

PG_FUNCTION_INFO_V1 ( dotprdct_dense_cached_without_waste   ) 

PG_FUNCTION_INFO_V1 ( dotprdct_dense_cached_waste   ) 

PG_FUNCTION_INFO_V1 ( cache_model_waste   ) 

PG_FUNCTION_INFO_V1 ( dotprdct_sparse_cached_without_waste   ) 

PG_FUNCTION_INFO_V1 ( dotprdct_sparse_cached_waste   ) 

PG_FUNCTION_INFO_V1 ( auxF   ) 


Variable Documentation

PG_MODULE_MAGIC

const char* szDelim = "|"


Generated on Wed Dec 15 10:46:16 2010 for Hazy_System by  doxygen 1.4.7