product out of stock prediction
You may don’t need any machine learning for that, just simple math.

Calculate the average use per day, define your desired minimum amount which should be on stock and collect the time for a supplier to send you new products.

After that, you can predict when to order your product from the supplier to always have your desired amount on stock.

Search for order point system :)

With the system you could estimate when a product will be out of stock and when to order to prevent that.