(c)当你使用sparse 按字面的创建一个新类型来做类型检查的时候。 (c) when you use sparse to literally create a new type for type-checking. Sparse 默认使用一个矩阵而不是一个numpy.ndarray。Sparse matrix by default instead of a numpy. ndarray.有关如何使用Sparse PCA的更多详细信息,请参阅下面的示例部分。 For more details on how to use Sparse PCA, see the Examples section, below. 任何其他稀疏输入将转换为CompressedSparse Rows表示。 Any other sparse input will be converted to the Compressed Sparse Rows representation.
然而,要使用支持向量机来对sparse 数据作预测,它必须已经拟合这样的数据。 However, to use an SVM to make predictions for sparse data, it must have been fit on such data. Sparse 矩阵作为输入,只要with_mean=False显试的传递给了构造函数。Sparse matrices as input, as long as with_mean=False is explicitly passed to the constructor. FeatureHasher的输出始终是CSR格式的scipy.sparse 矩阵。 The output from FeatureHasher is always a scipy. sparse matrix in the CSR format. Sparse 作为输入,只要参数with_mean=False被准确传入它的构造器。Sparse matrices as input, as long as with_centering=False is explicitly passed to the constructor.数据矩阵可以没有零个条目,但是在这个数据矩阵中,结构仍然可以是“sparse ”sense)。 The data matrix may have no zero entries, but the structure can still be“sparse ” in this sense. Sparse 作为输入,只要参数with_mean=False被显式的传入它的构造器。Sparse matrices as input, as long as with_centering=False is explicitly passed to the constructor.这些系统上的可行替代方案是使用rsync的--sparse 选项代替cp。 A partially viable alternative on those systems is to use rsync with its own--sparse option instead of cp. 但是,一旦定义了ColumnSet列,新添加的Sparse 列会被自动地添加到ColumnSet列中。 Though once created, newly added sparse columns will be automatically added to the column set. 然而,为了最大化效率应该使用CSR矩阵格式,定义在scipy.sparse .csr_matrix. For maximum efficiency, however, use the CSR matrix format as defined in scipy. sparse . csr_matrix. 但是,为了获得最高的效率,请使用scipy.sparse .csr_matrix中定义的CSR矩阵格式。 For maximum efficiency, however, use the CSR matrix format as defined in scipy. sparse . csr_matrix. 因而(由于scipy.sparse 的限制),支持feature的最大数目为:. As a result(and because of limitations in scipy. sparse ), the maximum number of features supported is currently. 但是,为了最大限度地提高效率,请使用scipy.sparse .csr_matrix中定义的CSR矩阵格式。 For maximum efficiency, however, use the CSR matrix format as defined in scipy. sparse . csr_matrix. 以下示例展示了使用sparse PCA提取Olivetti人脸数据集中的16个components。 The following example illustrates 16 components extracted using sparse PCA from the Olivetti faces dataset. Sparse 矩阵,而不需要把它们变稠密(density),因为即使密集化(densifying)中型大小文档的集合也可能填满内存。Sparse matrices without the need to densify them, as densifying may fill up memory even for medium-sized document collections. 根据Bigtable的定义:ABigtableisasparse ,distributed,persistentmultidimensionalsortedmap。 A Bigtable is a sparse , distributed, persistent multi-dimensional sorted map. 王迪获奖论文题目为“ASpatiotemporalPredictionApproachforA3DThermalFieldwithSparse Data”。 Wang Di's award-winning paper is entitled"A Spatiotemporal Prediction Approach for a 3D Thermal Field with Sparse Data". 根据Bigtable的定义:ABigtableisasparse ,distributed,persistentmultidimensionalsortedmap。 BigTable can be defined as a sparse , distributed, multi-dimensional sorted map. Sparse Labs成立于2014年7月,致力于帮助餐厅收集物流数据,并为消费者提供实时订单追踪服务。Sparse Labs, which was set up in July 2014, helps restaurants gather data on tracking delivery drivers and show customers real-time data on their orders. ARD在文献中也被称之为稀疏贝叶斯学习(Sparse BayesianLearning)和关联向量机(RelevanceVectorMachine)[3][4]。 ARD is also known in the literature as Sparse Bayesian Learning and Relevance Vector Machine[3][4]. Sparse inversecovarianceestimation:人工数据,用来展示一个结构的部分修复,并与其他协方差估计进行比较。Sparse inverse covariance estimation: example on synthetic data showing some recovery of a structure, and comparing to other covariance estimators. 根据Bigtable的定义:ABigtableisasparse ,distributed,persistentmultidimensionalsortedmap。 Systems like Cassandra and Bigtable are"sparse , distributed, persistent multi-dimensional sorted maps". Sparse inversecovarianceestimation:在合成数据上的例子显示了某种结构的恢复,并与其他协方差估计器进行了比较。Sparse inverse covariance estimation: example on synthetic data showing some recovery of a structure, and comparing to other covariance estimators. 参阅Classificationoftextdocumentsusingsparse features例如f1_score用于分类文本文档的用法。 See Classification of text documents using sparse features for an example of f1_score usage to classify text documents.
Display more examples
Results: 28 ,
Time: 0.0203