Skip to content

Commit

Permalink
fixes pegasos in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
vedaldi committed May 19, 2010
1 parent b09735f commit bbba1ae
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vl/pegasos.h
Expand Up @@ -8,6 +8,7 @@

#include "generic.h"

VL_EXPORT
void vl_pegasos_train_binary_svm_d (double * model,
double const * data,
vl_size dimension,
Expand All @@ -19,6 +20,7 @@ void vl_pegasos_train_binary_svm_d (double * model,
vl_size numIterations,
VlRand* randomGenerator) ;

VL_EXPORT
void vl_pegasos_train_binary_svm_f (float * model,
float const * data,
vl_size dimension,
Expand Down
36 changes: 36 additions & 0 deletions vlfeat.vcproj
Expand Up @@ -448,6 +448,10 @@
RelativePath=".\toolbox\mser\vl_mser.c"
>
</File>
<File
RelativePath=".\toolbox\misc\vl_pegasos.c"
>
</File>
<File
RelativePath=".\toolbox\quickshift\vl_quickshift.c"
>
Expand Down Expand Up @@ -493,6 +497,38 @@
>
</File>
</Filter>
<Filter
Name="make"
>
<File
RelativePath=".\make\bin.mak"
>
</File>
<File
RelativePath=".\make\dist.mak"
>
</File>
<File
RelativePath=".\make\dll.mak"
>
</File>
<File
RelativePath=".\make\doc.mak"
>
</File>
<File
RelativePath=".\make\matlab.mak"
>
</File>
<File
RelativePath=".\make\octave.mak"
>
</File>
<File
RelativePath=".\make\update-mak.sh"
>
</File>
</Filter>
<File
RelativePath=".\Makefile.mak"
>
Expand Down

0 comments on commit bbba1ae

Please sign in to comment.