Skip to content

Function testing#51

Open
victornyabote wants to merge 44 commits intoDataBytes-Organisation:mainfrom
victornyabote:function-testing
Open

Function testing#51
victornyabote wants to merge 44 commits intoDataBytes-Organisation:mainfrom
victornyabote:function-testing

Conversation

@victornyabote
Copy link

Add Function Testing for Time-Series Data Pipeline

🔑 Key Additions

  • Implemented automated testing functions to validate the data ingestion and cleaning pipeline.
  • Added rolling correlation analysis with a 20-period window across sensor datasets.
  • Visualised raw vs. cleaned data to confirm correctness of preprocessing.
  • Produced comparative plots showing correlation fluctuations and anomalies across datasets.

📊 Benefits

  • Ensures the time-series pipeline is reliable and works consistently across multiple datasets.
  • Provides validation evidence that cleaning improves stability and interpretability of sensor data.
  • Detects anomalies (e.g., perfect correlation = 1.0) and supports further investigation.
  • Builds foundation for backend integration and machine learning tasks in later stages.

🧪 Testing

  • Verified that all four datasets (1321079.csv, 1350261.csv, 3036461.csv, 518150.csv) load and process correctly.
  • Checked that rolling correlations compute without errors.
  • Plots for raw vs. cleaned data confirm proper interpolation and formatting.

✅ Checklist

  • Function testing notebook added/updated (sprint_2 continuation.ipynb).
  • Pipeline tested across multiple sensor datasets.
  • Rolling correlation analysis implemented.
  • Visual outputs (raw vs. cleaned data) validated.

tomledeakin and others added 30 commits March 23, 2025 17:09
Signed-off-by: Jainy13 <71789932+Jainy13@users.noreply.github.com>
…nshi

Overview:

This pull request includes the addition of various outputs from the correlation study, including:
CSV and JSON files for the processed sensor data (both simple and complex datasets).
Visualizations saved as PNG files, which include:
Rolling correlation between sensor 1 and sensor 2.
Explained variance from PCA.
Correlation heatmap between sensor 1 and sensor 2.
Anomalies in sensor readings using z-scores.
The Jupyter notebook containing the code (correlation_devanshi.ipynb) was also updated with these visualisations and saved outputs.

Purpose:

These outputs and visualisations will help the web team use the prepared sensor data in their desired formats, and the plots will assist in understanding the correlations and anomalies in the sensor data.
I had done correlation analysis in jupyter notebook so I am uploading my ipynb file.

Signed-off-by: 224096029 <168412043+224096029@users.noreply.github.com>
Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
…ent Platform.pdf to dockument for web/Software Requirements Specification (SRS) for IoT Data Management Platform.pdf

Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
…ent Platform.pdf to documents for web team/Software Requirements Specification (SRS) for IoT Data Management Platform.pdf

Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
… for web team/User Stories for IoT Data Management Platform.pdf

Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
…cuments for web team /Collaborating with GitHub for Frontend Projects (1).pptx

Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
Signed-off-by: srii03 <162790549+srii03@users.noreply.github.com>
devanshityagii and others added 14 commits May 25, 2025 15:20
…tection

Signed-off-by: devanshityagii <141796139+devanshityagii@users.noreply.github.com>
…shi-correlation-study

Approval and merge from original pull request
…on/feature/correlation-analysis

Extending previously approved pull request from PR DataBytes-Organisation#5, merging again
…lation

Correlation Analysis by Jainy Joy
…ion/chore/organise_correlation_studies

Organize Correlation Analysis Studies into Dedicated Directory
- Created a `docker-compose.yml` file to define services for backend (Django) and frontend (Vite).
- Updated `package.json` to include new dependencies: `file-saver`, `html2canvas`, `jspdf`, and `papaparse`.
- Modified the `dev` script in `package.json` to run Vite with the `--host` option for hot reloading.
- Added a `requirements.txt` file for the backend with necessary Django packages.
…ion/feature/docker-compose

Add Docker Compose configuration and update frontend dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants