State forecast of machine using support vector machines has good generalization ability in situation of rare samples. Appropriate parameter selection is very crucial to the learning results and generalization ability of support vector machines. In addition, embedding dimension influences the phase space reconstitution of nonlinear systems, as well as the precision of machine state forecasting. In this paper, an approach to optimize the parameters of SVM and the embedding dimension based on genetic algorithms was proposed. The proposed model is applied to the tendency forecasting of the vibration of shovel electric drive system. The results show that it can avoid blindness of manually selection of parameters and meanwhile improves the prediction performance greatly.