Machine learning in the textile industry