Skip to main content

3 posts tagged with "algo"

View All Tags

· One min read

Intro

重学算法,之前停留在学习基本思想比如 leetcode#704,但是问题衍生出来的实际问题直接看不懂 leetcode#475。 重新以实际题的方式去了解

二分

  • 单调性
  • 000111找突变边界
  • 使用主动与被动不同的视角看

动态规划

· One min read

手动实现 ML lib

https://github.com/kenp-io/DeepLearning-Project2

  • activation.py: contains classes of activation functions implemented
  • layer.py: contains classes defining the layers
  • loss.py: contains classes defining the losses
  • nnmodule.py: parent class
  • optimizer.py: contains classes defining optimizers
  • parameter.py: contains the class Parameter
  • sequential.py: contain the class Sequential
  • test.py: contains an example of the test of this library