NMF: per-artist New Music Friday history (SuperFridayChart artist pages, complete per artist), track pages for window placements first; NMF Denmark vs DR adds analysis (airplay model nmf)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
//! airplay model panel what the panel holds
|
||||
//! airplay model backtest [--h 1,4,8] [--refit 1] [--out docs/BACKTEST.md]
|
||||
//! airplay model calibrate [--out docs/CALIBRATION.md] rotation thresholds from DR's lists
|
||||
//! airplay model nmf [--out docs/NMF.md] New Music Friday Denmark vs DR adds
|
||||
//! airplay model ifpi the 20-year IFPI test bed -> docs/IFPI.md
|
||||
//! airplay model adds [--h 0,4] [--out docs/BACKTEST-ADDS.md] backtest of the new-add model
|
||||
//! airplay model rank [--h 4] [--max-h 12] [--top 50]
|
||||
@@ -16,6 +17,7 @@ pub mod features;
|
||||
pub mod glm;
|
||||
pub mod ifpi;
|
||||
pub mod kalman;
|
||||
pub mod nmf;
|
||||
pub mod panel;
|
||||
pub mod rank;
|
||||
|
||||
@@ -57,6 +59,11 @@ pub fn run(db: &Db, args: &[String]) -> Result<()> {
|
||||
print!("{}", report.markdown);
|
||||
eprintln!("written to {out}");
|
||||
}
|
||||
Some("nmf") => {
|
||||
let md = nmf::run(db, &p)?;
|
||||
if let Some(out) = arg(args, "--out") { std::fs::write(out, &md)?; }
|
||||
print!("{md}");
|
||||
}
|
||||
Some("ifpi") => {
|
||||
let md = ifpi::run(db)?;
|
||||
std::fs::write("docs/IFPI.md", &md)?;
|
||||
|
||||
Reference in New Issue
Block a user