Available for work

Ibuildsystems thatrunwhileIsleep.

Automation·MachineLearning·Contentatscale
Scroll

01 / About

About

CS student in Poland. I build automation systems at scale — YouTube channels, Instagram pipelines, evolutionary ML. I write about what I learn.

Tech I work with

PythonNext.jsFFmpegFramer MotionWhisperRIFEQwenSQLJavaTypeScriptBashPyQt5Scikit-learn

02 / Projects

Projects

Consillum
Python

Consillum

Consilium: Building a Gradient-Free, Evolutionary Machine Learning Framework from ScratchIn the modern AI landscape, gradient descent and backpropagation are the undisputed kings of model training. But what happens when we abandon these traditional mechanisms and look to biological evolution for inspiration?Designed and engineered by software developer Emre Ercan, Consilium is a collaborative, evolutionary machine learning framework built completely from scratch. With zero external ML dependencies, this Python-based system evolves ensembles of neural specialists to predict tabular data, utilizing an interactive CLI and a data-agnostic Flask web dashboard.🧬 The Core Paradigm: Gradient-Free Evolutionary LearningUnlike standard neural networks that rely on frameworks like PyTorch or TensorFlow to compute gradients, Consilium's core training, optimization, and evaluation logic is built entirely using the Python standard library. The system trains neural models using pure evolutionary algorithms: mutation, crossover, and selection.Instead of a monolithic network, Consilium organizes an agent population (e.g., 144 agents) into distinct specialist groups:Numerical Specialists: Agents engineered with strong numerical weights but weak categorical embeddings.Categorical Specialists: Agents prioritizing strong categorical embeddings over numerical features.Interaction/Hybrid Specialists: Agents focused on capturing complex interactions between different feature types.Through Gradual Hybridization, outstanding agents earn "transfer rights" to crossbreed across these specialist groups, producing highly adaptable hybrid models.🧠 Under the Hood: Collaborative Penalty and Smart CrossoverWhat makes Consilium unique is that agents are never evaluated in isolation; they are evaluated inside an ensemble. This prevents agents from converging on identical, mediocre strategies.1. Collaborative Penalty MathFor each row in a batch, the ensemble output is calculated as the mean of its agents:$$\hat{y}_{ens} = \frac{1}{N}\sum_{i=1}^{N} \hat{y}_i$$If the ensemble predicts incorrectly, an individual agent $i$ is penalized using the following equation:$$\text{Penalty}_i = |\hat{y}_i - y| + \gamma \cdot (\hat{y}_{ens} - y) \cdot (\hat{y}_i - \hat{y}_{ens})$$Where $\gamma$ acts as the collaborative penalty weight. This mathematical constraint ensures that agents who skew the ensemble's prediction in the wrong direction are heavily penalized, actively forcing the emergence of complementary, specialized behaviors rather than redundant agents.2. Feature-Level Ablation & Smart CrossoverConsilium continuously measures the "expertise" of each agent via Feature-Level Ablation. By zeroing out individual features one at a time and measuring the resulting increase in error, the system dynamically calculates ablation scores.These scores are then transformed into a probability distribution utilized during Smart Crossover. When Agent A and Agent B breed, the child inherits weights at the feature level based on which parent understands that specific feature best:$$\text{Child Feature Weights}_f = \begin{cases} \text{Agent A Weights}_f & \text{with probability } \frac{\text{Score}_{A, f}}{\text{Score}_{A, f} + \text{Score}_{B, f}} \\ \text{Agent B Weights}_f & \text{otherwise} \end{cases}$$📊 Performance and the Data-Agnostic DashboardWhile pure evolution is notoriously difficult to optimize compared to gradient descent, Consilium stands its ground. Tested on the Polish car market dataset (~100,000 listings) to predict vehicle prices, the pure evolutionary model achieved a respectable 78.7% $R^2$ and a Mean Absolute Error of ~16,764 PLN, proving the viability of zero-dependency evolutionary algorithms against baselines like sklearn's Random Forest (93.9% $R^2$).To make this architecture accessible, Consilium ships with a Data-Agnostic Flask Web Dashboard. Users can simply upload any tabular CSV file, dynamically configure feature types, select a target variable, and train the population asynchronously. The dashboard provides real-time loss curves and allows users to interactively run inference on the evolved "Hall of Fame" ensemble directly from the browser.Engineered by Emre Ercan, Consilium is a testament to the power of fundamental computer science, proving that complex ML architectures can be built from the ground up without relying on black-box libraries.Explore the architecture, test the dashboard, and view the source code on my GitHub:👉 github.com/kairos8713/Consilium

