Jan 5, 2024
第一章:提供推荐 # 欧几里得距离 # 欧氏距离是平方和的开方,欧氏距离越小,则两个向量的相似度越大。 $$d = \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2}$$ 对于两个 n 维向量 $\mathbf{A} = (a_1, a_2, …, a_n)$ 和 $\mathbf{B} = (b_1, b_2, …, b_n)$,它们之间的欧氏距离 $d$ 可以表示为: $$d(\mathbf{A}, \mathbf{B})
...
Jan 5, 2024
周志华老师亲讲-西瓜书《机器学习》 手推笔记 https://github.com/Sophia-11/Machine-Learning-Notes 基础概念 # 真相(Ground Truth):在机器学习和数据科学中,“真相"指的是实际情况或数据的真实状态。这通常是指标准答案或一个已知
...
Jan 4, 2024
向量(vector) # 行向量 列向量 转置符号 T 支持四则运算方法 标量 # 标量(scalar)指没有方向的量,和向量相区别。 特征向量 #
Jan 3, 2024
基础概念 # 符号大全 # 符号 含义 Ω 全集 ⏀ 空集 平均数 # 平均数(Mean),也常被称为算术平均值,是最常用的集中趋势的度量。 样本平均数,当我们计算一个样本的平均数时,公式为: $$ \bar{x} = \frac{\sum_{i=1}^{n} x_i}{n} $$ 其中,$\bar{x}
...
Jan 2, 2024
参考资料 # 数学乐 概览 # 导数 # 导数入门 https://shuxuele.com/calculus/derivatives-introduction.html 微分 # 积分 #
Dec 31, 2023
播放配乐 Blowing in the Wind - Bob Dylan,阅读效果更佳。 2023 这一年,工作上相当生活,生活上相当工作。 生活 # 因为生活上相当工作,所以我觉得还是先说生活,琐事我断断续续记录在了周报里,这里就不再重复,只说重点。 阅读 #
...
Oct 16, 2023
Spark 是内存密集型的分布式大数据计算引擎。Apache Spark™ is a multi-language engine for executing data engineering, data science, and machine learning on single-node machines or clusters1. Spark 生态圈以 Spark Core 为核心,支持从 HDFS、Amazon S3、HBase、ElasticSearch、Mon
...
Apr 10, 2023
Matplotlib # https://matplotlib.org/ 基本概念 # import matplotlib.pyplot as plt fig, ax = plt.subplots() # Create a figure containing a single axes. ax.plot([1, 2, 3, 4], [1, 4, 2, 3]); # Plot some data on the axes. plt.plot(x, y) 用绘制图形,plt.show() 用于显示图形,但是在 Jupyter 中,即使没有 show() 也会显示出来。 二维数据 # pcolor 三维图形 # surface Seaborn # https://github.com/mwaskom/seaborn Seaborn 是一
...
Apr 8, 2023
Command Line Applications in Rust Rustup # Rustup: the Rust installer and version management tool 通过 Rustup 安装 Rust 并管理不同版本。 Cargo # The Cargo Book the Rust build tool and package manager When you install Rustup you’ll also get the latest stable version of the Rust build tool and package manager, also known as Cargo. Cargo does lots of things: build your project with cargo build run your project with cargo run test your project with cargo test build documentation for your project with cargo doc
...
Apr 8, 2023
Rust 是一门注重安全(safety)、速度(speed)和并发(concurrency)的现代系统编程语言。Rust 通过内存安全来实现以上目标,但不使用垃圾回收机制(garbage collection, GC)。 Rust 某种程度上被
...