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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Haskell Data Analysis and Machine Learning Cookbook

181 点作者 e19293001将近 9 年前

8 条评论

IanCal将近 9 年前
I like seeing more things come out helping people with data analysis in various languages, but this put me off:<p>&gt; isWhitespace x = elem x &quot; \t\r\n&quot;<p>This is the kind of thing that makes me concerned about using this resource for real-world data. In real-world data you&#x27;re going to get all kinds of crazy things coming in, and if you&#x27;re assuming nobody will ever have something like a zero width non-breaking space, or a form feed, you&#x27;re going to have a problem.<p>It&#x27;s the kind of thing I see with people starting out when dealing with data, similarly the punctuation detection here: <a href="https:&#x2F;&#x2F;github.com&#x2F;BinRoot&#x2F;Haskell-Data-Analysis-Cookbook&#x2F;blob&#x2F;master&#x2F;Ch02&#x2F;Code02_punctuation&#x2F;Main.hs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;BinRoot&#x2F;Haskell-Data-Analysis-Cookbook&#x2F;bl...</a><p>If you rely on these things, you will have problems. Text is hard and weird and terribly more complicated than people usually expect.<p>Does haskell have good libraries for dealing with the more awkward parts? Can I easily remove all characters marked as whitespace in unicode, for example? Detecting and managing mangled encodings?
评论 #12187642 未加载
评论 #12185977 未加载
评论 #12186108 未加载
edgordon将近 9 年前
This is a repost of a book we published in 2014. It&#x27;s well reviewed, and the author kept the Github repo for the code up to date with feedback (<a href="https:&#x2F;&#x2F;github.com&#x2F;BinRoot&#x2F;Haskell-Data-Analysis-Cookbook" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;BinRoot&#x2F;Haskell-Data-Analysis-Cookbook</a>). If anyone wants to try it, you can pick it up in the Packt sale currently for $10 @ packtpub.com
sdx23将近 9 年前
I have bought that book some years ago and wouldn&#x27;t do so again. It was very disappointing to see neither a focus on Haskell nor on data analysis. It scratches both topics but covers only very elementary things. The content is mostly short receipts that were to me of no value at the time.<p>For people interested in the topics I&#x27;d recommend to buy some other good books, on Haskell and data analysis separately.<p>If, however, receipts are to your liking and you&#x27;re only starting out with Haskell &#x2F; data science maybe this is something for you (or maybe not).
blubb-fish将近 9 年前
Serious question:<p>Is there any reason why somebody would use Haskell for data analysis when there is also R and Python - which are perfect for that job - except for that the respective person happens to be a Haskell expert anyway?
评论 #12187257 未加载
评论 #12188948 未加载
zelos将近 9 年前
It definitely seems like there&#x27;s a lack of intermediate-to-advanced Haskell books. This looks like it contains a lot of canonical Haskell coding examples and might be useful: any Haskell experts that can weigh in?<p>The other Packt Haskell book is apparently terrible, so I&#x27;m a bit cautious.
评论 #12185564 未加载
mark_l_watson将近 9 年前
I bought this book a couple of years ago and never read through it. It does provide convenient recipes that you can look up in the table of contents. I like recipe books like this, but be warned that there is not much depth. I recently bought another book by the same author that is also useful.
dschiptsov将近 9 年前
BTW, one might notice how a language with type-tagged data (a value has a type, not a variable, there are no box-like variables, but bindings) is much more suitable for data exploration and analysis (python + pandas is a good example).<p>Also homogeneous lists and especially conditionals is kind of awkward - tuples aren&#x27;t as flexible as lists. Defining a type for each possible row and then pattern-match on will result in a lot of useless boilerplate, almost as bad as Java.<p>Common Lisp, it seems, is a better choice for such problems.
评论 #12185908 未加载
eggy将近 9 年前
I might have a look, but the page seems to be a big ad with animated buy buttons at top?<p>I posted a link for a free online kdb training class 3 months ago for students that normally goes for $1300 with no affiliation to the company, and it was flagged. What&#x27;s the difference?