Skip to content

Migrate Workflow from R Kumu to PyKumu (Python) #4

Description

@phuong808

Project Overview

The purpose of this project is to migrate an existing R analysis notebook to Python, verify that the Python implementation produces equivalent results, refactor the workflow into a modular API, and integrate the Kaiaulu data processing pipeline to support a complete and automated data analysis process.

Milestone 1

  • Fully migrate the existing R notebook into a Python notebook and confirm that both implementations produce identical outputs.

Milestone 2

  • Refactor the Python notebook into reusable Python modules and expose its core functionality through an API.

Milestone 3

  • Integrate the Kaiaulu data file into the Python workflow by parsing and preprocessing the data prior to performing causal analysis.

Task List

Sections needed to be migrated from R notebook

  • Feature Engineering
    • Formatting Data Types
      • CVE Data Type
    • Feature Renaming
    • Missing Data Handling
      • Convert "start" to Unix Timestamp
    • 1-Time Lag Features
    • Remove Short CVEs
    • Addressing Determinism and High Intercorrelation Among Features
  • Non-Parametric Transformation
    • Binarized CVE Indicators
    • Add Null Features
    • Keep only 5 null indicator features
  • FGES Null Variable Search
  • BOSS Null Variable Search
  • Deriving the 1 PNEF Threshold
    • Graph Examination
    • Deriving 1 PNEF
  • Non-Null Causal Search
    • Domain Knowledge Causal Search without Null Variables
    • Causal Search
  • Applying 1PNEF Threshold
    • Applying 1PNEF Threshold
  • Results
    • Full Causal Graph 1-PNEF Trimmed
    • Sub-Graphs of Effort Variables and Parents

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions