Academia.eduAcademia.edu

Decision Making in Scientific Machine Learning

2026, Machine Learning and Applications

https://doi.org/10.5121/MLAIJ.2026.13101

Abstract

Scientific Machine Learning is built on the science-of-counting, is deductively solvable, and is well-suited to business and human applications that naturally involve count. From the Gibbs formalism, Scientific Machine Learning produces unique and exact scientific measurements that define the state of the time-series. Time-series itself defines a geometric structure tailor made for geometric projections, optimization and decision making. Inventory sales management decisions will demonstrate Scientific Machine Learning without introducing models or model bias.

Machine Learning and Applications: An International Journal (MLAIJ) Vol.13, No.1, March 2026 DECISION MAKING IN SCIENTIFIC MACHINE LEARNING Mark Temple-Raston Decision Machine, New York City ABSTRACT Scientific Machine Learning is built on the science-of-counting, is deductively solvable, and is well-suited to business and human applications that naturally involve count. From the Gibbs formalism, Scientific Machine Learning produces unique and exact scientific measurements that define the state of the time-series. Time-series itself defines a geometric structure tailor made for gemometric projections, optimization and decision making. Inventory sales management decisions will demonstrate Scientific Machine Learning without introducing models or model bias. KEYWORDS Machine Learning, Supply Chain Management, Prediction, Optimization, Interaction, Information Theory, Decision Theory 1. INTRODUCTION The science-of-counting (SoC) is founded on the principle of maximum information entropy, a method of logical inference used to define both science and machine learning through enforced constraints on information [1]. A person’s confidence and certainty in counted data can be expressed mathematically, where the counted data are the enforced constraints on maximum entropy. So that, 23 refrigerators is exactly 23 refrigerators; no plus-or-minus allowed. The simplest, unsupervised, non-trivial and solvable machine learning is built on the science-of-counting, appropriately called Scientific Machine Learning. Scientific Machine Learning (SML) ingests time-series and returns scientific measurement. Deductive decisions are layered on top of SML, for example, dynamic generalizations of N-Armed Bandits [3]; exact and unbiased probability distributions for risk analysis; exact and unbiased inventory levels and resource allocations. These same decisions can be part of a complex and can be competitive. Emerging in the first half of the 19th century, the science-of-counting generated new and fruitful scientific disciplines (thermodynamics, the theory of electricity, physical chemistry) to generate many successful practical applications during the industrial revolution. Unlike mechanics (constant total energy and no external interactions), the science-of-counting applies to all time-series, mechanical or otherwise, that count states, events, or a unit of measure as natural number multiples (1,2,3,...). SML integrates time-series to provide the scientific justification and geometric structure for a fully deductive and dynamic Machine Learning. Illustrate Scientific Machine Learning with six years of weekly recorded sales time-series for a Consumer Product Good (CPG)---individual-serving coffee pods. The sales data is plotted in Figure 1a (black curve). The arithmetic mean (average) of the sales data is superimposed on Figure 1a (dashed red curve). When the sales data and arithmetic mean overlap, the sales data behaves statistically, that is, close to equilibrium (sales are just as likely to go up, as to go down).1 DOI:10.5121/mlaij.2026.13101 Machine Learning and Applications: An International Journal (MLAIJ) Vol.13, No.1, March 2026 Sales data above the average and below the average behave non-linearly with non-linear forces and heat dissipation that affect market behaviour. Scientific Machine Learning ingests the sales data and returns scientific measurements, including the exact probability distribution (PD, red dots) in Figure 1b. Because counting is exact, the SML probability distribution consists of discrete points, corresponding to each natural number multiple of the unit for demand. Note that the countable, infinite sum of points in the probability distribution add to one---not the area under the curve. Exact probabilities determine precisely the boundary for the 99.9 percentile (e.g., VAR). The demand distribution (blue) is the direct multiplication of the probability with the unit multiple and therefore is also discrete, and sports a thickened tail. The countable, infinite sum of the points in the demand distribution add up to the expected demand. We refer often to the exact probability distribution (PD) in Figure 1b, because of its utility and will return to the Coffee Pod data for illustration. In the next section, we develop Decision Machine on top of the Scientific Machine Learning engine and explore essential capabilities in each subsection. 2. DECISION MACHINE 2.1. Inventory Management The expected total inventory cost starting with an initial supply of n ϵ N items is denoted by f(n). By enumerating the various cases that correspond to excess demand over supply, and to be able to fulfil the demand, the minimum expected total cost, f(n), is given by [2]: where infinite discrete sums replace integrals, and where y is the inventory level, and y-n is the difference between the stock level and what is currently in inventory, n. The cost of ordering z items to increase the stock is given by k(z). The cost of ordering z items to meet an excess of demand over supply is determined by the penalty cost, p(z). The discount ratio, a, is the time value of the product. The probability that the demand will be n is denoted by φ(n). Our objective is to calculate N in eq. (1) to minimize inventory cost. Bellman's functional equation (1) is solved exactly with SML in the special case that conforms with business practices, where the cost of ordering is directly proportional to the amount ordered, 2 Machine Learning and Applications: An International Journal (MLAIJ) Vol.13, No.1, March 2026 so that k(z)=kz and p(z)=pz. Assume that a, k and p are fixed, and that there is no shipping delay, d=0 (instantaneous fulfilment). The minimization of eq. (1) gives Recall that SML processed the coffee pod sales time-series in the Introduction to give an exact discrete probability distribution (Figure 1b). Therefore, φd=0(n)=p(λ,E)(n) for the demand, which can then be inserted into eq. (2). Solving for N: The floor function truncates N to a natural number. For the penalty ratio p/k = 5 and a=0.99, the optimal inventory level is calculated from the historical time-series and plotted (blue curve) in Figure 2. The same calculation applies at all scales, for example, the time-series for a shelf of product. In the next section, seasonality in sales data is examined. Also, from the projection eq. (8) in the next section, the future probability distribution φd(n) ≡ pd(n) is computed, and the inventory level eq. (2) is seen to hold for replenishment times, d > 0. 2.2. Projection and Optimization The previous subsection solved an inventory problem using the exact probability distribution defined by a time-series. However, there is something deeper going on: the scienceof-counting defines a discrete geometry that tells us how energy, mass, momentum, and so on, must fit together. Time-series in SML defines a discrete geometric structure, an affine connection one-form, A. When we add a unit decision direction, X, then the following geometric relation holds: Equation (4) defines the geometric dynamics for the probability distribution in SML. Two equally important scientific quantities emerge when time-series data is processed by SML (via Gibbs): the expected value <n>, and the expected strain, <ϵ>. However, when energy enters or exits a time-series (E ≠ 0), the natural coordinates are instead the expected demand, <η>, and 3 Machine Learning and Applications: An International Journal (MLAIJ) Vol.13, No.1, March 2026 the expected supply, <ξ>, connected by the coordinate chart, T: The self-coupling, λ, enforces the SML counting constraints. When the displacement energy vanishes, E=0, the expected supply and demand reduce to the Gibbs coordinates and statistical mechanics. The eigenvalues (λ+, λ-), and eigenvectors (ê1, ê2), for the chart E are easy to calculate. In the eigenbasis for the matrix, T is diagonalized and the matrix equation decoupled, so that future demand and supply are given by a sequence of energy-momentum ratios, (E_0/p_0, E_1/p_1,...,E_d/p_d), equivalently, the percentage increase or decrease, r = E/p, at each stage: For constant growth, r = constant, the trajectory for the expected demand is given by eq. (6) --- the definition of geometrically increasing. By adding the right amount of supply/tension, we can straighten the demand path. See Figure 3b. Any decision vector X can be written as a linear combination of eigenvectors, X = x ê1+y ê2, so that the connection can be evaluated on X, A(X) = x A(ê1) + y A(ê2). The time-series connection on the demand eigenvector is substitute into eq. (4) to calculate the probability-momentum and displacement energy for the next time-step, p_{i+1} and E_{i+1}, respectively. The system now evolves on its own, to give the geodesic flow in Figure 3a. Statistics assumes constant energy (Figure 3a), conventionally achieved by coupling the system to a constant temperature heat bath, that provides the needed energy. Fig. 3a tells us what happens everywhere else. The optimal path lies on, ê1, and is the straightest, flat curvature direction, but not a geodesic, because increasing energy and tension must enter the system to achieve optimality. An optimal policy requires that whatever the initial state and initial decision directtion, over 4 Machine Learning and Applications: An International Journal (MLAIJ) Vol.13, No.1, March 2026 which we may have no control, the remaining decisions must constitute an optimal policy. The exact increase in energy needed to follow the Expected Demand eigenvector can be calculated from Figure 3a and 3b to achieve the greatest increase in demand for the least energy in Figure 3b (optimality), and the dashed blue lines in Figure 4a and Figure 4b. Straightline dynamics and diminishing return for the expected demand is due to tuned supply/strain. Of course, there is no obligation to minimize energy expenditure as we did with the dashed blue line; the budget could be bigger, and ambitions higher. The red demand paths in Figure 4a&b are measurements from the sales data using SML. In plots of demand under strain, linear elements are observed, which maximize the expected demand and the expected supply, the maximum extension for the given energy. The linear behaviour observed experimentally is expected at second order (statistics with constant drift). The piece-wise linearity in the red path also reflects seasonality in sales: there is a high season and low season, with durations defined by sales operations in weeks that add up to 52. The slopes of the triangular demand curve are determined from our plots for the historical time-series (see Figure 4b). Using the slopes calculated for 2020 for future returns, impressive year-over-year percentage increases in sales for the red demand paths are calculated (see Figure 4c): 2023: 6.97%, 2024: 6.8%, 2025: 6.7%. 2.3. Decision Matrix Optimization The previous sections calculated the inventory level and control actions for a CPG product given sales history time-series: the exact discrete probability distribution (Figure 1b) and the probability dynamics implied by eq. (4). In this section competition and constraints on decisions 5 Machine Learning and Applications: An International Journal (MLAIJ) Vol.13, No.1, March 2026 are developed. Consider two SKUs (stock keeping units), A and B, with probability distributions, p_A and p_B, demands, <η_A> and <η_B>, measured in dollars in the time-series, and with resupply times, d_A and d_B, respectively. We allow direct costs, penalty costs, discount ratio (constant k, p, and a), and resupply times to be different for each SKU. If, for technical reasons, only one of the two SKUs can be resupplied at a time, which should be resupplied first to minimize expected cost? The expected inventory cost for each SKU, <C_A> and <C_B>, is given by: Because in this case only one SKU can be resupplied in the current time-step, the optimum decision is the SKU with the least expected cost, the minimum of <C_A> and <C_B>. In general, construct a Decision Matrix, D, that systematically evaluates each demand and all decisions simultaneously, and selects the best decision that minimizes expected cost. To illustrate with a third purely hypothetical decision point for the current pair of SKUs, where the direct costs, k, to resupply both SKUs without penalties is less/smaller, due bundling SKUs efficiently for shipping. This decision point is added to produce the Decision Matrix below that connects measured expected demands (time-series), <η_A> and <η_B>, to decisions based on expected cost, <C_A>, <C_B>, <C_{AB}>. Again, identify the optimal decision with the smallest expected cost. Each decision block is processed using time-series for the demands, and a configuration file that initiates the processing and defines the contractual terms and shipping times (kpad) and the Decision Matrix, to generate the lowest cost inventory levels subject to constraints. The Decision Matrix in Decision Machine can be generalized to any finite number of demands defined by timeseries, and a finite number of decisions, without model, bias or parameter fitting. 2.4. Time-Series Interactions The information Lagrangian for the science-of-counting evidently generalizes to include two time-series with interaction: 6 Machine Learning and Applications: An International Journal (MLAIJ) Vol.13, No.1, March 2026 Energy is allowed to enter and exit each time-series. When pairwise interactions are included (so that λ_{AB} ≠ 0), the science-of-counting determines an algebraic relationship between the pure, joint and conditional probabilities in Figure 5, given by: A special case of the interaction diagram in Figure 5 occurs when all masses in the momenta and distances beween the masses are counted in units and are constant (simple circular Newtonian gravity), where the expected circular geometry (see Figure 6a) is derived from counting and the geometric equation of motion for momentum. The geometry of the connection determines the curvature and the forces (resistance and stress) that drive dynamic behaviour. Tme-series measurements also give an exact value for the entangled state p(n_A| n_B)p(n_B|n_A) post-interaction, so that if we knew one leg of the output perfectly, then we would know the other (classical EPR). In practice, however, we don't know either output leg exactly, so that classical entanglement remains. The two-slit experiment (Figure 6b) is another example. 3. CONCLUSIONS We take pleasure in the accessible calculations in Scientific Machine Learning. With only an undergraduate’s knowledge of eigenvalues and eigenvectors, the meat of the science-ofcounting---the projective dynamics---can be figured out for yourself. Calculating the angle between statistics and the optimal solution is not difficult, and SML is used to evaluate the angle. 7 Machine Learning and Applications: An International Journal (MLAIJ) Vol.13, No.1, March 2026 It seems certain that neglecting scientific measurements of time-series when decision making can only lead to delusional operational environments. We have come to realize that, in many cases, or operational behavior is responsible for both the choppy seas and rocking-the-boat, causing our ship to swamp and sink beneath the arithmetic mean. Observe that restraint improves performance. REFERENCES [1] [2] [3] Jaynes, E.T. (2003) Probability Theory: The Logic of Science, Cambridge University Press. (Chapter 11, especially) Bellman, Richard (1957) Dynamic Programming, Princeton University Press. Temple-Raston, M. (2025) Scientific Machine Learning, Computer Science and Information Technology (CS & IT), Vol. 15, No. 18. (https://ssrn.com/abstract=5591450) AUTHOR Mark Temple-Raston, PhD, is a seasoned innovator and executive with over two decades of global experience in information technology and financial services. He is co-founder of Decision Machine, a company that takes a scientific approach to machine learning to deliver unbiased, precise analyses for market science and decision-making. Before launching Decision Machine in 2015, Mark spent 20 years on Wall Street, holding senior leadership roles at Citigroup, where he contributed to Global Functions, Enterprise Architecture Governance, and the Chief Data Office. His expertise spans enterprise architecture, data governance, and risk management across industries including healthcare, logistics, and aerospace. Mark earned his doctorate in Applied Mathematics and Theoretical Physics from the University of Cambridge, UK. His work reflects a commitment to rigorous, transparent systems that blend mathematical precision with practical business and human insight. email: [email protected] 8

References (3)

  1. Jaynes, E.T. (2003) Probability Theory: The Logic of Science, Cambridge University Press. (Chapter 11, especially)
  2. Bellman, Richard (1957) Dynamic Programming, Princeton University Press.
  3. Temple-Raston, M. (2025) Scientific Machine Learning, Computer Science and Information Technology (CS & IT), Vol. 15, No. 18. (https://ssrn.com/abstract=5591450)
About the author
Papers
20
Followers
1
View all papers from Mark Temple-Rastonarrow_forward