pysal.viz.mapclassify.
Std_Mean
(y, multiples=[-2, -1, 1, 2])[源代码]¶标准差和平均图分类
参数: |
|
---|
实例
>>> import pysal.viz.mapclassify as mc
>>> cal = mc.load_example()
>>> st = mc.Std_Mean(cal)
>>> st.k
5
>>> st.bins
array([-967.36235382, -420.71712519, 672.57333208, 1219.21856072,
4111.45 ])
>>> st.counts
array([ 0, 0, 56, 1, 1])
>>>
>>> st3 = mc.Std_Mean(cal, multiples = [-3, -1.5, 1.5, 3])
>>> st3.bins
array([-1514.00758246, -694.03973951, 945.8959464 , 1765.86378936,
4111.45 ])
>>> st3.counts
array([ 0, 0, 57, 0, 1])
属性: |
|
---|
方法
__call__ \(*args,*kwargs) |
这将允许像调用函数一样调用分类器。 |
find_bin [(x)] |
根据当前仓位估计对输入或输入进行排序 |
get_adcm () |
班级中位数(adcm)周围的绝对偏差。 |
get_gadf () |
拟合绝对偏差的优度 |
get_tss () |
类均值的平方和 |
make \(*args,*kwargs) |
根据此函数指定的配置选项,配置并创建将使用数据并生成分类的分类器。 |
update \([Y,就地]) |
添加数据或更改分类参数。 |
方法
__init__ \(Y[,倍数]) |
初始化自身。 |
find_bin [(x)] |
根据当前仓位估计对输入或输入进行排序 |
get_adcm () |
班级中位数(adcm)周围的绝对偏差。 |
get_gadf () |
拟合绝对偏差的优度 |
get_tss () |
类均值的平方和 |
make \(*args,*kwargs) |
根据此函数指定的配置选项,配置并创建将使用数据并生成分类的分类器。 |
update \([Y,就地]) |
添加数据或更改分类参数。 |