滚动回测怎么做:让训练与部署节奏保持一致
滚动回测按时间推进:在某个截止日以前的数据上训练或选择参数,再在之后的一段时间评估,随后将截止日向前移动。这种方法能更接近周期性更新模型的实际流程,也有助于观察策略在不同市场阶段是否表现一致。 固定窗口只使用最近一段历史,可能更关注近期状态,但样本较少时估计不稳定;扩展窗口保留从起点以来的全部历史,样本更多,却可能混入较旧且已变化的关系。选择应依据业务逻辑和数据性质,而不是只挑表现最好的一种。 训练窗口、验证窗口、测试窗口和再训练频率需要分别写清。若实际计划每月更新一次,回测却每天利用最新结果重新选择参数,得到的表现就不对应真实部署方案。预处理、特征筛选和交易成本也必须在每个窗口内按同样规则重做。 每个阶段的参数只能由当时可用的训练和验证数据决定,不能看完整段回测之后再统一挑选最优参数。若候选参数很多,应保存尝试记录并考虑多次比较的影响。选择过程越复杂,越需要独立样本确认其稳定性。 汇总结果时,检查相邻测试窗口是否重叠。若同一天在多个窗口中出现,简单拼接会重复计算收益。应事先规定每个交易时点采用哪一版本模型,并据此构建唯一的资金曲线,同时保留各窗口的独立统计以观察差异。 最终报告除总体收益外,还应列出窗口数量、最差窗口、换手、成本和参数变化情况。若模型频繁选择完全不同的参数,或少数窗口贡献大部分收益,应继续研究原因。滚动回测提升了验证过程的现实性,但不会自动消除过拟合与未来环境变化。模拟每次只能看到过去
窗口长度有不同含义
参数选择要留在窗口内部
相关推荐
-
Abduction | TechCrunch
-
年内私募股票量化多头策略超额收益亮眼
-
报告:目前已有超10家A股上市公司入局AI短剧赛道
-
从“表演”到“实用” 具身智能向万亿赛道进阶
-
lot of everything, all at once. It wasn’t clear whether his idea could work or whether pulling out of school was the right thing for him to do. “There’s a paternal element to it,” says Taggar. “You don’t want to be screwing up people's lives—and working on a startup is a pretty serious thing.” Dandzbergs is up against a fleet of defense companies—from Anduril to CoAspire to Leidos—aiming to develop cheaper, mass-producible missiles. The more sophisticated the guidance system, the more difficult that task becomes. “You can build a cheap missile that doesn’t go very far. You can build a cheap missile that doesn’t carry much of a payload. You can build a cheap missile that has a low reliability rate,” says Tom Karako, director of the Missile Defense Project and senior fellow at the Center for Strategic and International Studies. “There are trade-offs.” But Dandzbergs wasn’t going to be dissuaded, and YC figured that somebody else would probably invest in his idea. The incubator invited him to join its fall program. “Big picture, you never know if these things are possible or not,” says Taggar. “Is it a non-zero-percent chance that it could be possible? That’s frankly the threshold, especially if it’s a really big [idea].” So far, according to Dandzbergs, Polemos Industries has developed the software system that will guide its missiles and has begun to hammer out elements of the hardware design. By the time the YC program finishes in December, he hopes to be able to showcase a prototype missile. If he does ultimately succeed, though, Dandzbergs will need to confront an assortment of hairy ethical quandaries. Who should have access to these new missiles? What if a technical error were to result in friendly fire? Can he make peace with his technology being used to end somebody’s life? Dandzbergs claims that he has come to terms with these issues. He says he takes solace in the belief that his motivations are pure: to protect the US and its European allies. By his logic, autonomous weapons are an inevitable part of the future, so he might as well be the one who builds them. “I choose not to shy away from the emergence of modern conflict as a global issue. I simply don’t have a lot of respect for people that do,” he says. “I want to be part of it. I want to move with the future of warfare.” But others who have found themselves in a similar position say it’s difficult to know in advance how somebody will deal with the knowledge that their invention has killed people. McKenzie-Wilson, the Unicorn Mafia director, launched a drone startup in his early twenties. Initially, he had meant for the drones to evacuate wounded soldiers, but after a missile company invested, his startup retooled its technology to drop payloads too. He left around the same time. “I don’t think I was emotionally mature enough,” he says. “[Dandzbergs] will realize at some point. He’ll either have an issue with it or he won’t.” Polemos Industries announced itself publicly on November 5 with a glossy social media video. Set to the ticking of a clock, it featured a set of four missiles fired into the sky from ground launchers, then blowing a convoy of four military vehicles to smithereens. The video climbed to the top of the trending page on X. In the responses, a couple of people tagged Palmer Luckey, cofounder of Anduril, who was 19 when he started his first company. “Coming for him,” Dandzbergs responded. Dandzbergs recognizes that people are likely to dismiss him for his age. But he considers youth one of his biggest advantages. “Please don’t say I’m sacrificing my childhood,” he says. “This is the childhood I dreamed of.” CommentsBack to top CommentsBack to top You Might Also Like In your inbox:For life-tested picks, sign up for our Gear newsletters Building social media apps isn’t cool anymore Big Story: Welcome to Weed Island RIP to the unloved, unwanted Cybertruck Want better search results? Make WIRED a preferred source in Google https://media.wired.com/photos/65e9d0040264b0ad869cbc14/1:1/w_90%2Cc_limit/Joel%2520Khalili.jpg Joel Khalili is a senior writer at WIRED, covering the artificial intelligence industry in Europe. He previously covered cryptocurrency extensively and was named one of the Professional Publishers Association’s 2024 most exciting rising stars in UK publishing. Before joining WIRED, he was an editor at TechRadar, where he wrote about ... Read More Senior Writer TopicswarMissilesartificial intelligenceAndurilweaponsY CombinatorElon MuskUkraineRussia
-
红利低波ETF(512890)交投活跃度大幅升温 近一周净流入11.5亿元位居同类产品前列
- 最近发表
- 随机阅读
-
- Kansas U.S. Senate Election Live Results 2026
- 海南自贸港全岛封关后的跨境金融新格局与券商战略机遇
- 工银瑞信基金:以客户为中心 建设一流资产管理机构
- 黑芝麻智能与元戎启行达成深度合作 共推高阶辅助驾驶技术量产落地
- These goats are fighting wildfires by snacking on fire-prone brush
- 南方中证A500:一键布局中国优质资产
- 药价登记系统于日前上线 创新药ETF(159992)投资机会获关注
- 聚焦信任重塑破解行业痛点 2025第九届中国汽车客户之声研讨会在京举办
- jukebox | TechCrunch
- 汇添富基金:坚定发展主动权益投资 在服务实体经济高质量发展道路上稳步前行
- 海光信息与中科曙光分道扬帆 双双回应终止重组原因
- 步长制药“宣肺败毒颗粒”等产品获准登陆印尼市场
- Listen to more financial advice from Michelle Singletary: https://apple.co/4AxNsVe
- “十四五”期间天津上市公司累计研发投入超1000亿元
- 上峰水泥:参股公司粤芯半导体创业板IPO获受理
- 美元指数26日收于98.022
- Exclusive 10% Off WIRED LegalZoom Promo Code for November
- 拒绝“薅羊毛” 多只货币基金集体限购
- 发挥长期资金作用 社保基金为关键领域注入“活水”
- “餐饮+食品”双轮驱动 广州酒家打造国际一流饮食集团
- 搜索
-