<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3965329713014965566.post6785500414459132919..comments</id><updated>2009-07-26T10:27:38.016-07:00</updated><title type='text'>Comments on Max Dama on Automated Trading: Overfitting II: Out-of-Sample Testing</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.maxdama.com/feeds/6785500414459132919/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html'/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-1619562368931984447</id><published>2009-07-26T10:26:12.259-07:00</published><updated>2009-07-26T10:26:12.259-07:00</updated><title type='text'>Carla,

Overfitting would occur when you tweak par...</title><content type='html'>Carla,&lt;br /&gt;&lt;br /&gt;Overfitting would occur when you tweak parameters to make the backtest look better. Once you start modifying the optimization period you will overfit at least a little. But just because it looks good doesn&amp;#39;t mean you overfit.&lt;br /&gt;&lt;br /&gt;The line between fitting the model and overfitting is impossible to see clearly. Just try to get a feel for the signal/noise tradeoff and then play it safe.&lt;br /&gt;&lt;br /&gt;If you&amp;#39;d like to get others&amp;#39; opinion on the software, you can write something up and I&amp;#39;ll post it on your behalf (citing you of course) or you could try posting on a forum like elitetrader.com or quantnet.org.&lt;br /&gt;&lt;br /&gt;By the way, your site looks very good. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/1619562368931984447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/1619562368931984447'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html?showComment=1248629172259#c1619562368931984447' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-6785500414459132919' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/6785500414459132919' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-2189091562534749652</id><published>2009-07-26T10:17:15.691-07:00</published><updated>2009-07-26T10:17:15.691-07:00</updated><title type='text'>I am not in any competition, just someone trying t...</title><content type='html'>I am not in any competition, just someone trying to save a life insurance policy that I have borrowed against from tanking. I get lots of advice from people who want me to cash out and buy their annuity. I just want to make this policy grow. at 8+%.&lt;br /&gt;I have a limited universe of about 12 funds. If I sell the policy, I will owe $100000 in taxes and be a pauper for the rest of my life. I have been doing my own trading for 20 years, through a lot of harrowing times. Any thoughts, advice, ideas, help out there?&lt;br /&gt;Besides what the 5 insurance salesmen already told me?&lt;br /&gt;&lt;br /&gt;Carla</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/2189091562534749652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/2189091562534749652'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html?showComment=1248628635691#c2189091562534749652' title=''/><author><name>Carla Green</name><uri>http://www.blogger.com/profile/07739739184634961925</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-6785500414459132919' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/6785500414459132919' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-6657925917055490113</id><published>2009-07-26T10:04:21.884-07:00</published><updated>2009-07-26T10:04:21.884-07:00</updated><title type='text'>Would anyone like to concur on Optimal Trader? I h...</title><content type='html'>Would anyone like to concur on Optimal Trader? I have been looking at it for about a month. I think I understand the model fairly well. I have not traded on it yet because I  don&amp;#39;t understand how to set the optimization period. &lt;br /&gt;&lt;br /&gt;Carla</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/6657925917055490113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/6657925917055490113'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html?showComment=1248627861884#c6657925917055490113' title=''/><author><name>Carla Green</name><uri>http://www.blogger.com/profile/07739739184634961925</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-6785500414459132919' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/6785500414459132919' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-1184496085771760029</id><published>2009-07-26T10:01:03.950-07:00</published><updated>2009-07-26T10:01:03.950-07:00</updated><title type='text'>Hi,

