Modeling of artificial intelligence