SIM-ELM: Connecting the ELM model with similarity-function learning