HW1 Fall 24R

TI TM4C1294 LaunchPad开发板:从硬件解析到以太网、PWM、USB驱动实战 微控制器(MCU)作为嵌入式系统的核心,其外设集成度与开发友好性直接影响产品开发效率。ARM Cortex-M4内核凭借其高性能与低功耗特性,成为复杂物联网节点和实时控制应用的理想选择。其技术价值在于通过高度集成的外设(如以太网MAC+PHY、高级PWM模块)和成熟的软件生态,显著降低硬件设计复杂度和BOM成本。在工业自动化、物联网网关等应用场景中,具备网络连接和精确运动控制能力的MCU至关重要。本文以德州仪器(TI)的Tiva C系列TM4C1294 Connected LaunchPad评估板为例,深入 阅读详情

Java Python HW1

1. The file Crash.xls contains daily returns on the Dow Jones Industrial Average for 47 consecutive trading days in 1990.

A) Make a time series plot of the returns, and describe any patterns you see.

B) Note that the 24’th observation corresponds to a 7.15% drop. (Let’s call it a “crash”). Calculate the Z-Score for this observation, that is, calculate how many standard deviations the observation is from the mean.

C) From the time series plot in A), do you notice anything interesting about the return for the day immediately following the crash? Calculate the Z-score for this observation.

D) Construct a Box-Plot of the returns? Do you detect any outliers?

E) The variable “Pre-Post” is an indicator variable which is 1 for returns before the crash, and 2 for returns on or after the day of the crash. Construct a side-by-side boxplot for these two sets of returns. What conclusion do you draw about the volatility of returns following a crash? Explain how you can see this same pattern in the time series plot.

2. The file EPSReturn.xls contains data on the stock returns and earnings per share (EPS) for 52 major companies. The EPS values for the companies are those announced in December 1997, while the stock returns are calculated for January 1998. Make a scatterplot of the returns versus the EPS values. (So, Y=Return, X=EPS). Does the plot suggest any relationship between the two variables? What relationship would you have expected? Which company had the highest value of EPS? Was the return for this company large as well?

3. The file DraftLottery.xls contains data on the 1970 Draft Lottery, carried out by the United States Selective Service to determine who would be drafted that year for military service in Vietnam. The lottery applied to all eligible men aged 19 to 26 on January 1, 1970, and represented an attempt on the part of the US government to expose these men fairly to the risk of being drafted. A total of 366 capsules, one for each day of the year, were placed in a vat. First, the January capsules were placed in the vat, then the ones for February, etc., with the ones for December going in last. The vat was then mixed (by turning it around for several minutes), and the capsules were then drawn out, one by one. The first date drawn (September 14’th) was assigned rank 1, the second date drawn (April 24’th) was assigned rank 2, and so on. Those eligible for the draft who were born on September 14’th were called first, followed by those born on April 24’th, and so on. The first column of the dataset contains the day of the year (1-366), the second column contains the rank for that day obtained in the lottery, and the third column contains the month for the given date. So, for example, the first day of the year (Jan 1) received rank 305, and occurred in the first month.

A) Make a scatterplot of Rank (the Y variable) versus DayofYr (the X variable). Does this plot show any obvious patterns?

B) Construct side-by-side boxplots of Rank versus Month. Describe any patterns you see. Which month seems to be systematically receiving the lowest rankings (and therefore the largest chance of being drafted)? Try to explain this phenomenon in terms of the description given above of the way the lottery was carried out.

C) On January 4th, 1970, The New York Times ran an a HW1 Fall 24R rticle, “Statisticians Charge Draft Lottery Was Not Random.” Do you think the lottery was random? Explain.

4. The file NormTemp.xls contains data on body temperatures for 130 randomly selected subjects. The first column (Temp) contains the temperatures themselves. For each subject, this temperature, in degrees Fahrenheit, represents an average of several readings taken over the course of two consecutive days. The second column (Gender) is 1 for male, 2 for female, and the third column (HeartRate) is measured in beats per minute. Here, we focus on Temp.

A) Make a histogram of Temp. Does the data seem to have a reasonably bell- shaped distribution? Do you see any outliers?

B) What do you think the population mean is for body temperatures? (Presumably, you’ve been hearing this number since you were very young! If you were raised on Celsius, convert to Fahrenheit using F=9/5*C+32.)

C) Based on the histogram, does the sample mean seem to be reasonably close to the “known” population mean? You don’t actually need to calculate the sample mean for this problem, just look at the histogram. (Hint: If a distribution is symmetrical, then the mean is the center of symmetry).

D) Use Descriptive Statistics to calculate the sample mean. What is the value of the sample mean? Is it reasonably close to the “known” population mean?

E) Based on the Descriptive Statistics output, give numerical values for the median, range and interquartile range. Do these numbers suggest symmetry or skewness of the distribution of temperatures?

5. The file Copies.xls contains data on the number of copies made on self- service copying machines at a copy center, each day for 44 days.

A) Make a boxplot of the number of copies, and identify any outlier values. On which days did these outliers occur?

B) Using Descriptive Statistics, find the mean and standard deviation of the number of copies.

C) Delete the outlier values, by clicking in the cells corresponding to the outliers and using the backspace key (NOT the delete key!). Recompute the mean and standard deviation. Which number changes more?

6. A random sample of 100 prices of three-bedroom houses in a particular city that were recently sold has a sample mean and a sample standard deviation of $525k and $25k respectively.

A) According to the Empirical Rule, within what price range would you expect 68% of the homes to fall?

B) According to the Empirical Rule, within what price range would you expect 95% of the homes to fall?

C) According to the Empirical Rule, within what price range would you expect 99% of the homes to fall?

7. During World War II, many economists, mathematicians and statisticians were members of Columbia University’s Statistics Research Group, which did high level consulting work for the armed forces. As part of this group’s work, statistician Abraham Wald was asked where to place armor on planes. It seemed obvious to the aircraft engineers that armor was needed at the place most frequently hit as found in a large sample of battle proven airplanes. After studying the bullet holes of a sample of returning planes, Wald’s conclusion was to place armor where bullet holes were least frequently found in these planes         

3天干完6个月的活,Claude把模型搬上AMD 一条挺刺激的消息:Anthropic 给投资人的材料里有一张幻灯片,写着它的 Claude Mythos Preview 只花了大约​,就摸清了怎么让另一个 Claude 模型在 AMD 的 MI355X 上跑起来。同一处还写了个对照数字:过去给一块新芯片做推理适配,通常要几十名工程师、​。3 天对 6 个月,这个比值太扎眼,当天中文互联网上就冒出一堆「英伟达的护城河塌了」的说法。我把能翻到的材料都翻了一遍,越看越觉得,塌掉的那一小块是真的,可塌的位置和很多人想的不一样。 阅读详情

相关推荐

【信息科学与工程学】【数据中心】第三十五篇 云计算数据中心的学科知识04

编号学科(课程)核心知识点在云计算/云存储/云网络/云安全/云MaaS中的作用代表教材/资料/论文 + 数学方程式列表工业界应用D1421​云原生数据库:TiDB​HTAP(混合事务/分析处理)、分布式SQL、水平扩展、强一致(Raft)、自动故障恢复、与MySQL兼容、TiFlash列式引擎提供弹性扩展的分布式数据库;支撑高并发在线交易与实时分析教材:《TiDB in Action》PingCAP(2020) 论文:《TiDB: A Raft-based HTAP Database》(2017)

weixin_49199313的博客 418

Data Structures, Fall 2007

