240 发简信
IP属地:陕西
  • 生成全排列算法(Scala和C++实现)

    全排列问题描述为:给定一串数字,生成所有可能的排列。本文给出两类,一种使用C++通过回溯算法,一种使用Scala通过递归来求解。 首先介绍使用S...

  • Scala - Loops

    下面给出一个Scala中while循环的例子: 虽然在实际中不建议这么来写。while在Scala中是一个关键字,但是我们可不可以用一个函数来定...

  • Huffman Tree (use priority queue) in C++

    Use the priority queue to implement Huffman Tree, written in C++ and use...

  • Trie (in C)

    Trie树的解释参见:http://blog.csdn.net/hguisu/article/details/8131559 下面是用C实现的代...

  • Scala - monads

    Monads 带有map和flatMap方法的数据结构很常见。实际上,there’s a name that describes this cl...

  • Scala-Functions and Pattern Matching

    Case Class 当要定义复杂的数据类型时,可以使用Case classes。如下面所示,定义一个JSON数据表示: 通过Scala的cas...

  • Implementing Recurrent Neural Network from Scratch

    All code can be find here. Implementing Recurrent Neural Network from Sc...

  • Implementing Multiple Layer Neural Network from Scratch

    All code can be find here. Implementing Multiple Layer Neural Network fr...

个人介绍
机器学习,深度学习与自然语言处理