Dr. Mario Graff

Since Octobre 2014, Mario works at CONACYT as a researcher and is commissioned to INFOTEC. He is part of INGEOTEC research group.

Mario principal research interests is in the development on classifiers and regressors based on Genetic Programming that can work on multi-dimensional problems with thousands of examples (see EvoDAG).

INGEOTEC research interest is text categorization seen as a supervised learning problem, that is, as a classification task. In this problem, we have developed two text modeling techniques that represent the text in a vector space model and use a Support Vector Machine as a classifier. These techniques are B4MSA which is a sentiment analysis classifier and microTC a general text classifier. In addtion this, we have been working on novel classifiers based on Genetic Programming EvoDAG.

In sentiment analysis, we have participated in a number of sentiment analysis competitions such as:

  • SemEval'17 (English and Arabic). INGEOTEC obtained the 6th place (39 participants) in English (see Results) and 4th (9 participants) in Arabic (see Results).
  • SENTIPOLC'16 (Italian). INGEOTEC obtained 5th place (15 participants) in subjective classification and 9th (15 participants) in polarity classification (see Proceeding).
  • TASS'16 (Spanish). INGEOTEC obtained the 3rd place in 3 and 5 polarity levels (see Proceedings).
  • TASS'15 (Spanish). This is our first competition where it was obtained 12th (17 participants) in 5 polarity levels and 10th (17 participants) in 3 polarity levels (see Proceedings)).

Current Students

Past Students

  • Dr. Noel Rodriguez Maya. Scholar Google
  • M.C. Jose Maria Valencia Ramirez (with Honors). Scholar Google
  • M.C. Jose Rafael Cedeño Gonzalez (with Honors). Scholar Google
  • M.C. Marco Antonio Pacheco Alvarez.
  • M.C. Ranyart Rodrigo Suarez Ponce de Leon. Scholar Google
  • M.C. Eric Iturbide Diaz.
  • M.C. Marco Tulio Arreola Fernandez.


In order to facilitate and encourage the reproducibility of our research, we have decided to make the software available with an open source license. We have decided to implement our developments in Python following some continuous integration techniques (using travis-ci.org), unit testing (using nose), and coverage (using Coveralls).

Evolving Directed Acyclic Graph (EvoDAG)

Evolving Directed Acyclic Graph (EvoDAG) is a steady-state Genetic Programming system with tournament selection. The main characteristic of EvoDAG is that the genetic operation is performed at the root. EvoDAG was inspired by the geometric semantic crossover proposed by Alberto Moraglio et al. and the implementation performed by Leonardo Vanneschi et al.

EvoDAG is described in the following conference paper EvoDAG: A semantic Genetic Programming Python library Mario Graff, Eric S. Tellez, Sabino Miranda-Jiménez, Hugo Jair Escalante. 2016 IEEE International Autumn Meeting on Power, Electronics and Computing (ROPEC) pp 1-6. A pre-print version can be download from here.

A Baseline for Multilingual Sentiment Analysis (B4MSA)

B4MSA is a Python Sentiment Analysis Classifier for Twitter-like short texts. It can be used to create a first approximation to a sentiment classifier on any given language. It is almost language-independent, but it can take advantage of the particularities of a language.

It is written in Python making use of NTLK, scikit-learn and gensim to create simple but effective sentiment classifiers.


microTC follows a minimalistic approach to text classification. It is designed to tackle text-classification problems in an agnostic way, being both domain and language independent.
Currently, we only produce single-label classifiers; but support for multi-labeled problems is in the roadmap.

microTC is intentionally simple, so only a small number of features where implemented. However, it uses a some complex tools from gensimnumpy and scikit-learn.


112 Circuito Tecnopolo Norte Col. Tecnopolo Pocitos II, C.P. 20313, Aguascalientes, Ags, México.

Tel. +52 (555) 624 28 00 Ext. 6315
email: mario.graff at infotec.mx