Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing include: PPParams.h #3

Open
Ciusss89 opened this issue Feb 19, 2021 · 3 comments
Open

Missing include: PPParams.h #3

Ciusss89 opened this issue Feb 19, 2021 · 3 comments

Comments

@Ciusss89
Copy link

For each ML algorithm select by ELM.h define, the file current hdr is request:

/tmp/Micro-LM (master) $ gcc main.c -o ./RF
In file included from ELM.h:44,
                 from main.c:3:
Preprocess.h:6:10: fatal error: PPParams.h: No such file or directory
    6 | #include "PPParams.h"
      |          ^~~~~~~~~~~~
compilation terminated.

The PPParams include is missing for :

/tmp/Micro-LM (master) $ grep "PPParams.h" * -r
DT.h:#include "PPParams.h"
ExampleAlgoTemplate.h:#include "PPParams.h"
KNN.h:#include "PPParams.h"
Preprocess.h:#include "PPParams.h"
RF.h:#include "PPParams.h"
SVM.h:#include "PPParams.h"
/tmp/Micro-LM (master) $ git diff
@alessio-capello
Copy link
Collaborator

alessio-capello commented Feb 23, 2021

Hi, thank you for your message.

Are you using the latest version both for Desk-LM and Micro-LM? The code was hardly refactored in the latest changes, for this reason it's not compatible with previous versions of Desk-LM.

It sounds as a weird behaviour for me: if Desk-LM does not give an error message, it produces all the required files for Elm.h to compile without errors (the config for Elm.h must be coherent with the model selection provided to Desk-LM).

If these files/dirs are included in the Micro_LM project, then everything should work. Let us know for any support.

@Ciusss89
Copy link
Author

Hi Alessio,

I'm developing a second part of an AC energy meter, take a look here. I would add an algorithm of ML to recognize between two type energy consumption, eg electric oven or washing machine.

Could we talk about this ?

@alessio-capello
Copy link
Collaborator

If you have a good dataset you should be able to do that (use Desk-lm to build the model). Once you did that you can import output files and Micro-lm in your project to integrate ML features inside that energy-meter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants