Skip to content

Instantly share code, notes, and snippets.

View sicongzhao's full-sized avatar

Sicong Zhao sicongzhao

View GitHub Profile
@sicongzhao
sicongzhao / calculate-intrinsic-value.ipynb
Created January 16, 2020 18:59
Calculate-Intrinsic-Value.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sicongzhao
sicongzhao / calculating-stock-metrics.ipynb
Created January 15, 2020 17:09
Calculating-Stock-Metrics.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Metric Index Name
Shares Outstanding 'Shares Mil'
EPS 'Earnings Per Share USD'
Dividend Rate 'Dividends USD'
Dividend Yield 'Payout Ratio % *'
Debt/Equity Ratio 'Debt/Equity'
Book Value Per Share 'Book Value Per Share * USD'
ROE 'Return on Equity %'
Current Ratio 'Current Ratio'
@sicongzhao
sicongzhao / data-science-for-undergrads.md
Last active June 4, 2019 20:05
Data Science Tutorial for Undergrads

Data Science for Undergrads

在存储提升,计算速度提升的今天,各行各业都开始注重数据的价值。科技公司如Google,Facebook,Amazon,Airbnb,Uber都组建了数据团队,探索如何利用数据来提升业务效率、优化产品体验、提升营收。数据越来越重要,而且基于其“工具”属性,科学的数据分析方法可以方便地应用到不同行业、不同岗位的日常工作决策中。无论你对自己有怎样的职业规划,学习数据分析都会帮助你做出更正确的决策,帮助你提升职业发展的上限。

那么,如何才能学好数据分析?答案很简单,通过恰当的训练人人都可以掌握数据分析的能力,并且应用在工作、生活中。

本教程的宗旨是为读者提供零基础的Data Science入门教程,通过本教程掌握基本的数据分析方法。帮助读者建立一套完整的数据分析能力,从拿到数据如何下手,到如何建立模型、建立什么样的模型,再到如何与实际工作中的项目结合。

本教程分为三部分:1.Exploratory Data Analysis(数据探索)2.Modeling & Analysis(数据建模&分析) 3.Application & Case Analysis(真实案例分析)。

变电站场景需求调研

1.传统巡视方式

  • 工作人员步行至成百上千的设备检测点前,进行数据记录。全部完成后返回监控室,整理报表上传至数据中心。每天例行巡检至少2次,每次至少2h(因变电站的面积不同而不同)。高温大负荷时,会增加巡检次数。在特殊天气情况下,会进行特殊巡检。
  • 另外,每隔半个月对站内设备进行一次红外测温检测,巡检人员通过手持红外摄像仪对设备进行检测,将检测结果进行手工记录。(红外测温:利用红外探测技术获取设备红外辐射状态的热信息,然后转换成温度进行显示的技术)

检测内容

  • 变压器巡视
  • 开关电器巡视
  • 电流、电压互感器巡视
  • 母线巡视

消防场景需求调研

“救人第一,先控制、后消灭”,调研主要集中在前期探测部分。

规划安全路线 > 降低救援消耗 > 语音影像传输 > 其他

1.绘制火场地图

  • 消防员抵达火场,将机器人放入火场,机器人快速构建火场3D模型,找到受困人员、火源、通路,方便消防员开展灭火与救援。
@sicongzhao
sicongzhao / issues-to-be-solved-in-codeCampus.md
Last active July 23, 2016 16:34
issues-to-be-solved-in-codeCampus

Requirement to evaluate javascript code

  • variables initializatoin
  • regex: operator, escape sequence, space, bracket notation
  • variables' type & value
  • function call
  • get the error message
    try {
        eval(code); 
 } catch (e) {
@sicongzhao
sicongzhao / javascript-notes.md
Last active July 24, 2016 16:51
javascript-notes

eval()

The eval() function evaluates or executes an argument.

If the argument is an expression, eval() evaluates the expression. If the argument is one or more JavaScript statements, eval() executes the statements.

spread operator

...

The spread operator allows an expression to be expanded in places where multiple arguments (for function calls) or multiple elements (for array literals) or multiple variables (for destructuring assignment) are expected.