Learning, unlearning and forgetting processes in industrial districts