detectXOR-package | R Documentation |
Provides tools for detecting XOR-like patterns in variable pairs in two-class data sets. Includes visualizations for pattern exploration and reporting capabilities with both text and HTML output formats.
Core Features:
Statistical detection using chi-square tests and Kendall's tau
Spaghetti plots and xy plot for pattern visualization
Main Functions:
detect_xor
: Core detection algorithm
generate_spaghetti_plot_from_results
: Line plots
generate_xy_plot_from_results
: Plot for pattern visualization
Jorn Lotsch <j.lotsch@em.uni-frankfurt.de>
Methodological foundations:
Pattern detection in machine learning
Statistical dependency measures (Kendall's tau)
Useful links:
Report bugs at https://github.com/JornLotsch/detectXOR/issues
Related packages:
DescTools
for statistical tests
ggh4x
for advanced plotting
future
for parallel processing
# Basic workflow with included dataset
data(XOR_data)
# Detect XOR patterns
results <- detect_xor(XOR_data, class_col = "class")
# Generate visualizations
generate_spaghetti_plot_from_results(
results$results_df,
XOR_data,
class_col = "class"
)
generate_xy_plot_from_results(
results$results_df,
XOR_data,
class_col = "class"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.