ville-kinnula/SPEC: Supervised Classification under Partition Exchangeability

This package implements a supervised predictive classifier underpartition echangeability due to J.F.C. Kingman (1978). The two classifiers implemented are a Naive Bayes classifier that assumes test datais i.i.d., and a more computationally costly but more accurate simultaneous classifier that tries to find a labeling for the entire test dataset at once. Also included in this package are functions to simulate samples and gain sample probabilities from the Ewens sampling formula, also known as the Poisson-Dirichlet distribution. Finally, parameter estimation and a simple hypothesis test for the distribution are included.

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version0.0.0.9000
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("ville-kinnula/SPEC")
ville-kinnula/SPEC documentation built on Dec. 23, 2021, 3:11 p.m.