This is a Shiny web application in Python that enables users to upload a CSV file, select X and Y columns, and run polynomial regression analysis with adjustable regression order. The results are displayed in a table and a 2D regression plot.
- Upload a CSV file containing the dataset.
- Select
X
andY
columns from the CSV for regression analysis. - Adjust the polynomial regression order (1 to 5).
- View data in a tabular format and plot the 2D regression results.
- Clone the Repository:
git clone https://github.com/yourusername/your-repo-name.git cd your-repo-name
- Install the Required Libraries: Ensure you have Python 3 installed, and then install the necessary packages:
pip install -r requirements.txt
- Run the Application: Start the Shiny application by executing:
shiny run --reload --launch-browser app_regression.py
- Interacting with the App:
- Upload a CSV file with data.
- Choose the
X
andY
columns to use for the regression. - Select the polynomial order for regression.
- View the table of data and the regression plot in the respective tabs.
app_regression.py
: Main application file containing the web app code.
pandas
plotly
shiny
shinywidgets
matplotlib
seaborn
This README provides a basic overview of the project, instructions for setup and use, and other relevant information. Let me know if there’s anything specific you’d like to add or modify. Feel free to contribute or reach out if you have any questions!