GithubHelp home page GithubHelp logo

python-deep-learning's Introduction

python-deep-learning

环境配置

 -  Python 3.x
    -  curl https://bootstrap.pypa.io/get-pip.py | python3

 -  库文件
    - [Anaconda](https://www.anaconda.com/download/) 
         * NumPy
         * Matplotlib

基本学习

    -  [Python基础]
          -  不同版本
             -  python2.x
                -  整数/整数 = 整数
             -  python3.x
                -  整数/整数 = 浮点数
                -  针对于数值的运算符
                   -  — / + * 
          -  数据类型
             -  data type
                -  type() 函数可以查看数据类型
          -  变量
             -   python 是一种动态语言
                 -  python中变量不需要声明
                 -  python中变量不需要类型
                 -  python中变量不需要初始化
                 -  python中变量不需要定义
                 -  python中变量不需要赋值
          -  列表
             -  元素的访问可以通过 a[0]来 访问
                 -  []中的数字称为索引
              -  python列表 中提供了 切片的标记法
                 -  使用 切片标记法 
                    -  可以访问列表中的一部分元素
                    -  还可以列表的子列表
         -  字典
            -  字典是一种映射类型
               -  类似于 map / object for JS
               -  以键值对的形式存储数据
         -  布尔值
            -  True
            -  False
            -  针对于 布尔值的运算
               -  and
               -  or
               -  not

         - if 语句
            -  if 条件:
               ```hungyr = True
               if hungry:
                  print('I am hungry')
                ```  
               -  代码块
            -  if 条件:
               -  代码块
               ```
                 hungry = True
                 a = False
                    if hungry:
                        print('I am hungry')
                    elif (a === hungry) {
                        print('I am hungry')
                    } else {
                        print('I am not hungry')
                    }
               ```  
               -  elif 条件:
                  -  代码块
               -  else:
                  -  代码块
         -  for 循环
               -  for 变量 in 列表 / 字典:
                  -  代码块
                 -  for 变量 in range(10):
                    -  代码块
                ```
                   for i in [1,2,3]:
                        print(i)
                ```     

python-deep-learning's People

Contributors

dannyzn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.