Highlight

Những điều thú vị khi dùng Trí tuệ nhân tạo của Viettel

Những người dùng Internet tại Việt Nam thường lấy “chị Google” ra để… giải trí. Khi “chị” đọc văn bản hay chỉ đường cho người tham gia gi...

Thursday, October 6, 2016

Google’s Go language ventures into machine learning

Google’s Go language ventures into machine learning

A small but growing number of libraries written entirely in Go are stepping up to show that Google's language can do machine learning, too


Machine learning developers who want to use Google's Go language as their development platform have a small but growing number of projects to choose from.
Rather than call out to libraries written in other languages, chiefly C/C++, developers can work with machine learning libraries written directly in Go. Existing machine learning libraries in other languages have a far larger culture of users, but there's clearly an interest in having Go toolkits that take advantage of the language's conveniences.
Goml bills itself as "Golang machine learning, on the wire," meaning it "includes many models which let you learn in an online, reactive manner by passing data to streams held on channels," according to the developers. The project stands out by emphasizing its possibilities as a component for other applications, made easier by "comprehensive tests, extensive documentation, and clean, expressive, modular source code." If all you need is something for basic binary classification problems (is this spam or not?), a smaller library named Hector will fit the bill.
The newest of the bunch, and in some ways most intriguing, is Gorgonia. This machine learning library, written entirely in Go, "provides the necessary primitives to dynamically build neural networks and assorted machine learning algorithms," according to the author, a Sydney, Australia-based developer who goes by the nick "chewxy."

One key motivation for why machine learning projects might be worth creating in Go was raised by Gorgonia's creator in the Hacker News thread where he was promoting the project: "Part of the reason why I wrote Gorgonia was because I spent waay [sic] too long trying to deploy Theano on the cloud (this was circa 2 years ago)."The key adjective is "dynamic." Like the machine learning library Theano before it, Gorgonia lets you describe the behavior of a neural network in fairly high-level terms with a set of library primitives. This approach, also used by the TensorFlow library, frees the developer from having to write algorithms by hand and provides pieces that can be reused across different projects.
A purely Go solution means fewer pieces from different languages that would have to be packaged and deployed together. But the main advantage of having these libraries in Go isn't deployment, but developer comfort. Prospective machine learning developers now have that many more languages to be productive in -- and it means existing Go developers who want to become machine learning pros can get a leg up in a domain with which they're already comfortable.
http://www.infoworld.com/

No comments:

Post a Comment