I have this simple RandomForest Regression Model which does training and testing and then prints the predictions and model accuracy. I want to write a python automated script for scheduling this code which will do training once every month and testing once every week automatically.

You tagged this thread with "C". I added "Python" as a tag and removed "C".

Is your problem with the actual logic of the code (which we won't write for you), or is it with the scheduling (which you can do with the Windows Task Scheduler), which we can help you with?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.