The bankruptcy problem is an issue of interest for long time. The research in this area is far from being closed. Identifying the bankruptcy risk with some time before the insolvency occur is a goal of many investors, shareholders and managers. In this research, the database is composed by about 1000 restaurants that have over 5 employees, with the financial statements between 2010 and 2015 and with insolvency notifications (at March 2017) at National Trade Register Office. The main objective is to apply machine learning techniques like linear discriminant analysis, logistic regression and decision trees in order to identify bankruptcy risk with 1 or 2 years before insolvency, considering from the start 2 classes (high risk and low risk). Also, another goal of this research is to identify whether the principal components analysis provides better results than original variables, considering that principal components are uncorrelated, but takes less information than original variables. The results of the study is surprisingly because the lost information by synthesize variables into components affect models accuracies. Also, it is expected that the closer the financial results are to the moment of insolvency, the higher the accuracies rates are. Finally, logistic regression outperforms linear discriminant analysis that outperforms decision trees, being a normal performance relation, considering the robustness of methodologies.