Data Structures, Fall 2007 ���Ƶ��cCourse InformationInstructorIris Hui-Ru Jiang (hrjiang@faculty.nctu.edu.tw) ext. 31211, ED540 Lecture TimeMondays B, Thursdays EF@EC016(from

乐吾天 4872

如何处理动态语言(Python / JS)的“隐形”调用链?

本文揭示动态语言(Python/JS)中静态AST解析导致调用链“断链”的核心问题,提出通过运行时追踪补全图谱的解决方案。基于Code-Graph-RAG的cgr trace机制,分别利用pytest插件与V8 Profiler捕获真实调用路径,将动态边合并至静态图谱,并在权重体系中提升动态边优先级。实践表明,该方法可显著提升图谱覆盖率,实现“结构+行为”双视角理解代码,为MCP与Rerank系统提供可靠支持。

xianyinsuifeng的博客 425

TM4C123x ROM API实战:NVIC、MPU与PWM模块深度解析与应用

在嵌入式系统开发中,中断管理和内存保护是保障系统实时性与稳定性的核心技术。中断控制器(NVIC)通过向量化和优先级机制,高效响应外部事件,其尾链技术能有效降低中断延迟。内存保护单元(MPU)则通过定义内存区域的访问权限,防止非法操作,提升系统鲁棒性。这些底层硬件功能常被芯片厂商封装为驱动库,以简化开发。以TI Tiva C系列微控制器为例,其固化在ROM中的驱动库(ROM API)将复杂的寄存器操作抽象为直观函数,显著提升开发效率与代码可靠性。本文聚焦于ROM API在NVIC中断配置、MPU内存保护策略以

weixin_33979203的博客 375

长鑫存储面试真题解析:DRAM工程师的工程直觉与产线思维

DRAM作为现代计算系统的底层存储基石,其性能与可靠性高度依赖半导体物理基础、工艺窗口控制和电路-系统协同设计。理解电荷保持机制、位线电容耦合效应、信号完整性约束等核心原理,是突破传统数字IC思维、构建真实产线语感的关键。在晶圆厂级工程实践中,TEM缺陷识别、BIST空间聚类分析、Retention失效定位等能力,直接关联良率爬坡与客户系统稳定性。本文聚焦长鑫存储一线技术面试中高频出现的工艺-电路-测试三维问题,融合‘电荷保持’‘信号完整性’等热词,还原DRAM工程师必备的系统性建模能力与闭环验证思维,覆盖

weixin_34293246的博客 338

5分钟搞定Google Custom Search API申请:从注册到获取CX Key全流程

本文详细介绍了如何快速申请和配置Google Custom Search API,从Google Cloud项目创建、启用计费、获取API Key,到在Programmable Search Engine控制台创建自定义搜索引擎并获取关键的CX Key,提供了全流程实战指南。文章还包含安全配置建议、API调用测试方法及前端与后端的集成代码示例,帮助开发者高效实现网站或应用的智能搜索功能。

weixin_29227585的博客 1685

基于RK3568打包TPL,SPL,UBoot镜像并运行:实战角度

结合正点原子RK3568开发板理解TPL,SPL,UBoot启动运行流程

weixin_43390831的博客 314

【浅读论文-红外和可见光图像融合-CNN】Infrared and Visible Image Fusion using a Deep Learning Framework

1.这篇是2018年ICPR会议上发表的一篇文章1。博主个人觉得这算比较早期在VIF(红外光和可见光图像融合)中加入了深度学习这一模型的论文。2.这篇文章并不是完全使用深度学习的模型,模型主体在图像分解和融合仍然采用传统的方法,只有其中一个分支在特征提取和重建方面用到了VGG网络。3.论文地址4.代码地址本文提出了基于深度学习框架的一种新算法。本文提出使用下述论文中Image fusion with guided filtering2中的分解方法将源图像分解为基本部分和细节内容。

一枚博鼠的博客 1710

本地化部署 DeepSeek,构建单细胞与空间转录组 AI 分析平台

本地化部署 DeepSeek,构建单细胞与空间转录组 AI 分析平台

weixin_53637133的博客 187

比亚迪唐/秦开发者必看:253个车辆接口实战指南(附常用功能调用示例)

本文为比亚迪唐/秦开发者提供了一份详尽的车辆接口实战指南。文章聚焦于比亚迪开放的253个车辆接口,从开发环境搭建、核心状态监控到高频控制功能(如空调与充电管理),结合真实代码示例,帮助开发者快速上手并规避常见问题,高效开发车载应用。

weixin_28327051的博客 616

esim分布式云卡池技术

eSIM卡,即Embedded-SIM,嵌入式SIM卡。eSIM卡的概念就是将传统SIM卡直接嵌入到设备芯片上,而不是作为独立的可移除零部件加入设备中,用户无需插入物理SIM卡。这一做法将允许用户更加灵活的选择运营商套餐,或者在无需解锁设备、购买新设备的前提下随时更换运营商。未来通用的eSIM标准建立将为普通消费者、企业用户节省更多移动设备使用成本,并带来更多的便利、安全性。 2018年 3月7日,中国联通宣布,正式在上海、天津、广州、深圳、郑州、长沙6座城市率先启动“eSIM一号双终端”业务的办理。[.

著名博客 3710

【第 009 讲】全面掌握 Python 注释:注释的定义与作用 | 单行注释 | 三引号与多行注释 | 注释使用的最佳实践

本文系统讲解 Python 注释的完整知识体系:从注释的定义与作用讲起,梳理单行注释的书写位置、临时屏蔽用法与 PEP 8 排版规范,剖析注释被忽略的底层机制;进而说明三引号字符串的本质与嵌套问题;最后给出注释使用的三条实践原则,帮助读者写好可读性高的注释。

大模型全栈工程师 · Thanks_ks 1176

【银行测试】手机银行APP专项项目+测试点汇总(一)

1、手机银行APP转账项目讲解面试官:请介绍一下你所负责的模块如何进行的测试?求职者:好的,我最近测试的是XX银行的手机银行App项目。这个项目里面包含了转账、转账额度调整、网银转账、交易明细、添加账户、存款、投资理财、生活缴费等功能模块。我主要负责了转账模块,这个大模块中包含了智能转账、手机转账、语音转账、预约转账、收款人管理等5个子模块,我首先介绍一下我们生活中使用最多的手机转账子模块。对于转账需要关注的是转账前、转账中、转账后这三个状态下的测试。

m0_70102063的博客 1608

AI全栈实战 | 3.9-01 爬虫入门:requests 加 BeautifulSoup 三分钟跑通,但 90% 的人栽在这 4 个“礼貌“问题上

⚠️:本文内容仅用于。请遵守目标站点的服务条款与相关法律法规,不得对目标服务造成负担,不得采集、传播个人隐私数据。技术是中性的,边界在你手里。爬虫的入门技术(requests 发请求 + BeautifulSoup 解析)三分钟就能学会。真正区分"会用爬虫"和"会做爬虫的人"的,是这篇我们跑通"请求→解析→存储"的最小闭环,然后重点把"合规与礼貌"这根弦给你绷上。

源码获取 | 运行部署 | 定制二开修改,如果回复不及时请耐心等待,请见谅。 442

【人工智能之深度学习】15. 工业时序预测实战:LSTM与TCN融合的装备故障预警系统设计与实现

摘要:工业装备故障预警是智能制造领域的核心技术之一,其通过分析传感器时序数据实现故障提前预测,可显著降低运维成本并提升设备可靠性。本文针对工业时序数据多源异构、非平稳性、噪声干扰及样本不平衡等挑战,提出一种LSTM与TCN融合的故障预警架构——利用TCN捕捉局部时序特征,结合注意力增强LSTM建模长期依赖关系,通过门控机制实现特征自适应融合。以3MW风电齿轮箱为研究对象,设计包含数据预处理、特征工程、模型训练及部署的完整流程,实验结果表明,该融合模型准确率达94.6%,故障预测提前量较单一模型提升30%以上

专注于人工智能、软件开发、工控自动化、工厂数字化及智能化等领域,希望和大家共同进步! 1445

微信小程序、H5微信公众号网页JSAPI:解决报错requestMerchantTransfer:fail:internal error(使用wx.requestMerchantTransfer错误)

如何解决requestMerchantTransfer:fail:internal error,微信小程序wx.requestMerchantTransfer报错,微信公众号H5网页使用jssdk调用wx.requestMerchantTransfer报错,JSAPI调起用户确认收款报错errMsg:“requestMerchantTransfer:fail:internal error“,微信小程序/H5 调起确认收款界面,JSAPI调起用户确认收款,微信公众号(H5),用户发起提现,商家转账给用户,用户

✅ 精选推荐文章 4977

Python 的 yield from 到底转发了什么:拆开 send、throw 和那个 return 值

很多人把yield from记成「省一层 for 循环的语法糖」。写和写,结果看着一样,于是就当它只是少敲几个字。这个理解会在三个地方翻车:调用方.send()的值送不进去、子生成器return的值拿不到、异常和close()传不下去。yield from真正做的事是,外层生成器退成一个透明通道。本文所有输出来自本机 CPython 3.13.14 实测。yield from不是循环,是委托——nextsendthrowclose四个方向的流量全部直通子生成器,并且子生成器return。

小小张说故事的博客 163

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

从一段视频到可漫游的 4D 有声场景:思路拆解与最小复现手记

只需一段手机视频,你就能生成可"走进去"的 4D 有声场景:转头时狗叫声方向随之变化,走近时声音更清晰。本文拆解 Video-to-4DAVScene 的核心思路,手把手带你用几十行 Python 搭出最小管线,把视频中的运动物体变成带空间位置的声源,并附上三个真实踩坑的排障经验,代码可直接跑。🎧

helloagent的博客 246

廖雪峰Python教程[完整版]

廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

【每天一个 Python 小案例30】Python 基础知识综合小项目:我的工具盒

作为系列收官,本篇把前 29 篇的知识点合成一个能直接用的命令行工具"我的工具盒":计算器(用 ast 解析表达式,不碰 eval)、单位换算与温度转换(一张换算表 + 特例分支)、记账与分类统计(Decimal + JSON 持久化)、以及用"字典当命令表"把菜单和业务逻辑解耦的主循环。文中对比了 eval 的安全隐患与 ast 白名单的做法,解释了 lambda 闭包在字典里的写法与晚绑定陷阱,并在最后给出整个系列的知识地图,把变量、数据结构、控制流、函数、类、异常、文件、标准库八块内容对应到具体篇目。

xinjiyaya的博客 432

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

双路径优化+双容差校准

默认使用向量化路径处理常规数据,当检测到内存非连续或需要极致短路性能时,自动切换至 Numba JIT 路径。“当 CI 宽度中位数为 $W$ 时,实际判定容差为 $10^{-12} + 10^{-9} \times W$"针对表征谱算子 2 的实际输出量纲(例如 $10^{-3}$ 至 $10^3$),调整。准确标记了哪些数组被复制。非短路、静默拷贝风险、量纲耦合容差),本方案重构了核心逻辑。,并完善审计元数据以记录内存拷贝状态。, 确保在不同量纲下判定标准的一致性。,否则需排查上游数据生成逻辑。

2301_77211362的博客 202

yolo 和 deft 算法的区别

你应该是打错了:是,不是 defrat;

曾大强博客 275

蓝桥杯·全国青少年信息素养大赛·电子学会Python/C++考级 备考:莫队算法离线区间查询详解

备赛进行时:第十八届蓝桥杯软件赛报名已于 2026-10-08 10:00 开启、12-18 14:00 截止,省赛定在 2027-04-10(C/C++·Python 程序设计 9:00–13:00);中国电子学会 2026 年 12 月软件编程(C/C++ 一级至十级、Python 一级至六级)考级报名 9/23–12/2 16:00、统考 12-12;全国青少年信息素养大赛 2026—2027 赛季算法应用主题赛也已进入复盘练兵窗口。

IT_Scratch的博客 184

两张表合并之后,行数悄悄多了一倍

pandas merge 行数异常膨胀源于右表键不唯一,导致数据静默复制。实测显示,未聚合的右表(756行)与左表合并后行数增至504行,合计膨胀3.5倍,但无报错。validate 参数仅在检查键唯一性时有效,one_to_one 和 many_to_one 可拦截问题,但需结合 duplicated() 前置检查。正确做法为先按键聚合右表,再合并,避免重复。建议合并前后核对行数、合计,并使用 indicator=True 排查匹配情况,确保数据一致性。

patrickstar231的博客 252

我用 200 行代码写了个“代码屎山检测器“,扫完公司的老项目后我沉默了

这个工具不能帮你把屎山铲平,但至少能让你知道自己面对的是多大的山,也能在代码评审时用数据说话——“这个 PR 把圈复杂度从 12 推到了 18,能不能拆一下?毕竟,不能量化的东西,就没法改进。

xixiaoyunya的博客 277

智慧农业实战:育秧车间秧盘计数与苗情分级的Python实现

首先,建立统一的数据结构,保存每盘秧苗的编号、批次、覆盖度、叶色得分和播种天数。A = "壮苗"B = "合格苗"C = "弱苗"@dataclassdays: int。

荆棘鸟智能的博客 138
上一篇: Lineare Algebra II Ubungsblatt 8C/C++
下一篇: ARTFF027 Critical Thinking and Study Skills Autumn 2024/25C/C++
wx___codinghelp
博客等级 码龄2年 807粉丝 101原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值