rockspec_format = "3.0"
package = "balsa"
version = "0.1-1"
source = {
  url = "git+https://github.com/timm/balsa.git",
  tag = "v0.1",
}
description = {
  summary = "Trees that are good enough: small, fast forests in one Lua file",
  detailed = [[
    Csv reading, equal-frequency bins, deep random forests, regression,
    distance to heaven over many goals, and active learning for
    optimization, with a seeded Park-Miller random so one seed gives
    one answer on any interpreter. No dependencies; fastest on LuaJIT.
  ]],
  homepage = "https://github.com/timm/balsa",
  license = "MIT",
  labels = { "machine-learning", "random-forest", "decision-trees",
             "active-learning", "optimization" },
}
dependencies = { "lua >= 5.1" }
build = {
  type = "builtin",
  modules = {
    balsa    = "balsa.lua",
    balsa_eg = "balsa_eg.lua",
  },
}
test = { type = "command", command = "lua balsa_eg.lua --all" }
