HIV drug resistance prediction with weighted categorical kernel functions