Big data analytics for smart factories of the future