build_a_neural_network_from_scratch
================
注:该项目处于初始阶段,这意味着所有写好的库文件以及jupyter 笔记本上的函数都是可用的,但它们仅涉及神经网络部分。
欢迎将您自己的代码、升级、想法、笔记等并入此Repo。此外,任何使用本程序中代码的行为都是允许的:可以随意使用,不必考虑版权等问题。
总之,这既是一个深度学习教程,也是一个深度学习python库。
-------
## 如何使用?
正如标题所示,您可以使用该repo作为如何构建神经网络的教程,以及一个方便的python库来加快实现机器学习程序。
每个目录都包含相应的文件,如其标题所示。例如,在'logistic_regression'目录中,您将看到如下内容:
* jupyter notebook文件,可以直接用来理解神经网络原理以及学习如何从零实现一个神经网络。
* .py文件,它是python函数库,可以帮助您更快地构建自己的逻辑回归。
* *.pdf文件,这是我个人的深度学习笔记。它可以帮助您更好地理解代码。
## 其他需要的库
这些是在终端上运行神经网络代码所需的其他一些库。
如果您只需要*.py文件,即lib文件,那么您只需要numpy。
您可以使用pip来安装它们。例如,您可以在终端上输入“sudo pip3 install numpy”来安装numpy库。
本报告所涉及的所有libraries已列于下表:
* numpy
-如前所述,这是几乎所有机器学习python程序的必备。它可以实现向量化,从而增强稳健性并加速代码运行。
* matplotlib
-这是一个库,可以让你画条\散点图等。如果你熟悉malab,你会很乐意使用它的。但是如果没有也没关系,因为几乎所有的代码都已经为你完成了。
* sklearn
这个库有一些集成的数据集,可以节省我们收集数据的时间。有时我们会用这个库来分割数据集,等等。
-------
build_a_neural_network_from_scratch
================
Note:This project is in its initial state, which means all the libs and jupyter notebooks uploaded is usable, but it doesn't cover all the areas of deep learning. We're still trying to make it a better and more thorough lib.
You'll be welcomed to pull your own codes\upgrades\thoughts\notes, etc. to this repo!
Anyway, this is both a deep learning tutorial and a deep learning python lib.
-------
## How to use?
As the title indicated, you can use the repo as a tutorial of how to build a neural network, as well as a handy python lib to faster your implementation of machine learning programs.
Each directory includes corresponding files as its title shows. For instance, in the directory 'logistic_regression', what you will see is as below:
* a jupyter notebook file, which shows the whole process of implementing a computing unit(that is, a logistic regression function).
* a *.py file, which is the python library of functions, which can help you build your own logistic regression faster.
* *.pdf files, which is my personal notes of deep learning. It may help you understand the code better.
## Other libraries required
These are some other libraries required to run neural network codes on your terminal.
P.s. if you only need *.py files, that is, the lib files, the only lib you will need is numpy.
You can use pip to install them. For example,you can input 'sudo pip3 install numpy' on your terminal to install numpy lib.
All libraries involved in this repo have been listed below:
* numpy
-As indicated before, this is a 'must-have' stuff of almost all machine learning python programs.Its can vectorize the implementation, which can boost up the robustness and speed up your code.
* matplotlib
-This is a library which can enable you to draw bar\scatter plots and so on in an efficient way. If you're familiar with malab, you'll be happy to use this, I promise.But if you're not, it's totally okay, because almost all the codes have been done for you.
* sklearn
-This lib has some integrated dataset, which may save us some time from collecting data. And sometimes we'll use this lib to split up datasets,etc.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
numpy 一个用python实现的科学计算,包括:1、一个强大的N维数组对象Array;2、比较成熟的(广播)函数库;3、用于整合C/C++和Fortran代码的工具包;4、实用的线性代数、傅里叶变换和随机数生成函数。numpy和稀疏矩阵运算包scipy配合使用更加方便。 NumPy(Numeric Python)提供了许多高级的数值编程工具,如:矩阵数据类型、矢量处理,以及精密的运算库。专为进行严格的数字处理而产生。多为很多大型金融公司使用,以及核心的科学计算组织如:Lawrence Livermore,NASA用其处理一些本来使用C++,Fortran或Matlab等所做的任务。 NumPy 的前身为 Numeric ,最早由 Jim Hugunin 与其它协作者共同开发,2005 年,Travis Oliphant 在 Numeric 中结合了另一个同性质的程序库 Numarray 的特色,并加入了其它扩展而开发了 NumPy。NumPy 为开放源代码并且由许多协作者共同维护开发。
资源推荐
资源详情
资源评论
收起资源包目录
深度学习神经网络的入门脚本。基于numpy从零指导如何写一个神经网络库。.zip (14个子文件)
新建文本文档.txt 984B
build_a_neural_network_from_scratch-master
LICENSE 11KB
Logistic_regression
logistic_regression.ipynb 29KB
Notes
Logistic_regression_note.pdf 7.37MB
README.md 370B
logistic_regression.py 3KB
.gitignore 14B
README.md 4KB
Neural_networks
neural_networks.ipynb.old 70KB
neural_networks.py 9KB
neural_networks.ipynb 61KB
Notes
2_Deep_neural_network_note.pdf 8.9MB
1_Shallow_neural_networks_note.pdf 12.81MB
README.md 783B
共 14 条
- 1
资源评论
野生的狒狒
- 粉丝: 3081
- 资源: 2301
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功