You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

make.m 888 B

12345678910111213141516171819202122
  1. % This make.m is for MATLAB and OCTAVE under Windows, Mac, and Unix
  2. function make()
  3. try
  4. % This part is for OCTAVE
  5. if (exist ('OCTAVE_VERSION', 'builtin'))
  6. mex libsvmread.c
  7. mex libsvmwrite.c
  8. mex -I.. svmtrain.c ../svm.cpp svm_model_matlab.c
  9. mex -I.. svmpredict.c ../svm.cpp svm_model_matlab.c
  10. % This part is for MATLAB
  11. % Add -largeArrayDims on 64-bit machines of MATLAB
  12. else
  13. mex CFLAGS="\$CFLAGS -std=c99" -largeArrayDims libsvmread.c
  14. mex CFLAGS="\$CFLAGS -std=c99" -largeArrayDims libsvmwrite.c
  15. mex CFLAGS="\$CFLAGS -std=c99" -I.. -largeArrayDims svmtrain.c ../svm.cpp svm_model_matlab.c
  16. mex CFLAGS="\$CFLAGS -std=c99" -I.. -largeArrayDims svmpredict.c ../svm.cpp svm_model_matlab.c
  17. end
  18. catch err
  19. fprintf('Error: %s failed (line %d)\n', err.stack(1).file, err.stack(1).line);
  20. disp(err.message);
  21. fprintf('=> Please check README for detailed instructions.\n');
  22. end

A Python package for graph kernels, graph edit distances and graph pre-image problem.