贝叶斯定理
先看看贝叶斯公式的内容,下面的公式中,H 代表 Hypothsis,E 代表 Evidence: P ( H ∣ E ) P ( H ) ∗ P ( E ∣ H ) P ( E ) P(H|E)\frac {P(H)*P(E|H)}{P(E)} P(H∣E)P(E)P(H)∗P(E∣H) P ( H ) P(H) P(H) 作为先验…
1-1 构建源码bulid.ts
import path from node:path;
import chalk from chalk;
import consola from consola;
import { build, type BuildOptions, type Format } from esbuild;
import GlobalsPlugin from esbuild-plugin-globals;
import { emptyDir, copy } from fs-extra…