Methods and algorithms of machine learning, applied in materials research