Codex is a web-based tool for the online edition of theoretical and practical teaching content, and for assessment of STEM subjects. It has been developed at TECNUN, the Engineering School of the University of Navarra. The Codex application helps teachers to promote active learning (Standard 8) and continuous assessment (Standard 11) without increasing the teacher's workload. Codex is being implemented in the classrooms, which opens another door for the improvement of the learning experience. Codex stores a significant amount of data from each student, which can be used both by the teacher to adapt his or her teaching method and by the student to see what his or her strengths and weaknesses are and be counseled personally. All of this is supported by up-to-date data. The aim of this project is to apply different Data Analytics and Machine Learning methods to the obtained data in the application from a subject called Digital Technology, in order to obtain a prediction of students’ grades and performance at each moment of the course, based on his/her behavior and that of previous years' students. This allows the teachers to know information related to performance of their class, and the students, to see towards what result they are heading.