Appendix for SVMha_{i}\alpha_{j}y^{(i)}y^{(j)}K_{ij}\\&=\quad\alpha_{1}+\alpha_{2}+\sum_{i=3}^{m}\alpha_{i}-\frac{1}{2}\sum_{i=1}^{2}\sum_{j=1}^{2}\alpha_{i}\alpha_{j}y^{(i)}y^{(j)}K_{ij}\\&\quad-\sum_{i=1}^{ }\alpha_{j}y^{(i)}y^{(j)}K_{ij}-\frac{1}{2}\sum_{i=3}^{m}\sum_{j=3}^{m}\alpha_{i}\alpha_{j}y^{(i)}y^{(j)}K_{ij}\end{align*} $$ Let $ V_{i}=\sum_{j=3}^{m}y^{(j)}\alpha_{j}K_{ij} $ , then $$ \begin \alpha_{2})\ =&\ \alpha_{1}+\alpha_{2}-\frac{1}{2}\alpha_{1}^{2}K_{11}-y^{(1)}y^{(2)}\alpha_{1}\alpha_{2}K_{12}\\&-\frac{1}{2}\alpha_{2}^{2}K_{22}-y^{(1)}\alpha_{1}V_{1}-y^{(2)}\alpha_{2}V_{2}+const1\end{aligned}0 码力 | 5 页 | 117.35 KB | 2 年前3
Experiment 6: K-Means# Experiment 6: K-Means November 27, 2018 ## 1 Description In this exercise, you will use K-means to compress an image by reducing the number of colors it contains. To begin, download data6.zip and RGB values of the 16 colors present in the image. In this exercise, you will use K-means to reduce the color count to k = 16. That is, you will compute 16 colors as the cluster centroids and replace each cluster centroids on a 538x538 image would be time-consuming on a desktop computer, you will instead run K-means on the $ 128 \times 128 $ image bird_small.tiff. Once you have computed the cluster centroids0 码力 | 3 页 | 605.46 KB | 2 年前3
Lecture 7: K-Means## Lecture 7: K-Means Feng Li Shandong University fli@sdu.edu.cn December 28, 2021 ## Outline  Clustering ![Image] /f/9/a9f935fc48c837d0fd22a39e993b2b8e/p2_2.jpg) K-Means Method  3 K-Means Optimization Problem  Kernel K-Means  Hierarchical Clustering ## Clustering • Usually0 码力 | 46 页 | 9.78 MB | 2 年前3
深度学习与PyTorch入门实战 - 18.1 激活函数梯度## PyTorch ## 激活函数及其梯度 主讲人:龙良曲 ## Activation Functions  PITTS WITH LETTVIN: Pitts with Jerome Lettvin and one subject0 码力 | 14 页 | 724.00 KB | 2 年前3
常见函数梯度## PyTorch ## 常见函数梯度 主讲人:龙良曲 ## Common Functions |Common Functions|Function|Derivative| |---|---|---| |Constant|c|0| |Line|x|1| ||ax|a| |Square|$ x^{2} $|2x| |Square Root|$ \\sqrt{x} $|$ (\\frac{1 w^{2}+b^{2} $$ $$ xe^{w}+e^{b} $$ $$ [y-(xw+b)]^{2} $$ $$ \mathbf{y}\log(x w+b) $$ ## 下一课时 什么是激活函数 ## Thank You0 码力 | 9 页 | 282.15 KB | 2 年前3
函数计算在双11小程序场景中的应用## 函数计算在双11小程序场景中的应用  吴天龙 阿里云函数计算技术专家  PPT ## 自我介绍 • 吴天龙(花名:木吴) · 阿里云函数计算技术专家 - 2013 年加入阿里云,参与分布式数据库,对象存储等产品的开发。现任阿里云函数计算架构师,聚焦于 Serverless 产品功能在大规模资源伸缩调度、性能优化等系统核心能力的研发。 ## 目录 ✿ 函数计算介绍 技术挑战 ✿ Demo ## 函数计算-介绍 - 通用Serverless计算平台 · 与云端事件源无缝集成 /7/1817bd4d19cae2c9c62d57f47d0f801d/p4_5.jpg) 石墨文档 | 文档实时协同办公-石墨文档 ## 函数计算-介绍 函数计算组件 CLI/SDK/Web Console 依赖的阿里云服务 创建/删除函数 请求调用 负载均衡 同步请求调用 异步请求调用 控制类操作 对象存储(代码)     Step2. 配置虚拟机网络 打开虚拟机的控制台: 设置主机名: hostnamectl set-hostname k8s-master 设置网络: cd /etc/sysconfig/network-scripts vi ifcfg-ens160 TYPE=Ethernet BOOTPROTO=static0 码力 | 54 页 | 1.23 MB | 2 年前3
C++高性能并行编程与优化 - 课件 - 08 CUDA 开启的 GPU 编程和代码:https://github.com/parallel101/course ## 前置条件 • 学过 C/C++ 语言编程。 - 理解 malloc/free 之类的概念。 • 熟悉 STL 中的容器、函数模板等。 • 英伟达 GTX900 及以上显卡。 • CUDA 11 及以上。 • CMake 3.18 及以上。  ## 编写一段在 GPU 上运行的代码 - 定义函数 kernel,前面加上 ___ global___ 修饰符,即可让他在 GPU 上执行。 - 不过调用 kernel 时,不能直接 kernel(),而是要用 kernel<<1, 1>>() 这样的三重尖括号语法。为什么?这里面的两个 1 有什么用?稍后会说明。 • 运行以后,就会在 GPU 上执行 printf 了。 - 这里的 kernel 函数在 GPU 上执行,称为核函数,用 ___ global___ 修饰的就是核函数。 0 码力 | 142 页 | 13.52 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













