How lucasclx/previsao-status-sadipem works
Purpose and execution model
This is a notebook-driven Python machine-learning study that predicts the status of administrative processes in the Sadipem system. Its primary entry point is previsao_status_sadipem.ipynb; there is no application service, API, package layout, or deployment runtime in the repository.
Source data boundary
Raw process records are supplied as CSV exports:
• SADIPEMCONSULTAPUBLICAGERALBATCH11112024.csv
• SADIPEMCONSULTAPUBLICAGERALBATCH05122024.csv
These files form the external-data boundary. The README identifies the November export as the training/evaluation source; the second batch likely supports a separate snapshot or comparison, but its precise role must be verified in the notebook.
Data preparation and feature construction
The notebook owns the end-to-end transformation pipeline: loading tabular CSV data, cleaning records, handling missing values, and deriving model features. Intermediate curated data is represented by:
• dados_em_analise.csv
• dados_em_analise_com_previsoes.csv
The former is the likely analysis-ready dataset, while the latter is the likely enriched output containing model predictions.
Exploratory analysis stage
Exploratory data analysis is performed within previsao_status_sadipem.ipynb, using visualizations and correlation/pattern analysis before or alongside modeling. This stage is tightly coupled to the prepared dataset rather than separated into reusable modules.
Modeling and evaluation stage
previsao_status_sadipem.ipynb trains and validates scikit-learn-style predictive models for process status. The stated evaluation boundary includes accuracy, precision, and recall. Model artifacts are not present in the tree, so trained models appear to be ephemeral notebook state rather than versioned or serialized deliverables.
Prediction output flow
The expected primary flow is: Sadipem CSV batch → notebook preprocessing/features → model training/validation → status predictions → exported enriched CSV. dados_em_analise_com_previsoes.csv is the material output available for downstream review or prioritization.
Runtime and dependencies
The intended runtime is Python 3.8+ in Jupyter, with Pandas and NumPy for tabular processing, Matplotlib for analysis, and scikit-learn/SciPy for modeling. No cloud infrastructure, database, message queue, authenticated external API, or production orchestration is represented in the repository.
Main entry points: previsao_status_sadipem.ipynb Preparation and features · dados_em_analise.csv Analysis-ready data · SADIPEMCONSULTAPUBLICAGERALBATCH11112024.csv November Sadipem batch · SADIPEMCONSULTAPUBLICAGERALBATCH05122024.csv December Sadipem batch
Components 12
Data Files
CSV inputs and notebook-produced datasets.
- November Sadipem batch · Training and evaluation source.
SADIPEMCONSULTAPUBLICAGERALBATCH11112024.csv - December Sadipem batch · Separate snapshot or comparison input.
SADIPEMCONSULTAPUBLICAGERALBATCH05122024.csv - Analysis-ready data · Prepared dataset used for analysis and modeling.
dados_em_analise.csv - Data with predictions · Downstream review and prioritization output.
dados_em_analise_com_previsoes.csv
Notebook Workflow
All analysis and modeling run in one Jupyter notebook.
- Prediction notebook · Owns the end-to-end study workflow.
previsao_status_sadipem.ipynb - Preparation and features · Cleans records, handles missing values, and derives features.
previsao_status_sadipem.ipynb - Exploratory analysis · Visualizes distributions, correlations, and patterns.
previsao_status_sadipem.ipynb - Model training and validation · Trains status predictors in ephemeral notebook state.
previsao_status_sadipem.ipynb - Evaluation metrics · Accuracy, precision, and recall.
previsao_status_sadipem.ipynb - Status predictions · Predicted process statuses.
previsao_status_sadipem.ipynb
Other components
- Python/Jupyter runtime · Python 3.8+ notebook runtime.
- Data science libraries · Pandas, NumPy, Matplotlib, scikit-learn, and SciPy.
Connections 11
- Python/Jupyter runtime → Prediction notebook: executes
- Data science libraries → Prediction notebook: supports
- November Sadipem batch → Preparation and features: loads
- December Sadipem batch → Preparation and features: loads if used · Its precise notebook role requires verification.
- Prediction notebook → Preparation and features: runs
- Preparation and features → Analysis-ready data: writes
- Analysis-ready data → Exploratory analysis: analyzes
- Analysis-ready data → Model training and validation: trains and validates on
- Model training and validation → Evaluation metrics: reports
- Model training and validation → Status predictions: generates
- Status predictions → Data with predictions: exports