What process or logical steps do you take to predict a function from any dataset?
I don't want to predict the function using a specific dataset; I want to understand how you predict a function when approaching a new dataset.
For example, if you see [1,3,5,7,9], how would you determine which function to use to capture those data points? Then, how would you predict the function for a completely different dataset, such as [16, 202, 984, 1024, 1111]? What is common when predicting between those two different datasets?
To some extent, this is impossible in general. There are an infinite number of valid formulas, and, for any given finite dataset, there are an infinite number of formulas which match them. This is especially true since you haven't defined which operations you are considering to be primitives.
One could provide an inherent ordering of which functions are preferred using the arithmetic hierarchy, with the shortest function defining your dataset being the preferred one. However, finding that shortest function is effectively impossible algorithmically for all but the simplest cases, as it requires the halting problem to determine.