Liking cljdoc? Tell your friends :D

corona.ltr


build-solr-ltr-nn-modelclj

(build-solr-ltr-nn-model store-name model-name built-features layers mins maxs)

Builds ready-to-json structure for solr NeuralNetworkModel. Returns map.

Builds ready-to-json structure for solr NeuralNetworkModel.
Returns map.
sourceraw docstring

delete-feature-store!clj

(delete-feature-store! client-config & [store-name])

Deletes all features in store 'store-name' (or DEFAULT) executing HTTP DELETE request to feature-store-url built from client-config Returns json-decoded body of response.

Deletes all features in store 'store-name' (or _DEFAULT_)
executing HTTP DELETE request to feature-store-url built from client-config
Returns json-decoded body of response.
sourceraw docstring

delete-model!clj

(delete-model! client-config model-name)

Deletes EXISTING ltr model with name 'model-name' from solr executing HTTP DELETE request to 'sorl-core-url' or http://localhost:8983/solr/tmdb WARN: solr can hang on attempt on deleting nonexistent model. Returns json-decoded body of response.

Deletes EXISTING ltr model with name 'model-name' from solr
executing HTTP DELETE request to 'sorl-core-url' or http://localhost:8983/solr/tmdb
WARN: solr can hang on attempt on deleting nonexistent model.
Returns json-decoded body of response.
sourceraw docstring

do-to-last-nclj

(do-to-last-n entries n f)

Maps 'entries' with identity while index < 'n' and starting from n maps with 'f', which takes following args: index - index of entry assuming 0 is n at original 'entries' collection entry - entry to map. Returns mapped collection.

Maps 'entries' with identity while index < 'n'
and starting from n maps with 'f', which takes following args:
index - index of entry assuming 0 is n at original 'entries' collection
entry - entry to map.
Returns mapped collection.
sourceraw docstring

extract-featuresclj

(extract-features client-config {:keys [q rows sort fl store]})

Extracts features from feature store and returns vector of maps with keys: :<document index key> (e.g. :id) :features - vector of features values for given document

Extracts features from feature store and returns vector of maps with keys:
:<document index key> (e.g. :id)
:features - vector of features values for given document
sourceraw docstring

gen-coll-featuresclj

(gen-coll-features records field store-name & [params])

Builds multivalued field features, one per distinct field value across all records eg. for field 'genres': 'hasGenresAction', 'hasGenresDrama', etc.

Builds multivalued field features, one per distinct field value across
all records
eg. for field 'genres': 'hasGenresAction', 'hasGenresDrama', etc.
sourceraw docstring

gen-external-value-featureclj

(gen-external-value-feature value-k required? store-name & [params])

Builds feature description for simple externally supplied value with key 'value-k'. 'required?' - (true/false) if value will'be required with ltr query; 'store-name' - string name of store to specify for features.

Builds feature description for simple externally supplied  value with key 'value-k'.
'required?' - (true/false) if value will'be required with ltr query;
'store-name' - string name of store to specify for features.
sourceraw docstring

gen-field-featureclj

(gen-field-feature field store-name & [params])

Builds feature description for simple records 'field' 'store-name' - string name of store to specify for features.

Builds feature description for simple records 'field'
'store-name' - string name of store to specify for features.
sourceraw docstring

make-feature-store-urlclj

(make-feature-store-url client-config & [uri])
source

make-model-store-base-urlclj

(make-model-store-base-url client-config & [model-name])
source

prepare-features-for-nnclj

(prepare-features-for-nn store-name built-features mins maxs)
source

read-distinct-collclj

(read-distinct-coll records field)

Returns all distinct values across records under a given multiValued field.

Returns all distinct values across records under a given multiValued field.
sourceraw docstring

upload-features!clj

(upload-features! client-config features)

Uploads vector of feature descriptions 'features' to solr. executing HTTP PUT request to feature-store-url built from client-config WARN: clears store before uploading. Returns json-decoded body of response.

Uploads vector of feature descriptions 'features' to solr.
executing HTTP PUT request to feature-store-url built from client-config
WARN: clears store before uploading.
Returns json-decoded body of response.
sourceraw docstring

upload-model!clj

(upload-model! client-config model)

Uploads 'model' as ltr model to solr, json-encoding it previously, executing HTTP PUT request to 'sorl-core-url' Returns json-decoded body of response. NOTE: only supported with :http config type.

Uploads 'model' as ltr model to solr, json-encoding it previously,
executing HTTP PUT request to 'sorl-core-url'
Returns json-decoded body of response.
NOTE: only supported with :http config type.
sourceraw docstring

url-encodeclj

(url-encode string-to-encode)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close