在sklearn.neural_network.MLPClassifier中,有一个参数
hidden_layer_sizes : tuple, length = n_layers - 2, default (100,)
在json中,我有键和值,例如:
{
"hidden_layer_sizes" : xxxx,
"activation": "relu",
"solver": "adam",
"alpha": 0.0001,
}
如何将(100, )
表示为JSON?