  The principle of adaptation in a noisy retrieval environment is extended here
to a diluted attractor neural network of Q-state neurons trained with noisy
data. The network is adapted to an appropriate noisy training overlap and
training activity which are determined self-consistently by the optimized
retrieval attractor overlap and activity. The optimized storage capacity and
the corresponding retriever overlap are considerably enhanced by an adequate
threshold in the states. Explicit results for improved optimal performance and
new retriever phase diagrams are obtained for Q=3 and Q=4, with coexisting
phases over a wide range of thresholds. Most of the interesting results are
stable to replica-symmetry-breaking fluctuations.
