Ovarian cancer is the fifth leading cause of cancer deaths in women in the western world for 2013. In ovarian cancer, benign tumors turn malignant, but the point of transition is difficult to predict and diagnose. The 5-year survival rate of all types of ovarian cancer is 44%, but this can be improved to 92% if the cancer is found and treated before it spreads beyond the ovary. However, only 15% of all ovarian cancers are found at this early stage. Therefore, the ability to automatically identify and diagnose ovarian cancer precisely and efficiently as the tissue changes from benign to invasive is important for clinical treatment and for increasing the cure rate. This study proposes a new ovarian carcinoma classification model using two algorithms: a novel discretization of food sources for an artificial bee colony (DfABC), and a support vector machine (SVM). For the first time in the literature, oncogene detection using this method is also investigated.