How kidhiyonprabu-hub/feature-independence-analysis works
This is a Streamlit app for exploring associations between categorical features in an uploaded CSV. The user uploads a dataset, chooses a target feature, and the app tests eligible features with chi-square statistics and Bonferroni-adjusted p-values. Results include a chart and table, plus a selected-feature view of observed and expected counts. The excerpts show the main workflow and reporting, but omit some implementation lines; the graph therefore keeps those responsibilities within the single sampled source file.
Main entry points: app.py Summary results
Components 12
Dataset input
- CSV upload
app.py - CSV parsing
app.py - Data validation
app.py
Association analysis
- Target selection
app.py - Feature analysis
app.py - Chi-square test
app.py - Association metrics
app.py
Results and interpretation
- Summary results
app.py - Association chart
app.py - Results table
app.py - Feature details
app.py
Other components
- User
Connections 11
- User → CSV upload: uploads CSV
app.py - CSV upload → CSV parsing: parses file
app.py - CSV parsing → Data validation: validates data
app.py - Data validation → Target selection: offers columns
app.py - Target selection → Feature analysis: analyzes target
app.py - Feature analysis → Chi-square test: tests features
app.py - Chi-square test → Association metrics: computes metrics
app.py - Association metrics → Summary results: summarizes results
app.py - Summary results → Association chart: renders chart
app.py - Summary results → Results table: renders table
app.py - Results table → Feature details: selects feature
app.py