资源简介

吴恩达老师的深度学习课程的第一部分——神经网络与深度学习的课后作业,四周作业(包括课后的quiz和编程作业)都在里面,是搬运别人的资源,自己做了,感觉很不错。

资源截图

代码片段和文件信息

import numpy as np
import h5py
    
    
def load_dataset():
    train_dataset = h5py.File(‘datasets/train_catvnoncat.h5‘ “r“)
    train_set_x_orig = np.array(train_dataset[“train_set_x“][:]) # your train set features
    train_set_y_orig = np.array(train_dataset[“train_set_y“][:]) # your train set labels

    test_dataset = h5py.File(‘datasets/test_catvnoncat.h5‘ “r“)
    test_set_x_orig = np.array(test_dataset[“test_set_x“][:]) # your test set features
    test_set_y_orig = np.array(test_dataset[“test_set_y“][:]) # your test set labels

    classes = np.array(test_dataset[“list_classes“][:]) # the list of classes
    
    train_set_y_orig = train_set_y_orig.reshape((1 train_set_y_orig.shape[0]))
    test_set_y_orig = test_set_y_orig.reshape((1 test_set_y_orig.shape[0]))
    
    return train_set_x_orig train_set_y_orig test_set_x_orig test_set_y_orig classes

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......    696993  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week1\quiz1.pdf

    .......      5500  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\01-Logistic-Regression-as-a-Neural-Network.ipynb

    .......      7973  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\02-vectorization.ipynb

    .......    616958  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\datasets\test_catvnoncat.h5

    .......   2572022  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\datasets\train_catvnoncat.h5

    .......    601084  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\images\cat_in_iran.jpg

    .......    310181  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\images\gargouille.jpg

    .......    265708  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\images\image1.png

    .......    154439  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\images\image2.png

    .......    339673  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\images\la_defense.jpg

    .......    191592  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\images\LogReg_kiank.png

    .......    636273  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\images\my_image.jpg

    .......     94439  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\images\my_image2.jpg

    .......    787339  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\Logistic+Regression+with+a+Neural+Network+mindset+v3.ipynb

    .......       880  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\lr_utils.py

    .......     44265  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\Programming-Assignments\Python+Basics+With+Numpy+v2.ipynb

    .......    200206  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\quiz.pdf

    .......    261794  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week2\standard-notation.pdf

     文件       9295  2018-07-22 15:27  01-Neural-Networks-and-Deep-Learning\week3\.ipynb_checkpoints\shallow-neural-network-checkpoint.ipynb

     文件    1077340  2018-07-22 15:27  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\.ipynb_checkpoints\Planar+data+classification+with+one+hidden+layer+v2-checkpoint.ipynb

     文件     143689  2018-07-22 16:48  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\.ipynb_checkpoints\Planar+data+classification+with+one+hidden+layer+v3-checkpoint.ipynb

    .......    139115  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\images\classification_kiank.png

    .......    681895  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\images\grad_summary.png

    .......     41671  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\images\sgd.gif

    .......     64014  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\images\sgd_bad.gif

     文件     481714  2018-07-22 17:01  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\Planar+data+classification+with+one+hidden+layer+v2.ipynb

     文件     548631  2018-07-22 17:09  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\Planar+data+classification+with+one+hidden+layer+v3.ipynb

     文件       2275  2018-07-22 15:48  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\planar_utils.py

    .......      3993  2017-08-28 03:55  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\testCases.py

     文件       2410  2018-07-22 15:50  01-Neural-Networks-and-Deep-Learning\week3\Programming Assignments\__pycache__\planar_utils.cpython-36.pyc

............此处省略66个文件信息

评论

共有 条评论