The Whirling Triangle Feature Extraction Method is a geometric–computational framework that performs rotational triangular partitioning and extracts structured features from each generated region.
This method is designed to model spatial complexity using whirling (rotating) triangle formations and convert geometric structures into machine-learning-ready datasets.
The project integrates computational geometry, spatial analytics, and feature engineering into a reproducible research pipeline.
- Whirling Triangle Decomposition
- Rotational Spatial Partitioning
- Recursive Triangle Generation
- Geometric Feature Engineering
- Synthetic Dataset Creation
.
├── Whirling_Triangle_Feature_Extraction_Method.ipynb
├── Whirling_Triangle_Features.csv
├── LICENSE.txt
└── README.md
This notebook implements the complete feature extraction workflow:
- Generates whirling triangular partitions
- Applies rotational geometric transformations
- Computes triangle region boundaries
- Labels each triangle uniquely
- Extracts geometric and statistical features
- Exports structured data into CSV format
The implementation ensures reproducibility and stable feature generation.
File: Whirling_Triangle_Features.csv
- Region-wise feature representation
- Stable feature values
- Machine Learning ready format
- Suitable for classification & clustering tasks
Each row corresponds to one triangular region generated during the whirling decomposition process.
- Triangle Area
- Perimeter
- Edge Lengths
- Aspect Ratio
- Compactness
- Centroid Coordinates
- Vertex Positions
- Orientation Angles
- Rotation Index
- Mean
- Variance
- Standard Deviation
- Skewness
- Kurtosis
- Triangle Level / Depth
- Region Index
- Spatial Hierarchy Position
These features encode both shape geometry and rotational spatial behavior.
Install dependencies:
pip install numpy pandas matplotlib scipy- Clone the repository:
git clone https://github.com/your-username/whirling-triangle-feature-extraction.git
cd whirling-triangle-feature-extraction- Launch Jupyter Notebook:
jupyter notebook- Open:
Whirling_Triangle_Feature_Extraction_Method.ipynb
- Run all cells to:
- Generate whirling triangles
- Extract features
- Export CSV dataset
- Computational Geometry Research
- Pattern Recognition
- Spatial Feature Engineering
- Synthetic Dataset Generation
- Machine Learning Modeling
- Academic Research & Publications
This project is licensed under the GNU General Public License v3.0.