Liking cljdoc? Tell your friends :D

josh.meanings.records.cluster-result

Cluster results are the result of a clustering operationg. They contain a reference to the models centroids, the assignments which generated those centroids, the objective function cost of the clustering, the format that the cluster is saved in, and some configuration details about how the clustering process was run.

Callers who wish to use the cluster result can get access to the centroids with:

(.load-centroids cluster-result)

They can get access to the assignments with:

(.load-assignments-datasets cluster-result)

They can also cluster points with the cluster result with:

(.classify cluster-result x)

Where x is a vector of points in (-> cluster-result :configuration :col-names) order or a map that contains every col-name as a key.

To save a cluster result to disk

(.save-model cluster-result filename)

To load a cluster result from disk

(load-model filename)
Cluster results are the result of a clustering operationg.  They contain 
a reference to the models centroids, the assignments which generated those 
centroids, the objective function cost of the clustering, the format that 
the cluster is saved in, and some configuration details about how the clustering 
process was run.

Callers who wish to use the cluster result can get access to the centroids with:

```
(.load-centroids cluster-result)
```

They can get access to the assignments with:

```
(.load-assignments-datasets cluster-result)
```

They can also cluster points with the cluster result with:

```
(.classify cluster-result x)
```

Where x is a vector of points in `(-> cluster-result :configuration :col-names)` order or a map
that contains every col-name as a key.

To save a cluster result to disk

```
(.save-model cluster-result filename)
```

To load a cluster result from disk

```
(load-model filename)
```
raw docstring

josh.meanings.records.clustering-state

Provides a defrecord for storing the configuration of a clustering process and a protocol for retreiving stateful IO like the potentially larger than memory points and assignments datasets.

Provides a defrecord for storing the configuration of a clustering process 
and a protocol for retreiving stateful IO like the potentially larger than 
memory points and assignments datasets.
raw docstring

No vars found in this namespace.

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

× close