A Bayes Algorithm for the Multitask Pattern Recognition Problem - Direct Approach (Lecture notes in computer science)