I have subscribed to Optimal Trader. I think ...</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;I have subscribed to Optimal Trader. I think I have figured out everything, except how not to overfit. I am supposed to look for peaks, and make sure that the buy signals don&amp;#39;t come only in the dips and the sell signals don&amp;#39;t come only in the peak. It seems to me that the signals are somewhat random. I guess that means that mean that I need to shorten the optimization period?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/1184496085771760029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/1184496085771760029'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html?showComment=1248627663950#c1184496085771760029' title=''/><author><name>Carla Green</name><uri>http://www.blogger.com/profile/07739739184634961925</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-6785500414459132919' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/6785500414459132919' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-669249059581221051</id><published>2009-01-11T19:53:00.000-08:00</published><updated>2009-01-11T19:53:00.000-08:00</updated><title type='text'>Erk,I think fears of having an idea stolen and arb...</title><content type='html'>Erk,&lt;BR/&gt;&lt;BR/&gt;I think fears of having an idea stolen and arbitraged away are overblown. Some strategies capitalize on very specific arbitrage opportunities that no one else has noticed, but this SVM approach is very general. It could apply to any tick size, any instrument, etc. &lt;BR/&gt;&lt;BR/&gt;My email is maxdama at berkeley.edu&lt;BR/&gt;It's good to know that the notes make sense to at least one other person. &lt;BR/&gt;&lt;BR/&gt;Regards,&lt;BR/&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/669249059581221051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/669249059581221051'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html?showComment=1231732380000#c669249059581221051' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-6785500414459132919' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/6785500414459132919' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-5767975517073811073</id><published>2009-01-11T18:57:00.000-08:00</published><updated>2009-01-11T18:57:00.000-08:00</updated><title type='text'>Yeah, I also thought the same when I first saw you...</title><content type='html'>Yeah, I also thought the same when I first saw your plan few days ago. Fortunately we are trading on different markets using different vehicles. It is good to see that someone else is using a similar reasoning after all. I really enjoyed your blog btw. I have a couple of different variations of 'SVM on time series' papers that you haven't post here. I will send them sometime tomorrow, but first I need to finish my code now. ;)&lt;BR/&gt;cheers.&lt;BR/&gt;&lt;BR/&gt;Erk</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/5767975517073811073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/5767975517073811073'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html?showComment=1231729020000#c5767975517073811073' title=''/><author><name>erk</name><uri>http://www.blogger.com/profile/09103409476509298493</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-6785500414459132919' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/6785500414459132919' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-6006164211905092487</id><published>2009-01-11T18:20:00.000-08:00</published><updated>2009-01-11T18:20:00.000-08:00</updated><title type='text'>It sounds like we are taking very similar approach...</title><content type='html'>It sounds like we are taking very similar approaches Erk.&lt;BR/&gt;&lt;BR/&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/6006164211905092487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/6006164211905092487'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html?showComment=1231726800000#c6006164211905092487' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-6785500414459132919' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/6785500414459132919' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-1149331125536178565</id><published>2009-01-11T12:31:00.000-08:00</published><updated>2009-01-11T12:31:00.000-08:00</updated><title type='text'>Hi,At the moment I am just optimizing two paramete...</title><content type='html'>Hi,&lt;BR/&gt;&lt;BR/&gt;At the moment I am just optimizing two parameters of a RBF C-SVM for each classifier. I have around 10 of them. The test data size is fixed and decided by a simple heuristic(should be big enough), so no optimization there. It is in the todo list with lots of other things ;) &lt;BR/&gt;&lt;BR/&gt;Best,&lt;BR/&gt;&lt;BR/&gt;Erk</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/1149331125536178565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/1149331125536178565'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html?showComment=1231705860000#c1149331125536178565' title=''/><author><name>erk</name><uri>http://www.blogger.com/profile/09103409476509298493</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-6785500414459132919' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/6785500414459132919' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-6520030139723899074</id><published>2009-01-11T10:30:00.000-08:00</published><updated>2009-01-11T10:30:00.000-08:00</updated><title type='text'>erk,How big is your out of sample set and how many...</title><content type='html'>erk,&lt;BR/&gt;&lt;BR/&gt;How big is your out of sample set and how many pairs of parameters do you test? The out of sample set should roughly be larger than the number of parameter pairs. You should plot a surface of performance with each parameter pair to determine if there might be overfitting, in which case it will not be smooth. &lt;BR/&gt;&lt;BR/&gt;Regards,&lt;BR/&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/6520030139723899074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/6520030139723899074'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html?showComment=1231698600000#c6520030139723899074' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-6785500414459132919' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/6785500414459132919' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-5003501071029812505</id><published>2009-01-11T10:14:00.000-08:00</published><updated>2009-01-11T10:14:00.000-08:00</updated><title type='text'>Hi Max,Reading your last comment I felt the urge t...</title><content type='html'>Hi Max,&lt;BR/&gt;&lt;BR/&gt;Reading your last comment I felt the urge to share that I am also having similar  difficulties at the moment. I am also an attendant of IB Olympiad this year and utilizing a support vector machine approach. I am trying to use SVMs for classification purposes though and it seems that parameter optimization for out of sample set yields overfitting for this set. To combine it with a boosting approach again does not help too much for  generalization. Anyway, good luck in the competition. Cheers.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/5003501071029812505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/6785500414459132919/comments/default/5003501071029812505'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html?showComment=1231697640000#c5003501071029812505' title=''/><author><name>erk</name><uri>http://www.blogger.com/profile/09103409476509298493</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/01/overfitting-ii-out-of-sample-testing.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-6785500414459132919' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/6785500414459132919' type='text/html'/></entry></feed>