(require '[clojure.spec.alpha :as s])
(s/def ::name string?)
(s/def ::align #{:law :neutral :chaos})
(s/def ::level pos-int?)
(s/def ::magic (s/coll-of string?))
(s/def ::profile
(s/keys :req-un [::name ::align ::level ::magic]))
(s/conform ::profile
{:name "r6eve"
:align :neutral
:level 5
:magic ["Functional & Object-oriented Programming"
"Perl-like Programming"
"AUR package maintenance"
"Pulinpa (against Linux Kernel)"]})
r6eve / clust4j Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tgsmith61591/clust4j
A suite of classification clustering algorithm implementations for Java. A number of partitional, hierarchical and density-based algorithms including DBSCAN, k-Means, k-Medoids, MeanShift, Affinity Propagation, HDBSCAN and more.
License: Apache License 2.0