original_docstring: 
      Trains svm, classifies test data, computes test error on test set
  
      Returns:
          Test error for the binary svm
      
docstring: Trains svm, classifies test data, computes test error on test set
docstring_tokens: Trains svm classifies test data computes test error on test set
code: def run_svm_one_vs_rest_on_MNIST(C):
      """
      Trains svm, classifies test data, computes test error on test set
  
      Returns:
          Test error for the binary svm
      """
      train_x, train_y, test_x, test_y = get_MNIST_data()
      train_y[train_y != 0] = 1
      test_y[test_y != 0] = 1
      pred_test_y = one_vs_rest_svm(train_x, train_y, test_x, C)
      test_error = compute_test_error_svm(test_y, pred_test_y)
      return test_error
code_tokens: def run_svm_one_vs_rest_on_MNIST ( C ) : train_x , train_y , test_x , test_y = get_MNIST_data ( ) train_y [ train_y != 0 ] = 1 test_y [ test_y != 0 ] = 1 pred_test_y = one_vs_rest_svm ( train_x , train_y , test_x , C ) test_error = compute_test_error_svm ( test_y , pred_test_y ) return test_error
short_docstring: Trains svm, classifies test data, computes test error on test set
short_docstring_tokens: Trains svm classifies test data computes test error on test set
comment: """
      Trains svm, classifies test data, computes test error on test set
  
      Returns:
          Test error for the binary svm
      """