MACHINE LEARNING
Machine Learning in Nepal: Learn Through Krishna Mishra’s Public Projects
A project-based ML guide covering regression, classification, data quality and evaluation, with Krishna Mishra’s public code and AI Automation Nepal context.
Define the prediction before choosing a model
Machine learning becomes easier to understand when the output is precise. Estimating a price is different from recognising an image category or locating a number plate. Write down what information is available at prediction time and what result the model must return. That description determines which examples, labels and evaluation methods are relevant.
I am Krishna Mishra, founder and AI Automation Architect at AI Automation Nepal. My public GitHub and Hugging Face work includes regression, image classification, object detection and text classification. These projects provide material to inspect and learn from; they are not a catalogue of independently certified production systems.
Use regression and classification as two starting points
The laptop-price prediction repository is a regression example focused on specifications and a Nepal-oriented dataset. It gives readers a way to investigate the relationship between structured inputs and a numeric estimate. An estimate from historical listings should not be presented as a current market quotation without checking the data and its relevance.
Classification assigns a category rather than a number. My Nepali food and recycled-versus-organic waste repositories are image-classification examples. When reviewing a project, identify the categories, the source of the images and the intended input conditions before considering the architecture or an attractive headline metric.
Keep the test data separate from development choices
A model needs evaluation on examples that were not used to fit it. Repeatedly choosing settings based on the same test set gradually makes that set part of development. Preserve a held-out evaluation appropriate to the task, and check for duplicates or closely related examples crossing the split.
Preprocessing can also leak information. A transformation learned from the full dataset may expose the training process to information from evaluation examples. Fit learned preprocessing on the training portion and carry the same transformation into evaluation and inference. The exact split strategy should reflect how future inputs will differ from the development data.
Choose a metric that matches the consequence of an error
For a numeric estimate, inspect the size and distribution of the errors, not only an average score. For classification, examine which categories are confused and whether a rare but important class is missed. Compare against a simple baseline so the team understands what the model adds to a straightforward alternative.
A public repository may contain a reported score, but this article does not reproduce it as an independently verified result. To assess a model for a new business requirement, test relevant data under a documented procedure. A notebook result and an operational acceptance test answer different questions.
A model also needs a usable application boundary
An application must validate inputs, load the intended model version and interpret the output consistently. A changed category order or a missing preprocessing step can make an otherwise reasonable model produce misleading results. Document the input format, model artifact and output meaning together.
My public ML-model API repository explores the interface around a model. Through AI Automation Nepal, I connect the wider discussion to workflows and software: where the result is used, who reviews it and what happens when the input is outside the intended scope. The linked code is public evidence; a separate service requirement still needs its own assessment.
Build preprocessing inside the evaluation boundary
My ML learning work covers missing values, categorical encoding, scaling, outliers, feature selection and pipelines. These steps are connected decisions. For a laptop-price task, a category such as processor family is different from a numerical value such as memory capacity. Use an encoding appropriate to the meaning rather than assigning arbitrary ordered numbers to unrelated categories.
Fit an imputer, scaler or learned feature selector only on the training portion of each evaluation split. A pipeline helps keep those transformations together with the estimator. Otherwise a preprocessing statistic computed from the full dataset can leak information from held-out examples. An unseen category at prediction time also needs an intentional handling policy rather than a production exception.
Outliers require investigation before removal. An expensive laptop may be a genuine example, a currency mismatch or a data-entry error. Removing it only because it is far from the mean can erase exactly the cases the application needs to handle. Record the rule, apply it consistently and compare the effect on a relevant held-out evaluation.
Compare model families without turning names into rankings
My notes include linear and regularised regression, tree models, random forests, boosting, support-vector methods and ensembles. A simple regression provides an interpretable baseline; tree-based methods can model nonlinear relationships. Their suitability depends on the features, sample size, split and operating constraints. The public laptop repository shows a particular implementation, not evidence that every studied algorithm was deployed commercially.
For an illustrative regression check, predictions of NPR 95,000 and NPR 130,000 against actual values of NPR 100,000 and NPR 120,000 have absolute errors of NPR 5,000 and NPR 10,000: an MAE of NPR 7,500. That small example explains the metric; it is not my model’s reported performance. Inspect errors by price band as well as overall, since a useful average can hide poor results for a group of inputs.
Use a split that reflects the future task. Repeated listings of the same device or data from different periods can require grouped or temporal evaluation. Tune choices using development data and keep a final test for the selected approach. Cross-validation is a tool whose design must respect those dependencies, not a reason to shuffle every dataset indiscriminately.
Build a learning path around inspectable work
Start with one repository, reproduce the data preparation you can verify and explain the output in ordinary language. Then test a small number of realistic failures. This provides a stronger learning foundation than collecting many model names without understanding what any one project predicts.
For current training information or a business workflow discussion, use AI Automation Nepal’s company website and service contact. Keep educational project reproduction distinct from a commercial deployment, especially when data, support and evaluation requirements have not yet been established.