How dvkjain/sea_project works
Sea is a terminal data utility and neural-network workflow tool. Users invoke commands to preview, clean, plot, or split supported datasets, or train and evaluate regression/classification models. The ML path loads feature and target columns, applies scaling and optional target encoding, fits or tunes a model, saves its preprocessing metadata with it, and later reuses that metadata for evaluation. The graph preserves README capabilities; unsampled modules are represented only where documented, and edges reflect shown calls or documented command behavior.
Main entry points: cli.py Command router · train_command.py Training command · evaluate_command.py Evaluation command · regression_model.py Regression model
Components 15
CLI entry
- Command router
sea/cli.py
Dataset operations
- Preview data
sea/read_command.py - Clean data
sea/clean_command.py - Split dataset
sea/ml/split_command.py
Visualization
- Plot data
sea/plot_command.py
Model workflow
- Training command
sea/ml/train_command.py - Feature loader
sea/ml/data_utils.py - Shared model prep
sea/ml/base_model.py - Regression model
sea/ml/regression_model.py - Classification model
sea/ml/classification_model.py - Evaluation command
sea/ml/evaluate_command.py
Other components
- Terminal user
- Dataset file
- YAML config
- Saved model
Connections 25
- Terminal user → Command router: invokes
README.md - Command router → Preview data: routes to
sea/cli.py - Command router → Clean data: routes to
sea/cli.py - Command router → Plot data: routes to
sea/cli.py - Command router → Split dataset: routes to
sea/cli.py - Command router → Training command: routes to
sea/cli.py - Command router → Evaluation command: routes to
sea/cli.py - Dataset file → Preview data: read by
sea/read_command.py - Dataset file → Clean data: read by
sea/clean_command.py - Clean data → Dataset file: writes cleaned data
sea/clean_command.py - Dataset file → Split dataset: read by
sea/ml/split_command.py - Split dataset → Dataset file: writes partitions
sea/ml/split_command.py - Dataset file → Plot data: read by
sea/plot_command.py - Dataset file → Training command: training input
README.md - YAML config → Training command: configures
sea/ml/train_command.py - Training command → Regression model: constructs
sea/ml/train_command.py - Training command → Classification model: constructs
sea/ml/train_command.py - Regression model → Shared model prep: extends
sea/ml/regression_model.py - Classification model → Shared model prep: extends
sea/ml/classification_model.py - Shared model prep → Feature loader: loads data
sea/ml/base_model.py - Regression model → Saved model: saves model
sea/ml/regression_model.py - Classification model → Saved model: saves model
sea/ml/classification_model.py - Saved model → Evaluation command: loaded for evaluation
README.md - Dataset file → Evaluation command: test input
README.md - Evaluation command → Feature loader: loads test data
sea/ml/evaluate_command.py