<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SvmLightLib</title>
	<atom:link href="http://mihagrcar.org/svmlightlib/feed/" rel="self" type="application/rss+xml" />
	<link>http://mihagrcar.org</link>
	<description></description>
	<lastBuildDate>Mon, 11 Oct 2010 23:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Miha</title>
		<link>http://mihagrcar.org/svmlightlib/#comment-105</link>
		<dc:creator><![CDATA[Miha]]></dc:creator>
		<pubDate>Mon, 11 Oct 2010 23:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://mihagrcar.wordpress.com/?page_id=44#comment-105</guid>
		<description><![CDATA[Thanks, Vivek! : )

I will include your bug fix into the code.

Thanks again and best regards,
mIHA]]></description>
		<content:encoded><![CDATA[<p>Thanks, Vivek! : )</p>
<p>I will include your bug fix into the code.</p>
<p>Thanks again and best regards,<br />
mIHA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vivek</title>
		<link>http://mihagrcar.org/svmlightlib/#comment-102</link>
		<dc:creator><![CDATA[Vivek]]></dc:creator>
		<pubDate>Fri, 08 Oct 2010 03:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://mihagrcar.wordpress.com/?page_id=44#comment-102</guid>
		<description><![CDATA[Hey Miha,

Thanks for a wonderful wrapper for SVMLight. The API is very useful and easy to work with. The featureVector unloading routine has a memory leak (detected by VLD). In &quot;void DeleteFeatureVector(int id)&quot; call, you forgot to delete the feature_vector itself. Just adding &quot;delete feature_vector;&quot; before calling &quot;feature_vectors.erase&quot; did the job. 

Hope this helps
cheers
Vivek]]></description>
		<content:encoded><![CDATA[<p>Hey Miha,</p>
<p>Thanks for a wonderful wrapper for SVMLight. The API is very useful and easy to work with. The featureVector unloading routine has a memory leak (detected by VLD). In &#8220;void DeleteFeatureVector(int id)&#8221; call, you forgot to delete the feature_vector itself. Just adding &#8220;delete feature_vector;&#8221; before calling &#8220;feature_vectors.erase&#8221; did the job. </p>
<p>Hope this helps<br />
cheers<br />
Vivek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miha</title>
		<link>http://mihagrcar.org/svmlightlib/#comment-99</link>
		<dc:creator><![CDATA[Miha]]></dc:creator>
		<pubDate>Thu, 19 Aug 2010 16:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://mihagrcar.wordpress.com/?page_id=44#comment-99</guid>
		<description><![CDATA[Hi!

If you have no knowledge of C# and you plan to use SvmLightLib on Linux, I suggest you simply use C++ (alternatively, you could try C# under Mono but I guess this would only complicate things). The core of SvmLightLib is implemented in C/C++ anyhow, so it should compile with gcc (probably with minor modifications). I don&#039;t have the time right now to prepare a C++ usage example. But I will do it as soon as the time permits.

Let me know if you manage to compile it with gcc : )

Best regards,
mIHA]]></description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>If you have no knowledge of C# and you plan to use SvmLightLib on Linux, I suggest you simply use C++ (alternatively, you could try C# under Mono but I guess this would only complicate things). The core of SvmLightLib is implemented in C/C++ anyhow, so it should compile with gcc (probably with minor modifications). I don&#8217;t have the time right now to prepare a C++ usage example. But I will do it as soon as the time permits.</p>
<p>Let me know if you manage to compile it with gcc : )</p>
<p>Best regards,<br />
mIHA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miha</title>
		<link>http://mihagrcar.org/svmlightlib/#comment-96</link>
		<dc:creator><![CDATA[Miha]]></dc:creator>
		<pubDate>Wed, 11 Aug 2010 07:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://mihagrcar.wordpress.com/?page_id=44#comment-96</guid>
		<description><![CDATA[Hi!

I guess you get this error message when you try to reference svmlightlib.dll from the project. You shouldn&#039;t explicitly reference it at all. You simply put the file in a folder on your disk (e.g. c:\svmlightlib\bin) and add the folder to the environmental variable PATH. To do this, you need to go to Control Panel/System/Advanced/Environmental variables and look up PATH under System variables. Double-click the entry and append something like &quot;;c:\svmlightlib\bin&quot; to the variable value. You might need to restart your computer; you will definitely need to restart the IDE.

Best regards,
mIHA]]></description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I guess you get this error message when you try to reference svmlightlib.dll from the project. You shouldn&#8217;t explicitly reference it at all. You simply put the file in a folder on your disk (e.g. c:\svmlightlib\bin) and add the folder to the environmental variable PATH. To do this, you need to go to Control Panel/System/Advanced/Environmental variables and look up PATH under System variables. Double-click the entry and append something like &#8220;;c:\svmlightlib\bin&#8221; to the variable value. You might need to restart your computer; you will definitely need to restart the IDE.</p>
<p>Best regards,<br />
mIHA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yinggong zhao</title>
		<link>http://mihagrcar.org/svmlightlib/#comment-95</link>
		<dc:creator><![CDATA[yinggong zhao]]></dc:creator>
		<pubDate>Wed, 11 Aug 2010 03:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://mihagrcar.wordpress.com/?page_id=44#comment-95</guid>
		<description><![CDATA[hi, i want to use the dll file in a C# project, but i find that each time when i add this file, the VS IDE always show a dialog, &quot;a reference to svmlightlib.dll could not be added. please make sure that the file is accessible, and that is a valid assembly or COM component&quot; Thanks very much!]]></description>
		<content:encoded><![CDATA[<p>hi, i want to use the dll file in a C# project, but i find that each time when i add this file, the VS IDE always show a dialog, &#8220;a reference to svmlightlib.dll could not be added. please make sure that the file is accessible, and that is a valid assembly or COM component&#8221; Thanks very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hutao</title>
		<link>http://mihagrcar.org/svmlightlib/#comment-94</link>
		<dc:creator><![CDATA[hutao]]></dc:creator>
		<pubDate>Mon, 09 Aug 2010 14:07:19 +0000</pubDate>
		<guid isPermaLink="false">http://mihagrcar.wordpress.com/?page_id=44#comment-94</guid>
		<description><![CDATA[hi Miha,

I wonder how to run the demo (in c#) in Linux. I have no knowledge about C# at all.

Also, I&#039;d like to know how to make use of your library in C/C++ (in Linux environment).
Could you give an example?

Thanks a lot!!]]></description>
		<content:encoded><![CDATA[<p>hi Miha,</p>
<p>I wonder how to run the demo (in c#) in Linux. I have no knowledge about C# at all.</p>
<p>Also, I&#8217;d like to know how to make use of your library in C/C++ (in Linux environment).<br />
Could you give an example?</p>
<p>Thanks a lot!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miha</title>
		<link>http://mihagrcar.org/svmlightlib/#comment-92</link>
		<dc:creator><![CDATA[Miha]]></dc:creator>
		<pubDate>Fri, 30 Jul 2010 11:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://mihagrcar.wordpress.com/?page_id=44#comment-92</guid>
		<description><![CDATA[Hi Vasileios!

There are at least two good reasons why you should optimize your model (i.e. do your feature selection) on *the validation set* (i.e. part of the training set that you don&#039;t use for training):

1.) To avoid overfitting. Overfitting means that the model performs well on the training set, but (much) worse on the test set. So, you need to select those features that increase the model&#039;s performance on the validation set therefore avoiding overfitting to the training set.
2.) The model is useless if it doesn&#039;t perform well on the test set : ) You can get 100% accuracy on the training set and it doesn&#039;t mean anything if the accuracy is below 50% on the test set. If you optimize your model&#039;s performance on the validation set, you make sure that your model will perform well in practice.

And I have another doubt about your idea on margin maximization. In my opinion, if you build one model with one feature set (model A) and then another one with another feature set (model B), the size of the margin is not directly comparable. It can happen that the model A performs better in practice despite the fact that its margin is smaller than that of the model B. I&#039;m not 100% sure about this, but you should definitely check in the appropriate literature.

Best regards,
mIHA]]></description>
		<content:encoded><![CDATA[<p>Hi Vasileios!</p>
<p>There are at least two good reasons why you should optimize your model (i.e. do your feature selection) on *the validation set* (i.e. part of the training set that you don&#8217;t use for training):</p>
<p>1.) To avoid overfitting. Overfitting means that the model performs well on the training set, but (much) worse on the test set. So, you need to select those features that increase the model&#8217;s performance on the validation set therefore avoiding overfitting to the training set.<br />
2.) The model is useless if it doesn&#8217;t perform well on the test set : ) You can get 100% accuracy on the training set and it doesn&#8217;t mean anything if the accuracy is below 50% on the test set. If you optimize your model&#8217;s performance on the validation set, you make sure that your model will perform well in practice.</p>
<p>And I have another doubt about your idea on margin maximization. In my opinion, if you build one model with one feature set (model A) and then another one with another feature set (model B), the size of the margin is not directly comparable. It can happen that the model A performs better in practice despite the fact that its margin is smaller than that of the model B. I&#8217;m not 100% sure about this, but you should definitely check in the appropriate literature.</p>
<p>Best regards,<br />
mIHA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasileios Anagnostopoulos</title>
		<link>http://mihagrcar.org/svmlightlib/#comment-91</link>
		<dc:creator><![CDATA[Vasileios Anagnostopoulos]]></dc:creator>
		<pubDate>Fri, 30 Jul 2010 06:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://mihagrcar.wordpress.com/?page_id=44#comment-91</guid>
		<description><![CDATA[The idea behind my work is that I am tackling a computer vision problem. I have a big feature vector x with entries from combined descriptors for a region. I also have a function f(x,b) where b is a binary variable which transforms features to a new feature, b is the parameters of the function.

so I feed the new descriptors to an svm and the idea is to find the &quot;best&quot; b vector that gives me the biggest margin (equivalently the lowest w^{T}*w)

I wanted the c# version since my code is in emgucv. Anyway, I save everything in a file and I am developing a java version with libsvm-java which i &quot;tweaked&quot; to provide me the objective function. PSO is indeed particle swarm optimization. 

Maybe the I am wrong but the measure accuracy is on test data so it is not an option to optimize -&gt; overfitting, the margin is better.

Regards
Vasileios]]></description>
		<content:encoded><![CDATA[<p>The idea behind my work is that I am tackling a computer vision problem. I have a big feature vector x with entries from combined descriptors for a region. I also have a function f(x,b) where b is a binary variable which transforms features to a new feature, b is the parameters of the function.</p>
<p>so I feed the new descriptors to an svm and the idea is to find the &#8220;best&#8221; b vector that gives me the biggest margin (equivalently the lowest w^{T}*w)</p>
<p>I wanted the c# version since my code is in emgucv. Anyway, I save everything in a file and I am developing a java version with libsvm-java which i &#8220;tweaked&#8221; to provide me the objective function. PSO is indeed particle swarm optimization. </p>
<p>Maybe the I am wrong but the measure accuracy is on test data so it is not an option to optimize -&gt; overfitting, the margin is better.</p>
<p>Regards<br />
Vasileios</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miha</title>
		<link>http://mihagrcar.org/svmlightlib/#comment-90</link>
		<dc:creator><![CDATA[Miha]]></dc:creator>
		<pubDate>Thu, 29 Jul 2010 12:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://mihagrcar.wordpress.com/?page_id=44#comment-90</guid>
		<description><![CDATA[Hi Vasileios!

PSO, I guess, stands for the particle swarm optimization method? So, the objective function should reflect the quality of the model. One possibility is to perform evaluation (e.g. in a 10-fold cross validation setting) and measure accuracy, F1, or any other standard evaluation metric as your objective function for PSO. 

Let me know if I misunderstood your inquiry.

Best regards,
mIHA]]></description>
		<content:encoded><![CDATA[<p>Hi Vasileios!</p>
<p>PSO, I guess, stands for the particle swarm optimization method? So, the objective function should reflect the quality of the model. One possibility is to perform evaluation (e.g. in a 10-fold cross validation setting) and measure accuracy, F1, or any other standard evaluation metric as your objective function for PSO. </p>
<p>Let me know if I misunderstood your inquiry.</p>
<p>Best regards,<br />
mIHA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasileios Anagnostopoulos</title>
		<link>http://mihagrcar.org/svmlightlib/#comment-89</link>
		<dc:creator><![CDATA[Vasileios Anagnostopoulos]]></dc:creator>
		<pubDate>Thu, 29 Jul 2010 11:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://mihagrcar.wordpress.com/?page_id=44#comment-89</guid>
		<description><![CDATA[I have downloaded svmlightlib and used it successfully under c#+monodevelop in windows. But I have a question. When I complete the learning phase I would like to have the value of the objective function to be minimized ( I want to implement a PSO algorithm for feature selection). Is it possible to do it? any ideas how to proceed?]]></description>
		<content:encoded><![CDATA[<p>I have downloaded svmlightlib and used it successfully under c#+monodevelop in windows. But I have a question. When I complete the learning phase I would like to have the value of the objective function to be minimized ( I want to implement a PSO algorithm for feature selection). Is it possible to do it? any ideas how to proceed?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
