Scientific research methodology applied to artificial intelligence and data science: General approach