This repository has been archived by the owner on Jan 23, 2019. It is now read-only.
forked from vedaldi/svm-struct-matlab
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME_MATLAB.txt
87 lines (63 loc) · 3.17 KB
/
README_MATLAB.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
SVM^struct for MATLAB
V1.2
Andrea Vedaldi
This is a patch to Thorsten Joachims (http://www.joachims.org/)
SVM-struct implementation that provides a simple-to-use MATLAB
interface.
OBTAINING:
svm-struct-matlab homepage is
http://www.vlfeat.org/~vedaldi/code/svm-struct-matlab.html. The GIT
repository of the project can be downloaded at
https://github.com/vedaldi/svm-srtuct-matlab.
COMPILING:
To compile this software use the included Makefile. It should work out
of the box on Linux and Mac OS X provided that MATLAB MEX program is
in the command line path. So just issue
> make
The only files that are needed to run the package with MATLAB are
svm_struct_learn.mex* (MEX program) and svm_struct_learn.m
(documentation).
If MEX is not on the command line, the path can be specified as
> make MEX=<MATLABROOT>/bin/mex
where <MATLABROOT> is MATLAB root directory. Finally, it is also
possible to specify manually the architecture
> make ARCH=maci # Mac Intel 32 bit
> make ARCH=maci64 # Mac Intel 64 bit
> make ARCH=glnx86 # Linux 32 bit
> make ARCH=glnxa64 # Linux 64 bit
To clean the build products use
> make clean # clean all build but the MEX file
> make distclean # clean all build products
USAGE:
There is only one MATLAB command, i.e. SVM_STRUCT_LEARN. This commands
take as input handles to the function implementing the maximal
constraint violation search, the loss, and the feature map. See
TEST_SVM_STRUCT_LEARN and TEST_SVM_STRUCT_LEARN_KER for example usage
and SVM_STRUCT_LEARN built-in help for further information.
CHANGES:
1.3 - Adds support for the endIterationFn callback.
1.2 - Adds support for Xcode 4.0 and Mac OS X 10.7 and greater
1.1 - Adds Windows support (thanks to Iasonas Kokkinos).
1.0 - Initial public release
LICENSE:
The MATLAB wrapper of T. Joachim's SVM^struct is distributed under the
following ``MIT license''. This license covers only the additions to
T. Joachims SVM^struct code that constitute the MATLAB interface (the
"Software") and does not cover SVM^struct itself. See the file
LICENSE.txt for the SVM^struct license.
Copyright (C) 2011 by Andrea Vedaldi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.