Programming Computer Vision with Python (学习笔记三)
原书对于PCA的讲解只有一小节,一笔带过的感觉,但我发现PCA是一个很重要的基础知识点,在机器机视觉、人脸识别以及一些高级图像处理技术时都被经常用到,所以本人自行对PCA进行了更深入的学习。
泊松自助法(Poisson Bootstrap Sampling):大型数据集上的自助抽样
自助抽样可以根据收集的样本推断总体的统计特征(如均值、十分位数、置信区间)。泊松自助抽样(Poisson Bootstrap Sampling)是一种用于统计分析中的重采样技术,特别是在机器学习和数据科学中用于模型评估和误差估计。这种方法的一个特点是保留了样本中数据点出现的自然波动,而不是像传统的自助法那样平均采样,因此在...
2024-08-21
Hyperf 2.2 版发布!| 企业级的渐进式 PHP 协程框架
首先感谢所有 Hyperf 的支持者,从发布至今两年的时间里,我们坚持每周发布一个小版本,截止至今已经发布了超过 106 个版本,这是 Hyperf 团队传达对用户坚持和负责任精神最直接的一种方式,我们用行动来说明一切,往后我们仍将一如既往地继续保持 Hyperf 的迭代与维护。
正则学习笔记
<font color=red>注意:</font>不同的环境语系会导致不同选取结果,这里以LANG=C为例子。常用特殊符号:
2019-01-17
《Operating System Concepts》阅读笔记:p552-p579
UNIX open-file pointer, created and returned to a process when it opens a file.
2025-04-04
How do I fix Passenger application startup problem
Recent days I was working on deploying one of my Rails project on a complete new VPS. I had operated according to my experience for deploying sites before, but at the last step, after I have deployed the site, it always raised error message "An error occurred while starting up the preloader: it d...
2015-01-10
Writing Functions with Same Name and Different Parameters
I've been wondering how to write functions and methods with the same name but different parameters, as if we had "overloaded" them. According to wiki, this is called multiple dispatching because in Python it happens in run time but not compile time.
2021-09-28
SAP CRM系统里的附件存储逻辑
System AG3/001, Product: ZJERRYTEST1124, upload one text attachment with 58 bytes.
2020-02-27
Laravel Guzzle 使用踩雷及指南
今天在使用Guzzle时遇到了几个问题,在这里记录一下。1.报错HttpFoundationFactory not found {代码...} 遇到这个问题是因为Guzzle的使用是需要依赖这个包的,但是我们没有,解决方法非常直接: {代码...} 如果之前没有使用镜像,那么问题就直接解决了,但是如果使用过镜像那就出现了第二个问题2.添加依赖包时报错Could ...
2021-02-23
STA457 数值分析
STA457 Time Series Analysis Assignment 1 (Winter 2019)Jen-Wen Lin, PhD, CFADate: February 07, 2019Please check in Quercus regularly for the update of the assignment.Background reading:
2021-10-05
《Operating System Concepts》阅读笔记:p764-p766
In caching, a policy whereby writes are not cached but are written through the cache to the master copy of the data.
2025-04-22
拓端tecdat|R语言时变波动率和ARCH,GARCH,GARCH-in-mean模型分析股市收益率时间序列
ARCH模型假设时间序列模型中误差项的条件均值是常数(零),与我们迄今为止讨论的非平稳序列不同),但其条件方差不是。这样一个模型可以用公式1、2和3来描述。
2021-07-27
R语言神经网络量化交易模型
上篇是逻辑回归模型,这次我们用神经网络模型。再算一遍,试试看 {代码...} {代码...} 感谢阅读,欢迎关注和留言量化投资与期货外汇散仙,基金保险水平也拿的出手
2020-02-10
Spark ML机器学习库评估指标示例
本文主要对 Spark ML库下模型评估指标的讲解,以下代码均以Jupyter Notebook进行讲解,Spark版本为2.4.5。模型评估指标位于包org.apache.spark.ml.evaluation下。
2020-03-03
基于深度残差收缩网络的故障诊断(总结)
论文题目:Deep residual shrinkage networks for fault diagnosis题目翻译:基于深度残差收缩网络的故障诊断期刊:IEEE Transactions on Industrial Informatics面向问题:强噪声(或冗余特征较多)的情况创新:①在深度残差网络中引入软阈值函数,②自动设置阈值本质:在深度残差网络内,通过注意力机制,实现特征的软阈...
2020-02-04
opencv python 图像二值化/简单阈值化/大津阈值法
cv2.threshold第一个参数是源图像,它应该是灰度图像. 第二个参数是用于对像素值进行分类的阈值, 第三个参数是maxVal,它表示如果像素值大于(有时小于)阈值则要给出的值. OpenCV提供不同类型的阈值,它由函数的第四个参数决定. 不同的类型是:
2018-07-16
MATH 523线性模型
Generalized Linear Models MATH 523McGill University, Winter Term 2022Assignment 2 due on February 16 at noon.Q1 Lecture 5aConsider a Poisson GLM with the log link and linear predictor of the formηi = β1 + β2ai, i ∈ {1, . . . n},where ai is the value of a factor predictor with two levels, such tha...