--- gitea: none include_toc: true --- # PerfSPEC Learning Phase - ABOUT Based in [PrefSPEC: Performance Profiling-based Proactive Security Policy Enforcement for Containers](https://ieeexplore.ieee.org/document/10577533) document presented in [1], this repository contains source files used to generate and process data. [PrefSPEC document](PerfSPEC.pdf) [PresentaciĆ³n in Spanish](presentacion.pdf)
# What is done so far ? - [X] Good look and feel and interactions among processing, analisys and presentation - [X] Using better software packages management - [X] A notebook open lyke [Marimo](https://marimo.io/) to support alternative dataframes engines like [Polars](https://pola.rs/) rather than [Pandas](https://pandas.pydata.org/) - [X] Use settings and structures to play with different settins and options - [X] Implement a customize [LSTM](https://en.wikipedia.org/wiki/Long_short-term_memory) within notebooks - [X] Use notebooks as python scripts for command-line use cases like collect predictions or automatic train models - [X] Use [Dry](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) to reuse code and centralize common tasks like settings or loading resources. This is main use and existence of [lib_perfspec.py](learning/python/lib_perfspec.py) - [X] Spliting basic tasks among seveal specific **notebooks**: - **Preprocessing data** collection to generate clean and usefull (critical actions) info to train models and ranking [prepare_perfspec.py](learning/python/prepare_perfspec.py) - **Train models** to get predictions [train_perfspec.py](learning/python/train_perfspec.py) - **Get predictions** from existing models [run_perfspec.py](learning/python/run_perfspec.py) - **Review and analisys** trained models for better results [model_perfspec.py](learning/python/model_perfspec.py) # Plans # In Review