I need to train a supervised learning model which would take some input which differs in its output relating to time. to better understand my question I would give a simple binary classification, the model would receive an object that changes according to time so on time period t0 the output of the model related to that input differs from the output of the time period t1. I might be describing something either very easy and I missed it or something that doesn't yet exist. EDIT: I am preparing a model that classifies fruit based on its appearance to either be consumable or not. The only different thing in my work is that in specific time periods what was considered not consumable should be considered consumable so a picture of a fruit in a certain state could be classified both ways in general but in a specific time period it has only one classification.

  • $\begingroup$ I would advise going over recurrent neural networks as a starting point. $\endgroup$ Commented Oct 3, 2022 at 20:00
  • $\begingroup$ Your question is quite abstract, could you give a more concrete example? For example, are you trying to predict a temperature, product sales, stock market price or what? You mention binary classification, what would the two classes be? $\endgroup$
    – NikoNyrh
    Commented Oct 3, 2022 at 20:32
  • $\begingroup$ Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. $\endgroup$
    – Community Bot
    Commented Oct 4, 2022 at 2:06

1 Answer 1


Supervised learning models can handle time-varying data by using a variety of techniques. One common approach is to use a Sliding Window, where the model is trained on data from a fixed period and then applied to data from a different period. Another approach is to use a Recurrent Neural Network, which can learn temporal dependencies in data. If the input data changes over time, the model can learn to adapt and update its predictions accordingly.

It sounds like you are looking for a model that can learn to classify the fruit based on its appearance, and then can also learn to update its classification based on the specific period. This type of model does not currently exist, but it could be developed with enough data and training.You will need to design your own AI algorithm to accomplish this task.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .