tag:blogger.com,1999:blog-107568321062020427.post3482128625255666822..comments2024-10-03T11:18:01.126-07:00Comments on Intelligent Trading: Practical Implementation of Neural Network based time series (stock) prediction - PART 1Intelligent Tradinghttp://www.blogger.com/profile/17765336450326139518noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-107568321062020427.post-41301397040042147402010-05-21T18:21:06.438-07:002010-05-21T18:21:06.438-07:00baraa, in this case yes.
I did receive several of...baraa, in this case yes.<br /><br />I did receive several of your posts, but I'm going to limit them as I don't want to bog down the comments. <br /><br />I suggest you get in touch with the nabble help group for weka, as they have full time moderators available to guide you through the process step by step.<br /><br />In addition you should pick up the book on weka I recommended and try to walk through some of the examples.Intelligent Tradinghttps://www.blogger.com/profile/17765336450326139518noreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-20413869412317538232010-05-21T10:09:26.992-07:002010-05-21T10:09:26.992-07:00is this prediction for one forwarded day between ...is this prediction for one forwarded day between actual and predictedbaraahttp://www.google.comnoreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-59714095269232958022010-03-12T13:37:44.172-08:002010-03-12T13:37:44.172-08:00Thanks for all the comments and please keep them c...Thanks for all the comments and please keep them coming for any areas that are unclear.<br /><br />baraa,<br />Hi again. The bias is one column of the data that is constant (all ones). The other values, s-1, s-2,... are called embedded or lagged values.<br /><br />Suppose you had a main signal that was:<br />signal defined at time slots<br />time(signal)<br />5<br />6<br />7<br />8<br />9<br /><br /><br />then the s-1 or lagged one signal would be<br />4<br />5<br />6<br />7<br />8<br />s-2 or lagged two signal is<br />3<br />4<br />5<br />6<br />7<br /><br />What you are doing is simply creating a time lagged version of the main signal you are going to process. Each value of s-n, is the number of lags you use for that column. The only other columns are bias (all ones) and the signal itself.<br />Hopefully, this makes sense.Intelligent Tradinghttps://www.blogger.com/profile/17765336450326139518noreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-30903262665791557182010-03-12T12:43:32.321-08:002010-03-12T12:43:32.321-08:00hi good jobhi good jobAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-46457743094185973022010-03-12T12:40:07.606-08:002010-03-12T12:40:07.606-08:00hi thank you but i understood every part but the p...hi thank you but i understood every part but the problrm just in how can i specify the bias you set s-1 s-2 s-3 s-4 but how just explain to me in comment jut plz i am waiting you plz<br /><br />just explain how can i prepare just the table in your part2 that contain bias and s1-4 and the main signal cause i want to continue really i benefit from your part 1 and part 2 and the use of weka thank you very much and i will not take your time let me know in small comment about prepare bias tablebaraahttp://www.google.comnoreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-10814570101110765592010-03-10T23:27:41.573-08:002010-03-10T23:27:41.573-08:00baraa,
Thanks for all the comments. I've trie...baraa,<br /><br />Thanks for all the comments. I've tried to outline the steps as detailed as possible. However, I should work on making it more clear for some of the audience. I will try to get to your personal emails if I get a chance.Intelligent Tradinghttps://www.blogger.com/profile/17765336450326139518noreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-56145481857095210222010-03-08T08:43:13.894-08:002010-03-08T08:43:13.894-08:00i want to tell me about how i can prepare the data...i want to tell me about how i can prepare the data set in excel sheet before enter it to weka what did you do to make it like this sheetbaraahttp://www.google.comnoreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-89872710138455247032010-02-28T15:31:42.119-08:002010-02-28T15:31:42.119-08:00Hi baraa,
I'm not exactly sure what article y...Hi baraa,<br /><br />I'm not exactly sure what article you are writing. You can email me with any relevant information/questions at intelligenttradingtech@yahoo.com<br /><br />Cheers.Intelligent Tradinghttps://www.blogger.com/profile/17765336450326139518noreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-74016963890063642462010-02-28T09:40:09.253-08:002010-02-28T09:40:09.253-08:00thanks
but i want your mail
plz
for problem
for my...thanks<br />but i want your mail<br />plz<br />for problem<br />for my article about stock prediction using decision tree<br />thanks alotbaraanoreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-9825756208535089652010-02-17T14:04:14.526-08:002010-02-17T14:04:14.526-08:00This starts to be fun!
Originally I only wanted t...This starts to be fun!<br /><br />Originally I only wanted to learn a little bit more about how I could (maybe) use machine learning in trading. Now I end up learning a little bit more about Matlab (well at the moment it is Freemath).<br /><br />I couldn't find a good example of how to sum two or more sine waves in Excel (I thought this is much more complex) I ended up finding an example for Matlab. Looked pretty simple to do but that meant that I first had to learn a little bit more about Matlab. But as Matlab is too expensive in order to just draw once in a live time some simple sine waves I chose Freemath for the job.<br /><br />If somebody with the same (low math) knowledge level comes after me to your blog I hope that your explanation above and the Matlab example I found (http://www.owlnet.rice.edu/~elec241/matlab.html) will help them further.<br /><br />Moving on to the next step...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-91774248243026326332010-02-17T13:00:59.733-08:002010-02-17T13:00:59.733-08:00Good Job. Those values are called nulls and shoul...Good Job. Those values are called nulls and should be zero. My values are so small, they are approximately zero, although sometimes numerical precision errors show up so as to appear slightly different than zero. The same issue will occur using Weka. Glad to hear you were able to replicate. Even if your signal was slightly different, however, it should still work for the tutorial. <br /><br />For the summation, just create two more series, and randomly change the fo values, like 1/To*2 for example, and the amplitudes, such as 5*series1 +2.5*series2... You can play with these values and the graph in excel will automatically update, so you can see the complex siganl being created.Intelligent Tradinghttps://www.blogger.com/profile/17765336450326139518noreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-26190724201699075972010-02-17T00:08:18.039-08:002010-02-17T00:08:18.039-08:00Beautiful. Thanks!
Now my sine wave looks more li...Beautiful. Thanks!<br /><br />Now my sine wave looks more like yours and the values in your table seem to correspond with yours. Except that at T 15, 30, 45, etc. I have a value of "0" while you have other values in those places. Probably not too important.<br /><br />Now I will try to figure out how to "build a summation of series" to create a complex sine like yours.<br /><br />Even if this is basic (or even below basic) to me this is already tremendously helpful. I'm looking forward to start to use WEKA and other tools on time series and learn even more.<br /><br />Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-90710569792671909122010-02-16T16:35:05.044-08:002010-02-16T16:35:05.044-08:00Thanks for responding; one of these days I'm g...Thanks for responding; one of these days I'm going to have to figure out how to get a bit more organized, attach files, and or create a repository.<br /><br />The sine wave is defined as signal = sin(2*pi*fo/fs), where fo=1/To , where To is the period you want.<br />In the example, To=30 days.<br />fs=1/Ts where Ts is the sample interval in column A.<br /><br />so H2=30 (length of period)<br />I2 =1/H2 (fundamental frequency)<br />col A = 0 to length of signal <br />col B = sin(2*p*$I$2*colA(t)) t is just corresponding cell number.<br /><br />The complex sines are just built using summation of series with different fundamental tones, and some arbitrary amplitudes. Amplitude is the coefficient of the signals.<br /><br />Apologize if it came across complex, I'll make an effort to label things if possible. Also, sampling theory is not covered in basic trig, so don't feel bad. Although it is based on trig, the concepts are borrowed from digital signal processing theory.Intelligent Tradinghttps://www.blogger.com/profile/17765336450326139518noreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-85135265400638743162010-02-16T14:26:08.421-08:002010-02-16T14:26:08.421-08:00Thank you for putting this up.
When I read this:...Thank you for putting this up. <br /><br />When I read this:<br /><br /> "...My goal is to share some concrete examples for the layman to be able to build and replicate...."<br /><br />in your "about me" I thought: "That's for me." But my level seems to be even below "layman". :-)<br /><br />Because of you ;-) I had to find out how to get a sine wave within OpenOffice Calc (=SIN(A2*PI() / 180)) and how to graph it. Sin, cos, tan? That's too long ago. But I managed to get to the first step. Unfortunately my sine wave with 30 periods doesn't look like yours. I have different values and more cycles. It probably has to do with this "fo" value of 0.033333 which I see in your figure1. That's how far I got. Don't laugh! :-)<br /><br />Now don't ask me how you calculated the Complex sine wave in your second figure.<br /><br />Is there a way for you to post your XLS file or quickly list the formula you used in those cells?<br /><br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-107568321062020427.post-29649345035585458572010-01-30T14:46:49.763-08:002010-01-30T14:46:49.763-08:00Thanks for the demonstration. I am looking forwar...Thanks for the demonstration. I am looking forward to seeing how Weka can be used to predict stocks.Anonymousnoreply@blogger.com