In this work, we propose, design, and implement a solution to a problem of evaluating a numerical method. Thisproblem was conceived with the intention of applying the methodology of problem-based learning (PBL) inpostgraduate students of a course called "Applied Mathematics to Indirect Measurements". The main objective is forthe student to understand and relate several fundamental concepts that appear in the problem at hand, withoutadding additional complications in the development of the code. Therefore, a linear toy model with a single randomvariable is considered. The specific problem is the study of the performance of a sequential Monte Carlo (SMC)method, developed by the authors in the field of inverse problems, through the estimation of the method's tuningparameter. To do this, a supervised classification is proposed that use as training data those generated by the optimalestimation (OE) method. The idea of the work is that students, through the developed code, can analyze how thetopics of two very important areas of applied mathematics today, namely, inverse problems (IP) and machinelearning (ML), are integrated in practice through a Bayesian approach, such as the OE method.