Brush C++ API
A flexible interpretable machine learning framework
Loading...
Searching...
No Matches
omop.h
Go to the documentation of this file.
1/* Brush
2copyright 2022 William La Cava
3license: GNU/GPL v3
4*/
5
6#ifndef OMOP_H
7#define OMOP_H
8
9// #include "../init.h"
10#include <string>
11#include <filesystem>
12#include <fstream>
13// #include "../../thirdparty/json.hpp"
14#include "nlohmann/json.hpp"
15
16namespace fs = std::filesystem;
17
18namespace Brush::Data
19{
20
21
22enum class TimeValues {
23 offset,
24 delta,
26};
27
28enum class StringFeatures {
30 onehot
31};
32
34{
35 std::string cdm_version;
38
40 OmopData(fs::directory_iterator omop_dir);
41
43 OmopData(fs::path json_filename);
44
46 // TODO
47};
48
49}
50
51#endif
void bind_engine(py::module &m, string name)
namespace containing Data structures used in Brush
Definition data.cpp:49
StringFeatures
Definition omop.h:28
OmopData(fs::directory_iterator omop_dir)
Initialize OMOP Dataset from a directory of CSVs.
Definition omop.cpp:11
std::string cdm_version
Definition omop.h:35
StringFeatures sf
Definition omop.h:37
TimeValues tv
Definition omop.h:36