Notes-in-Machine-Learning-with-Python (5)

Deep Learning

Neural Networks

  • imagenet — image data
  • Tenserflow
  • one_hot:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    mnist = input_data.read_data_sets("/tmp/data/", one_hot=True)

    # 10 classes, 0-9
    # the follow is just one_hot
    #
    # 0 = [1,0,0,0,0,0,0,0,0,0]
    # 1 = [0,1,0,0,0,0,0,0,0,0]
    # 2 = [0,0,1,0,0,0,0,0,0,0]
    # ........
    • nltk —> a package for nature language processing in python

      for the future