01_week3_Planar data classification with a hidden layer

1 - Packages

  • numpy是Python科学计算的基本包。
  • sklearn提供了用于数据挖掘和分析的简单有效的工具。
  • matplotlib 是在Python中常用的绘制图形的库。
  • testCases提供了一些测试示例用以评估函数的正确性
  • planar_utils提供了此作业中使用的各种函数

01_week3_Planar data classification with a hidden layer

2 - Dataset

01_week3_Planar data classification with a hidden layer

 01_week3_Planar data classification with a hidden layer

 3 - Simple Logistic Regression

01_week3_Planar data classification with a hidden layer

 4 - Neural Network model

01_week3_Planar data classification with a hidden layer

4.1 - Defining the neural network structure 

01_week3_Planar data classification with a hidden layer

 4.2 - Initialize the model's parameters

01_week3_Planar data classification with a hidden layer

 01_week3_Planar data classification with a hidden layer

 01_week3_Planar data classification with a hidden layer

 01_week3_Planar data classification with a hidden layer

 01_week3_Planar data classification with a hidden layer

 

01_week3_Planar data classification with a hidden layer

 01_week3_Planar data classification with a hidden layer

 01_week3_Planar data classification with a hidden layer

 01_week3_Planar data classification with a hidden layer

01_week3_Planar data classification with a hidden layer

 

上一篇:OpenStack上搭建Q版的公共环境准备(step1)


下一篇:Chinese Sentiment Classification Model based on Pre-Trained BERT