Liking cljdoc? Tell your friends :D

josh.meanings.persistence


assignments-filenameclj

source

centroids-filenameclj

source

change-extensionclj

(change-extension filename format)
source

csv-seq-filename->format-seqclj

(csv-seq-filename->format-seq k-means-state key)

Converts a csv file into another file type and returns a k means object with an updated key name.

CSV isn't a well optimized format for doing large computations.
Computing the min and max of each column working with optimized csv seqs can take two orders of magnitude longer than the same operations performed against arrow streams.

Converts a csv file into another file type and 
 returns a k means object with an updated key name.
 
CSV isn't a well optimized format for doing large computations.                                                        
Computing the min and max of each column working with optimized 
csv seqs can take two orders of magnitude longer than the same 
operations performed against arrow streams.
sourceraw docstring

dataset-seq->column-namesclj

(dataset-seq->column-names ds-seq)
source

ds-seq->rows->mapsclj

(ds-seq->rows->maps ds-seq rows)
source

extensionclj

(extension filename)

Returns a filenames last file extension.

Returns a filenames last file extension.
sourceraw docstring

file?clj

(file? filename)

Returns true if a file exists and false otherwise.

Returns true if a file exists and false otherwise.
sourceraw docstring

filename->formatclj

(filename->format filename)

Parses a format lookup key from a filename.

Parses a format lookup key from a filename.
sourceraw docstring

formatsclj

Supported file formats for reading and writing datasets.

Supported file formats for reading and writing datasets.
sourceraw docstring

generate-filenameclj

(generate-filename prefix)
source

read-centroids-from-fileclj

(read-centroids-from-file k-means-state)
source

read-dataset-seqclj

(read-dataset-seq k-means-state key)

Loads the dataset at the file path in key.

Loads the dataset at the file path in key.
sourceraw docstring

write-dataset-seqclj

(write-dataset-seq k-means-state key dataset)
source

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

× close