Not OP. This question is being reposted to preserve technical content removed from elsewhere. Feel free to add your own answers/discussion.

Original question: Hello everyone!! I am a final year undergrad(electrical engineering) student who just dabbled in machine learning. During our 1 month training period, I chose to do a course in ML/AI and am now seeking to build a project, mainly on electrical energy consumption prediction. I came across this cool code/project(in the link), but cannot understand a word of it ;( Please if anyone of you could spare me some time and explain this code to me…I’ll be grateful to you.

What project do you consider good for a beginner, that I can easily explain to others too?? Do you have any ideas?

  • @ShadowAetherOPM
    link
    English
    11 year ago

    Original answer:

    This is a time series prediction task. They are using a deep learning model with LSTM. There are too many points for fast NN training so they resample. From the results it looks like there is a bit of low pass filtering. This data is at least somewhat periodic and they haven’t done a frequency analysis which they should have done imo. You don’t need an NN for this type of prediction. I would not consider a deep learning strategy to be a good idea for a intro ML course project because they lack explainability.

    For the second question, depends on the restrictions for your project. As an EE, I’d say state estimation (such as kalman filtering) or model fitting / regression (you create a model with some parameters the use an algorithm to optimize the parameters based on some data) but those would not really covered in intro ML courses (kalman filtering is usually under control but a lot of controls is ML). There are a lot of stats things that fit into ML as well.

    If you have the stats background (you should as an eng student), regression is very useful. Linear regression is very simple https://onlinestatbook.com/2/regression/intro.html If that is too simple then look at curve fitting: https://ncss-wpengine.netdna-ssl.com/wp-content/themes/ncss/pdf/Procedures/NCSS/Introduction_to_Curve_Fitting.pdf

    Imo, the some of the easiest ML algorithms to start with are classification. Linear SVM is an easy classifier to explain and you could apply it to some data set of your choosing https://towardsdatascience.com/https-medium-com-pupalerushikesh-svm-f4b42800e989

    If you do want to do something with neural networks, you can showcase how they are nondeterministic. Just take a simple NN and run it with different initial weights and see how the results change. If you save all the results (for example, accuracy) and plot them as a histogram, then you’ll see a normal or skewed distribution. You can also switch the training/val/test split to see what that does as well. (this will probably show you a big flaw with some of your classmates projects) You can explain how this impacts how we use NN (safety, etc) and why it happens. Here is something to get you started: https://machinelearningmastery.com/reproducible-results-neural-networks-keras/