How to find your signature style (+tasks)

If this were something completely incomprehensible, then artificial intelligence would never be able to generate images in the style of famous artists. How does it do it? That's right, it uses the most frequently repeated rules as a basis.