class_membership_probabilities: Get probabilities of class membership for a set of data...

Description Usage Arguments Value See Also

View source: R/script.R View source: R/script_BACKUP_1282.R View source: R/script_BACKUP_1990.R View source: R/script_BACKUP_2903.R View source: R/script_BACKUP_3193.R View source: R/script_BASE_1282.R View source: R/script_BASE_1990.R View source: R/script_BASE_2903.R View source: R/script_BASE_3193.R View source: R/script_LOCAL_1282.R View source: R/script_LOCAL_1990.R View source: R/script_LOCAL_2903.R View source: R/script_LOCAL_3193.R View source: R/script_REMOTE_1282.R View source: R/script_REMOTE_1990.R View source: R/script_REMOTE_2903.R View source: R/script_REMOTE_3193.R

Description

class_membership_probabilities returns the probabilities of a set of given instances belonging to a specified target class.

Usage

1
class_membership_probabilities(tree, df, target_class)

Arguments

tree

the tree with classification and probability estimation information, built using the function classification_tree

df

the dataframe containing the data instances

target_class

the target variable's value to be used as the class for which membership probability is sought

Value

A vector of probabilities.

See Also

rank_instances


teofanan/classprobtree documentation built on May 17, 2019, 5:53 p.m.