我想在本地运行nixpkgs测试,我找到了,但它不起作用
$ cd my/nixpkgs
$ nix-build --show-trace nixos/tests/login.nix
error: while evaluating the attribute ‘buildCommand’ of the derivation ‘vm-test-run-login’ at /home/bjorn/projects/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute ‘build
我刚刚安装了scikit 0.14,这样我就可以探索多标签指标的改进。我使用hamming损失度量和分类报告获得了一些积极的结果,但无法使混淆矩阵工作。同样在分类报告中,我无法传递标签数组并在报告中打印标签。下面是代码。是我做错了什么,还是它还在开发中?
import numpy as np
import pandas as pd
import random
from sklearn import datasets
from sklearn.pipeline import Pipeline
from sklearn.multiclass import OneVsOneClassifier
f