Liking cljdoc? Tell your friends :D

clj-djl.training.dataset


array-datasetclj

(array-dataset {:keys [data labels sampler batchsize shuffle droplast]})
source

array-dataset-builderclj

(array-dataset-builder)
source

batch-samplerclj

(batch-sampler subsampler batchsize)
(batch-sampler subsampler batchsize droplast)

Creates a new instance of BatchSampler that samples from the given SubSampler, and yields a mini-batch of batchsize, with optional droplast(true, false) to drop the remaining samples.

Creates a new instance of BatchSampler that samples from the given SubSampler,
and yields a mini-batch of batchsize, with optional droplast(true, false) to
drop the remaining samples.
sourceraw docstring

buildclj

(build builder)
source

closeclj

(close batch)
source

get-dataclj

(get-data batch)
source

get-data-iteratorclj

(get-data-iterator ds manager)
source

get-labelsclj

(get-labels batch)
source

iter-seqclj

(iter-seq iterable)
(iter-seq iterable iter)
source

new-array-dataset-builderclj

source

opt-labelsclj

(opt-labels builder & labels)
source

opt-usagecljmultimethod

source

prepareclj

(prepare ds)
(prepare ds progress)
source

random-samplerclj

(random-sampler)
(random-sampler seed)

Creates a new instance of RandomSampler with an optional seed

Creates a new instance of RandomSampler with an optional seed
sourceraw docstring

random-splitclj

(random-split dataset & ratios)
source

sequence-samplerclj

(sequence-sampler)

SequenceSampler samples the data from [0, dataset.size) sequentially.

SequenceSampler samples the data from [0, dataset.size) sequentially.
sourceraw docstring

set-dataclj

(set-data builder & data)
source

set-samplingclj

(set-sampling builder sampler)
(set-sampling builder batch-size random)
(set-sampling builder batch-size random drop-last)
source

to-apairclj

(to-apair dataset)

Convert dataset to a pair of two arrays. First item is the data, and the second item is the labels

Convert dataset to a pair of two arrays. First item is the data, and the second
item is the labels
sourceraw docstring

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

× close