我使用predict_proba()
构建了一个分类器,当我进行新的预测时,我还输出metrics.classification_report
概率预测。我的问题是,这些预测是否包含模型拟合优度的度量标准?例如,我喜欢输出predict_proba()
,并且考虑在predict_proba()
评估概率输出之前将回忆用作贝叶斯算子,但是如果回忆和精度已经考虑在// first file ws.js:
var WebSocketServer = require("ws").Server;
var wss = new WebSocketServer({ port: 9000 });
wss.on("connection", function(ws){
ws.send("Welcome to cyber chat");
});
// seccond file ws-client.js
var ws = new WebSocket("ws://localhost:9000");
ws.onopen = () => {
setTitle("Connected to Cyber Chat");
};
ws.onclose = () => {
setTitle("DISCONNECTED");
};
ws.onmessage = payload => {
printMessage(payload.data);
};
document.forms[0].onsubmit = function() {
var input = document.getElementById('message');
input.value = '';
};
function setTitle(title) {
document.querySelector('h1').innerHTML = title;
}
function printMessage(message) {
var p = document.createElement('p');
p.innerText = message;
document.querySelector('div.messages').appendChild(p);
}
中那么我不想重复计算。
我喜欢听别人的想法。