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
rank_instances
ranks the instances in a data set by probability of them belonging to a specified target class.
1 | rank_instances(tree, df, target_class)
|
tree |
the tree with classification and probability estimation information, built using the function |
df |
the dataframe containing the data instances to be ranked |
target_class |
the target variable's value to be used as the class for ordering (i.e. the higher the probability of the instance being in that class, the higher its rank in the list) |
A vector of instance indices in df, ordered by decreasing probability of membership of class top_class
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.