Machine Learning In Galaxy Groups Detection