Python Real World Data Science [

作者: 四碗饭儿 | 来源:发表于2017-05-08 16:49 被阅读0次

此系列更新《Python Real World Data Science》的阅读摘记,每周六更新。

全书介绍Python在数据科学领域中的应用,分为四模块:

  • Python 基础
  • 数据分析
  • 数据挖掘
  • 机器学习

本文为系列第二篇,介绍python基础。

Module 1 Python Fundamentals

Chapter 2 Object-oriented Design

ObjectDataBehavior的集合

面向对象是复杂系统建模的一种方式,软件开发时遵循的某种风格。

OOA 或者 OOE(Object-Oriented Analysis/Exploration)

  • 分析问题,找出Object和它们之间的关系Interaction
  • What needs to be done
  • 系统需要满足的一系列要求

OOD (Object-Oriented Design)

  • 实现细节,对象命名,行为(类,接口)
  • how things should be done

OOP(Object-Oriented Programming)

  • 写代码

上述三个过程可能会互相混淆——迭代式开发

UML(Unified Modeling Language)

  • 沟通
  • 记录设计决定
  • Attributes
  • Behaviors
example of uml

Interface

  • 隐藏细节(抽象)
  • 封装接口:其它对象与之互动的唯一途径
  • try placing yourself in the object's shoes

Composition & Inheritance

  • 层次化的抽象

相关文章

网友评论

    本文标题:Python Real World Data Science [

    本文链接:https://www.haomeiwen.com/subject/ysomtxtx.html