R/NoveltyDetectorS4NoneNoveltyDetector.R

Defines functions .get_available_none_detectors

#' @include FamiliarS4Generics.R
#' @include FamiliarS4Classes.R
NULL


# familiarNoneNoveltyDetector --------------------------------------------------
setClass(
  "familiarNoneNoveltyDetector",
  contains = "familiarNoveltyDetector")



# is_available -----------------------------------------------------------------
setMethod(
  "is_available",
  signature(object = "familiarNoneNoveltyDetector"),
  function(object, ...) {
    # We can always not create a novelty detector.
    return(TRUE)
  }
)



.get_available_none_detectors <- function(show_general = TRUE) {
  return(c("none", "false", "no"))
}

Try the familiar package in your browser

Any scripts or data that you put into this service are public.

familiar documentation built on Sept. 30, 2024, 9:18 a.m.