fuzzy_membership: Tuning parameters of the fuzzy naive Bayes models

View source: R/tidymodels.R

fuzzy_membershipR Documentation

Tuning parameters of the fuzzy naive Bayes models

Description

Parameter objects, for the dials package, of the main arguments of fuzzy_naive_bayes(). They are used automatically by tune when an argument is marked with tune().

Usage

fuzzy_membership(values = c(TRUE, FALSE))

alpha_cut(range = c(1e-04, 0.1), trans = NULL)

ranking_method(range = c(1L, 5L), trans = NULL)

Arguments

values

A logical vector of possible values.

range

A two-element vector with the bounds of the parameter.

trans

A trans object from the scales package, or NULL.

Details

  • fuzzy_membership(): whether the membership functions are used (argument fuzzy).

  • alpha_cut(): smallest alpha-cut of the fuzzy parameters (argument alphacut).

  • ranking_method(): method used to rank the fuzzy numbers (argument metd): 1 = Yager, 2 = Q distance, 3 = Thorani, 4 = alpha-order, 5 = GTFN.

These functions require the dials package.

Value

A param object of the dials package.

Examples


fuzzy_membership()
alpha_cut()
ranking_method()


FuzzyClass documentation built on Oct. 22, 2026, 1:07 a.m.