File:Nonsmooth coordinate descent.svg
维基共享资源,媒体文件资料库
跳转到导航
跳转到搜索
此SVG文件的PNG预览的大小:600 × 600像素。 其他分辨率:240 × 240像素 | 480 × 480像素 | 768 × 768像素 | 1,024 × 1,024像素 | 2,048 × 2,048像素 | 900 × 900像素。
原始文件 (SVG文件,尺寸为900 × 900像素,文件大小:35 KB)
文件信息
结构化数据
说明
摘要[编辑]
描述Nonsmooth coordinate descent.svg |
English: Coordinate descent attempt in a nonsmooth function. Note that moving in any of the two coordinates will increase the value of the objective functions. |
日期 | |
来源 |
自己的作品 本W3C状态不明的矢量图使用Matplotlib创作. |
作者 | Nicoguaro |
Creation[编辑]
This file was created with Python, SciPy and Matplotlib.
from __future__ import division
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import rcParams
rcParams['font.family'] = 'serif'
rcParams['font.size'] = 16
def fun(x, y):
return np.abs(y + x) + 3*np.abs(y - x)
X, Y = np.mgrid[-3:3:301j, -3:3:301j]
Z = fun(X, Y)
plt.figure(figsize=(10, 10))
levels = range(1,7)
CS = plt.contour(X, Y, Z, levels=levels, colors='k')
plt.clabel(CS)
plt.arrow(-2, -2, 0.5, 0, fc='r', ec='r', length_includes_head=True)
plt.arrow(-2, -2, 0, 0.5, fc='r', ec='r', length_includes_head=True)
plt.axis('image')
plt.xlabel(r'$x$', size=18)
plt.ylabel(r'$y$', size=18)
plt.title(r'$f(x,y) = |x + y| + 3|y -x|$')
plt.savefig('nonsmooth coordinate descent.svg')
plt.show()
许可协议[编辑]
文件历史
点击某个日期/时间查看对应时刻的文件。
日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
---|---|---|---|---|---|
当前 | 2016年1月10日 (日) 00:16 | 900 × 900(35 KB) | Nicoguaro(留言 | 贡献) | User created page with UploadWizard |
您不可以覆盖此文件。
文件用途
以下页面使用本文件:
全域文件用途
以下其他wiki使用此文件:
- en.wikipedia.org上的用途
- ru.wikipedia.org上的用途
- uk.wikipedia.org上的用途
- zh.wikipedia.org上的用途
元数据
此文件中包含有额外的信息。这些信息可能是由数码相机或扫描仪在创建或数字化过程中所添加。
如果文件已从其原始状态修改,某些细节可能无法完全反映修改后的文件。
宽度 | 720pt |
---|---|
高度 | 720pt |