TryMLEasy begins its workflow on the main page (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Gurneet1928/TryMLEasy/llms.txt
Use this file to discover all available pages before exploring further.
home_page.py), where you upload the CSV dataset you want to work with. This is the very first step — everything from feature selection through model training depends on the file you provide here. Once uploaded, your data flows through a series of guided pages that take you from raw CSV all the way to trained model results, with no code required.
File Requirements
TryMLEasy reads your dataset usingpandas.read_csv(), so the file must be a valid comma-separated values (.csv) file. Beyond the format itself, keep the following constraints in mind before uploading:
- Format:
.csvfiles only. Other formats (Excel, JSON, Parquet) are not accepted by the uploader widget. - Columns: All feature and target columns used during model training must be numeric. The app does not encode or transform categorical text columns automatically.
- Headers: Your file should include a header row — column names are used throughout the feature selection and results pages.
- Size: No explicit file size limit is enforced by the application, though very large files may slow down the browser interface.
TryMLEasy currently supports numerical columns only. If your dataset contains categorical string columns (e.g.,
"male"/"female" or "yes"/"no"), you must encode them as numbers (e.g., 0/1) before uploading. Columns with mixed or object dtypes may cause errors during training.Uploading Your File
The main page presents a single file uploader widget. Follow these steps to get your dataset into TryMLEasy:Open TryMLEasy
Launch the application in your browser. If you are running it locally, navigate to http://localhost:8501. If you are using a hosted deployment, open the provided cloud URL.
Click Browse Files
On the main page, locate the file uploader labelled “Upload your dataset in a .csv file format.” Click the Browse files button (or drag and drop your file directly onto the widget).
Select your .csv file
In the file picker dialog that opens, navigate to your
.csv file and select it. The uploader accepts only .csv files — other extensions will be rejected.Confirm the file appears
After selecting a file, its name will appear below the uploader widget and the progress bar will update. The Next button is disabled while no file is loaded; it becomes enabled automatically once a valid CSV file is detected.
Reviewing Your Dataset
After clicking Next, you land on the Show Dataset page (pages/1_show_dataset.py). This page renders your full DataFrame using st.dataframe() with use_container_width=True, giving you a wide, scrollable, interactive table directly in the browser.
Use this view to:
- Scroll horizontally to confirm all expected columns are present.
- Scroll vertically to spot obvious data issues like missing rows or misaligned values.
- Verify column names — these are the names you will use when selecting features and a target column on the next page.
- Back (Dataset Upload) — returns you to the main page so you can upload a different file.
- Next (Feature Selection) — advances to the Feature Selection page where you configure your ML pipeline.
Using the Sample Dataset
The TryMLEasy repository includes a ready-madesample_data.csv file in its root directory. This is a wine quality dataset with 12 fully numeric columns — ideal for testing the full TryMLEasy workflow end to end without preparing your own data first.
The first few rows look like this:
- Download
sample_data.csvfrom the TryMLEasy GitHub repository. - Upload it on the main page using the steps above.
- Use any of the 11 input columns as features and
qualityas the target for a regression task, or explore classification by binning the quality scores beforehand.
Session State and Page Refreshes
TryMLEasy stores your uploaded dataset inst.session_state.got_file. This means the DataFrame persists as you navigate between pages within the same browser session — you do not need to re-upload when moving from Feature Selection back to Dataset view, for example.
However, if you refresh the browser page or close and reopen the tab, Streamlit resets the session state entirely. The got_file key will be None again, and all downstream pages (Show Dataset, Feature Selection, etc.) will lose access to the data. If this happens, simply return to the main page and re-upload your file.