Machine learning basics and types