An Artificial Intelligence Method for Phenotyping of OCT Scans Using Unsupervised and Self-supervised Deep Learning