
Editorial illustration.
Originally published 21 June 2023; rewritten and reviewed on 15 October 2026.
The hardest part of starting AI programming is the sheer volume of things that appear mandatory on day one: linear algebra, PyTorch, vector databases, prompt frameworks, and a new model release every Tuesday. It is easy to spend three months watching tutorials and still have nothing running. The fastest way to break that cycle is to pick one small, concrete question and finish a project that answers it honestly.
Pick a question that has observable answers
Skip vague goals like “build an AI assistant.” Choose a narrow task where you can inspect the output yourself and tell immediately whether it is right or wrong.
Good starter projects look like this:
- Classifying incoming customer inquiries (for example, sorting support messages into billing, technical, or general inquiry).
- Extracting structured fields (supplier name, invoice number, date, total in RM) from a small folder of sample PDFs.
- Estimating delivery time or ticket resolution time from historical order records.
Pick the language that fits where the code will live. Python (pandas, scikit-learn, pydantic) gives you the shortest path for data cleaning and quick experiments. If your day job is in .NET, C# with ML.NET or Microsoft.Extensions.AI is completely valid—especially if the end goal is plugging the feature into an existing ASP.NET Core app. The point is finishing the loop, not adopting a specific language as an identity.
Build a baseline before a complex model
Before you reach for a deep neural network or a large language model, clean your data and build a boring baseline. Look for missing values, duplicate rows, and inconsistent labels. Split your dataset into training and test sets so you are not grading the model on examples it has already seen.
Then run the simplest possible baseline—a few keyword rules, a regex extractor, or logistic regression—and record its score. For example, in Python you can get a clean baseline in twenty lines:
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import classification_report
from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(
texts, labels, test_size=0.2, random_state=42, stratify=labels
)
vec = TfidfVectorizer(ngram_range=(1, 2), min_df=2)
clf = LogisticRegression(max_iter=1000)
clf.fit(vec.fit_transform(X_train), y_train)
preds = clf.predict(vec.transform(X_test))
print(classification_report(y_test, preds))
Once you have that baseline, you can test whether a fancier model or an LLM prompt actually beats it—and by how much. Keep an error log of the cases it gets wrong. In Malaysia, for instance, a text classifier trained on clean English will often stumble on Manglish or Bahasa Melayu-English code-switching (“nak tukar tarikh booking boleh?”). Writing down those failure modes teaches you far more than chasing a 99% accuracy headline on a toy dataset.
Finish the handover
A notebook sitting on your laptop is only half a project. Wrap your work into something another person—or your future self six months later—can actually run: a small CLI command, a minimal FastAPI or ASP.NET endpoint, or a clean script with pinned dependencies (requirements.txt or .csproj).
Document four things in the README.md:
- The exact input format it expects.
- The package or model versions used.
- How you evaluated it, including the baseline comparison.
- Where it fails and should not be trusted automatically.
If your project calls a paid model API, set a hard monthly spending cap (for example, USD 10 or RM 50) in the provider dashboard before you run batch tests, and log token usage during development. Keep API keys in .env or user secrets, and never commit real customer names, MyKad numbers, or phone numbers into a public repository.
The project is done when you can explain what it does, show how you tested it, and point to its weak spots. With one finished project behind you, every new model or framework becomes much easier to evaluate on its merits.