The python file is just a test. Data is generated 1,2,3 or 4 and simulates user choices during the activites (A,B,C,D) personality traits are randomly asigned to each record of data.
machine learning algorithm learns patters from data.
Input data from actual people from IoT devices will be stored in file and read and then run through the model which outputs a prediction of personality.