nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
ml_result_event.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
11#ifndef _ML_RESULT_EVENT_H_
12#define _ML_RESULT_EVENT_H_
13
20#include <app_event_manager.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27
31 struct app_event_header header;
32
34 const char *label;
36 float value;
38 float anomaly;
39};
40
42
43#ifdef __cplusplus
44}
45#endif
46
51#endif /* _ML_RESULT_EVENT_H_ */
Application Event Manager header.
Application Event Manager profiler tracer header.
#define APP_EVENT_TYPE_DECLARE(ename)
Declare an event type.
Definition app_event_manager.h:143
const char * label
Definition ml_result_event.h:34
struct app_event_header header
Definition ml_result_event.h:31
float value
Definition ml_result_event.h:36
float anomaly
Definition ml_result_event.h:38
Machine learning classification result event.
Definition ml_result_event.h:29