This commit is contained in:
2026-04-20 00:21:53 +09:00
parent 4b08883f69
commit 53e9908167
31 changed files with 3535 additions and 111 deletions

19
scripts/compare.ts Normal file
View File

@@ -0,0 +1,19 @@
import { readFile } from "node:fs/promises";
async function compare() {
// 예시 데이터: 산출된 예측 상수와 csv의 실제 상수 비교
const data = [
{ title: "Tenjiku 2000", actual: 11.0, predicted: 5.47 },
{ title: "Yuugen no Ran", actual: 11.7, predicted: 4.64 },
{ title: "Joubutsu 2000", actual: 11.0, predicted: 7.13 },
{ title: "Kita Saitama 2000", actual: 11.0, predicted: 7.40 },
{ title: "Shimedore 2000", actual: 11.1, predicted: 4.81 }
];
console.log("--- 상수 비교 분석 ---");
data.forEach(d => {
const diff = (d.actual - d.predicted).toFixed(2);
console.log(`${d.title}: 실제(${d.actual}) vs 예측(${d.predicted}) | 오차: ${diff}`);
});
}
compare();