Understanding of open stellar clusters and peculiar spectra in sky surveys using machine learning : doctoral thesis