Code Showcase

Selected projects with concise code samples and stacks.

Customer Churn Prediction

Python · scikit-learn · pandas

Classification pipeline with train/test split and evaluation.

# churn.py import pandas as pd from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier from sklearn.metrics import classification_report df = pd.read_csv('data/churn.csv') X = df.drop('churn', axis=1) y = df['churn'] X_tr, X_te, y_tr, y_te = train_test_split(X, y, test_size=0.2, random_state=42) model = RandomForestClassifier(n_estimators=200, random_state=42) model.fit(X_tr, y_tr) print(classification_report(y_te, model.predict(X_te)))

ERP — HR Module Prototype

Flask · SQLite · REST

Minimal CRUD endpoints for employees.

# app.py (Flask) from flask import Flask, request, jsonify app = Flask(__name__) employees = [] @app.get('/api/employees') def list_employees(): return jsonify(employees) @app.post('/api/employees') def create_employee(): data = request.json employees.append(data) return jsonify(data), 201

Backend API (FastAPI)

FastAPI · PostgreSQL · Docker

Healthcheck and sample route.

# main.py (FastAPI) from fastapi import FastAPI app = FastAPI() @app.get('/health') def health(): return {'status':'ok'}

Chittagong Map Visualization

GeoPandas · Folium

Interactive map centered on Chittagong.

# map.py import folium m = folium.Map(location=[22.3569,91.7832], zoom_start=12) # m.save('map.html')

Want to see more?

Check the condensed examples above or contact me for full repositories.

Back to Home