csv_name 不是 arma 的成员

问题描述

#include <iostream>
#include <mlpack/core.hpp>
int main()
{
    arma::mat dataset;
    arma::field<std::string> headers;
    dataset.load(arma::csv_name("house_to_rent.csv",headers));    
    return 0;
}

运行时出现错误 csv_name is not a member of arma。我在某处搞砸了安装吗?

操作系统:Ubuntu 20.04

编辑器:VSCode

mlpack

武装版本:9.800.4

解决方法

Armadillo 9.8 中没有 csv_name。您必须将犰狳更新到至少 9.900 版本。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...