HN user

haifeng

574 karma
Posts125
Comments28
View on HN
github.com 2mo ago

Show HN: AutoML Agents

haifeng
3pts0
github.com 2mo ago

Show HN: Smile-Serve – Inference Server for ML, ONNX, and LLM

haifeng
5pts0
osf.io 2y ago

Climate Change, Epidemics, Fiscal Breakdown, and the Collapse of the Great Ming

haifeng
1pts0
medium.com 2y ago

A Tutorial on LLM

haifeng
4pts0
haifengl.github.io 5y ago

Declarative Data Visualization

haifeng
64pts7
haifengl.github.io 5y ago

Smile (Statistical Machine Intelligence and Learning Engine) 2.5.0 Is Released

haifeng
2pts0
haifengl.github.io 5y ago

Smile 2.5.0 Is Released

haifeng
3pts0
haifengl.github.io 6y ago

Declarative Data Visualization

haifeng
1pts0
haifengl.github.io 6y ago

Machine Learning on JVM

haifeng
5pts0
mybinder.org 6y ago

Matrix Computation in Scala

haifeng
3pts0
mybinder.org 6y ago

Computer Algebra System in Scala

haifeng
3pts0
www.linkedin.com 6y ago

A Global Currency Is Too Big to Succeed

haifeng
2pts0
www.linkedin.com 6y ago

Long Live Private Cloud

haifeng
1pts0
www.linkedin.com 7y ago

Will Libra Succeed?

haifeng
1pts0
www.linkedin.com 7y ago

Will Libra Succeed?

haifeng
3pts0
www.linkedin.com 7y ago

Fundamental Changes in Apache Spark

haifeng
3pts0
www.linkedin.com 7y ago

Cloud is NOT cheap for enterprise

haifeng
3pts0
www.linkedin.com 7y ago

Two Fundamental Changes in Apache Spark

haifeng
2pts0
www.linkedin.com 7y ago

The Missing Parts of Kubernetes

haifeng
2pts0
www.linkedin.com 7y ago

Mental Accounting of Computers

haifeng
2pts0
www.linkedin.com 7y ago

Cloud is quite expensive for big users

haifeng
1pts0
www.linkedin.com 7y ago

Cloud Is Not Cheap

haifeng
1pts0
www.linkedin.com 7y ago

Private cloud is dead. Long live private cloud

haifeng
1pts0
www.linkedin.com 7y ago

What’s Wrong with Bitcoin?

haifeng
1pts3
www.linkedin.com 7y ago

What're missing in Kubernetes to conquer enterprise data centers?

haifeng
2pts0
www.linkedin.com 8y ago

What's Wrong with IBM's AI Strategy

haifeng
3pts0
www.linkedin.com 8y ago

The prediction, made 2 years ago, that Hadoop is dying

haifeng
2pts0
www.linkedin.com 8y ago

IBM Is Missing a Disruptive Innovation in Her Own Hand

haifeng
1pts0
www.linkedin.com 8y ago

Asynchronous programming in a nutshell

haifeng
1pts0
www.linkedin.com 8y ago

IBM is missing a disruptive innovation in her own hand

haifeng
2pts0

Is there something wrong in your code? I don't see the effect.

smile> val x = Array(1.0, 2.0, 3.0, 4.0)

x: Array[Double] = Array(1.0, 2.0, 3.0, 4.0)

smile> val y = Array(4.0, 3.0, 2.0, 1.0)

y: Array[Double] = Array(4.0, 3.0, 2.0, 1.0)

smile> x + y

res2: smile.math.VectorAddVector = Array(5.0, 5.0, 5.0, 5.0)

In most graph database, you find a vertex by filtering its properties, e.g. Gremlin graph query language. In Unicorn, you can do the similar with document vertices (it is, a vertex corresponding to a document in another table/collection). This is probably very nature in a business application. However, it is not very useful in your case as your vertices are abstract without any properties.

I guess what you want is some large scale graph analytics, which I suggest Spark GrpahX or other distributed graph computing engine.

Unicorn is designed for property directed multi-graphs.

It is not a bloated NLP library. Instead, it focuses on basic stuffs such as sentence splitter and tokenizer, bigram statistical test, phrase extractor, keyword extractor, stemmer, POS tagging, relevance ranking. Combined with various machine learning algorithms e.g. HMM, maxent, CRF, etc., you can work out advanced applications such as sentiment analysis, named entity recognition, etc.

OCaml: Polymorphism 11 years ago

I am not sure if typing can be added as a library. In terms of typed lambda calculus vs untyped lambda calculus, can we do this way?

But the idea of "layered" language is nice. In Scala, many features are not really from language itself, but from libraries.

OCaml: Polymorphism 11 years ago

Structural subtyping are mostly close to static polymorphism. After all, we just don't like inheritance, not dynamic polymorphism. Besides, interface and trait are not really inheritance although closely related.

OCaml: Polymorphism 11 years ago

Thanks for bring Rust into the topic. I know that it is very new. But still wonder if some real life projects are using it (except rustc).

OCaml: Polymorphism 11 years ago

Agree. I like most parametric polymorphism too. The drawbacks are:

1. In C++, the compile error messages with templates are so hard to navigate. 2. In OCaml, sometimes we need pay attentions on the performance.

OCaml: Polymorphism 11 years ago

Interesting. It is more a design pattern rather than a language thing. But it is always good to design a consistent API across similar but not related classes.