How artificial intelligence applies to apparel manufacturing