Nexa V1
Python

Nexa V1

Nexa V1: AI-Powered MVP Transformation in Café Operations In today's retail and service sectors, speed, efficiency, and seamless communication are everything. This is exactly where Nexa V1 (Prototype MVP), designed and developed by software engineer Emre Ercan, comes into play. Emerging from an intensive 12-day development sprint, this full-stack SaaS prototype was built to digitize café operations, synchronize digital menus, and track live workflows. 🛠️ Development Paradigm: 100% Solo & AI-Collaborative One of the most striking aspects of Nexa V1 is the engineering process behind it. The entire ecosystem was developed utilizing a completely AI-Collaborative approach, without a single line of code written by external human engineers, freelancers, or third-party software outsourcing. By shifting traditional team dynamics to leverage AI for rapid logical iterations, micro-service design, and obscure hardware protocol validation, a single developer matched the production velocity of a complete engineering pod. ⚙️ MVP Engineering Architecture & Tech Stack Running as a live field test in a high-traffic commercial café ecosystem, Nexa V1 is a lean platform optimized for rapid infrastructure validation and low-overhead operational discovery: Core Architecture: A modular server-side rendering architecture built using Flask and Jinja2. Real-Time Data Flow: Asynchronous, lightweight network triggers powered by SQLAlchemy ORM and Flask-SocketIO running on an Eventlet production worker network. Database Strategy (The SQLite Decision): To achieve zero-configuration execution on localized hardware and completely eliminate cloud infrastructure spending during the prototype phase, SQLite was purposefully utilized. Because the data layers are completely isolated via SQLAlchemy ORM models, migrating the entire entity graph to a production PostgreSQL environment requires changing only a single server environment connection string variable. ⚠️ Battle Scars from the Field: Operational Emergency Hotfixes Desk-theory software engineering always crashes against real-world operational chaos. Nexa V1 prioritizes production uptime and continuous workflow cycles over perfect aesthetic formatting to survive the peak business hours of a commercial establishment. Some of the field-driven battle scars include: The F8 Hardware Bypass: To prevent store operations from freezing during a potential Hugin POS terminal lockup, a raw key-listener was injected straight into the global dashboard template to immediately connect/disconnect the physical terminal interface at runtime. Audio Autoplay Override: Custom gesture-unlock loops were introduced to bypass the aggressive auto-mute policies of mobile browsers. This guarantees that high-frequency acoustic alert signals reliably trigger when new orders drop onto the kitchen and bar displays. 🔮 Future Vision: Nexa V2 and Enterprise Scaling The operational metrics extracted from the V1 field test lay the foundation for moving the system from a localized prototype into a secure, commercial-grade, multi-tenant SaaS architecture (Nexa V2): IoT Automation Layer: Nexa Bar, featuring Arduino/ESP32 integrated peristaltic liquid dosing systems to protect material margins, and Nexa Kitchen, utilizing localized Raspberry Pi + Load Cell (HX711) scales to track ingredient waste and portion-control anomalies. Smart ERP & Accounting: Direct image processing from local sheet-fed office scanners. Documents are normalized and parsed via generative structuring models (e.g., Qwen) to automate stock intake and dynamic unit material cost updates. Edge-Computing & Sync: A hybrid infrastructure (Nexa Edge) that maintains store operations, POS networks, and camera verifications locally during WAN internet outages, seamlessly synchronizing an isolated transaction stream with cloud PostgreSQL nodes when link stability is restored. AI & Computer Vision: Nexa Vision, which auto-blocks malicious remote spam orders by validating actual human occupancy via local RTSP security camera streams, and Nexa Brain, utilizing time-series modeling to predict inventory peaks based on weather, shifts, and localized trends. This entire massive ecosystem was developed as a technological exploration by Emre Ercan, proving how traditional software engineering boundaries can be exponentially scaled through artificial intelligence. To explore my projects and check out the source code, visit my GitHub profile: 👉 github.com/kairos8713

03 / Blog

Posts coming soon.