小编aga*_*rie的帖子

什么是weka中每个类的f-measure

当我们在WEKA中评估分类器时,例如2级分类器,它给出了3个f-度量:对于类1,对于类2和加权f-度量的f-度量.

我很困惑!我认为f-measure是一种平衡的衡量标准,可以显示多级的均衡性能指标,那么1级和2级的f-measure意味着什么呢?

evaluation machine-learning weka

6
推荐指数
1
解决办法
1万
查看次数

这两个中断服务例程中的竞争条件是什么?

我在大学的实时系统课程中使用 ARM 微控制器。在我目前正在进行的项目中,我正在实现矢量场直方图(VFH)算法。

问题是:我需要在线程之间进行通信;更具体地说,我想要一个线程从测距仪获取传感器数据,对其进行必要的转换并将它们存储在队列中。他们,另一个线程必须获取这些数据并处理它,等等。

目前,我正在使用它的一个更简单的版本 - 一个线程从 ADC (SensorAcquisitionHandler) 获取数据,另一个线程将前 5 项(最多)的平均值输出到显示器 (ControlSignalHandler)。

/* Queue used to store data from the rangefinder sensors. */
static unsigned int Sensors[100];
static int SensorsHead = 0;
static int SensorsTail = 0;

void SensorAcquisitionHandler(void) {
    /* Clear the interrupt. */
    ADCIntClear(ADC0_BASE, 1);

    int i; /* Index for the measurements buffer. */

    /* There are only 3 rangefinders used. */
    if (ADCSequenceDataGet(ADC0_BASE, 1, rangeBuffer) == 3) {
        /* Put rangeBuffer's data into SensorDataQueue. */
        /* …
Run Code Online (Sandbox Code Playgroud)

c queue multithreading arm interrupt

5
推荐指数
1
解决办法
3605
查看次数

标签 统计

arm ×1

c ×1

evaluation ×1

interrupt ×1

machine-learning ×1

multithreading ×1

queue ×1

weka ×1