The first part of the task: dimentionality reduction methods.