A method of predicting a disease or condition of a cornea or an anterior segment of an eye includes inputting input data into an AI model, processing the input data, and generating a set of scores and outputting a prediction. The input data may be representative of a cornea or anterior segment of an eye. Processing the input data may include processing the data through the plurality of convolutional layers, the fully connected layer, and the output layer. Each score of the set of scores may be generated by a corresponding node in the output layer. The output prediction may be related to the cornea or anterior segment of the eye represented by the input data processed through the AI model. The prediction may be determined by at least one score of the set of scores.