mlproject.h
Go to the documentation of this file.
1 #ifndef DNAI_MODELS_ML_ML_PROJECT_H
2 #define DNAI_MODELS_ML_ML_PROJECT_H
3 
4 #include <QObject>
5 #include "dataset.h"
6 #include "model.h"
7 
8 namespace dnai {
9 namespace models {
10 namespace ml {
11 class MlProject : public QObject
12 {
13  Q_OBJECT
14  Q_PROPERTY(QList<Dataset*> datasets READ datasets CONSTANT)
15  Q_PROPERTY(dnai::models::ml::Model *model READ model CONSTANT)
16 
17 public:
18  MlProject(QObject *parent = nullptr);
19 
20  QList<Dataset*> datasets() const;
21 
22  dnai::models::ml::Model *model();
23 
24 private:
26  dnai::models::ml::Model m_model;
27 };
28 }
29 }
30 }
31 
32 #endif //DNAI_MODELS_ML_ML_PROJECT_H
dnai::models::ml::Model * model()
QList< Dataset * > m_datasets
Definition: mlproject.h:25
Definition: mlproject.h:11
Definition: model.h:9
QList< Dataset * > datasets() const
Definition: dataset.h:37
Definition: api.h:13
dnai::models::ml::Model m_model
Definition: mlproject.h:26