TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Test-First Machine Learning

30 点作者 frag将近 5 年前

4 条评论

MrLeap将近 5 年前
This is fun. I managed a data entry project at a previous employer that was kind of like this.<p>We had non technical subject matter experts that I sneakily got to write several thousand unit tests. We had some quantitative and qualitative data we wanted annotated on a substantial dataset of scanned documents. I built a tool that let them type natural language descriptors for everything. I then converted that to javascript unit tests by way of some regex and coffeescript.<p>It was possible to bootstrap classifiers that way! Seems like kind of old tech in an era of unsupervised megaML, but I&#x27;ve not been using that part of my resume for a year or so.
cik2e将近 5 年前
&gt; Testing model implementation details such as statistical and mathematical soundness are not part of the TFML strategy. Such details should be tested separately and are specific to the family of the model under consideration.<p>For anyone who clicked this thinking this would be related to model validation, it ain&#x27;t. The article is promoting test-driven development for systems that have an ML component.
nervousDev将近 5 年前
I think you missed TDD as in Test Driven Development.<p>The article mentions nothing about specific methodologies regarding testing in a ML context.<p>Maybe on the next article? :)
评论 #24056119 未加载
tadeegan将近 5 年前
Testing model code tends to be very difficult unless you design your training loop with lots of abstractions and dependency injection which makes the code less explicit and difficult to understand. For example, try to look at the Tensorflow Estimator framework. Absolutely awful to use but is well tested.
评论 #24056107 未加载