शुरू करेंमुफ़्त में शुरू करें

Cross-tabulate binary scores

The table() function tallies the number of occurrences of combinations of values across one or more vectors. The orientation of the output table depends on the order that the input vectors are specified. For example in the table

table(currency, country)

        country
currency UK USA
       $  0   1
       £  1   0

the rows are indexed by currency because this appears first in the table() function.

यह अभ्यास पाठ्यक्रम का हिस्सा है

Introduction to Anomaly Detection in R

पाठ्यक्रम देखें

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Tabulate agreement of label and binary isolation score 
table(___, ___)

# Tabulate agreement of label and binary LOF score 
कोड संपादित करें और चलाएँ