Use of Naive Bayes to predict price direction in R

Discussion in 'Strategy Building' started by arsene007, Aug 8, 2019.

  1. arsene007

    arsene007

    Answering your questions.
    1- Is just a set of rules?
    Not really. In machine learning, you go from independent variables to dependent variables. Meaning your machine learning model tries to predict the dependent variable by using a set of independent variables. So those were not rules, but they were the independent variables/features that I chose.

    2- Yes, it is a machine learning algorithm. It is not Bayesian statistics per say. Naibe Bayes makes use of conditional probability with the assumption of independence to predict your classes (from your independent variable). It is mostly use for classification problems. In my case, predicting whether next day's candle will be a bullish or bearish candle.

    4- Take the following example:
    say if the hypothesis is that if the price closes above ema7 and the previous'day candle was bullish, the odds are high the next day candle will be bullish.
    I could use a learning model to see whether such representation exists in my data. If the model performs poorly, I might use the ema20 and maybe add MACD all these as new independent variables. I might even modify if I want. But all these with the aim of finding a model that has learned well enough and is able to perform well on out of sample data.
     
    #21     Aug 23, 2019
    ironchef likes this.
  2. ironchef

    ironchef

    Thank you. I am very interested in AI but always wonder what that meant. You gave me something tangible to work on. Appreciate it.
     
    #22     Aug 23, 2019
  3. arsene007

    arsene007

    #23     Sep 24, 2019