分类 Resources

Showing items tagged with "分类"

Implementation of K-Means Clustering Algorithm: Given K number of clusters, the algorithm partitions n objects into K classes, maximizing within-cluster similarity while minimizing between-cluster similarity. The implementation involves iterative centroid updates and distance calculations using MATLAB's vectorized operations for efficient clustering.

MATLAB 301 views Tagged

LIBSVM is a simple, easy-to-use, and efficient software package developed by Professor Lin Chih-Jen and team at National Taiwan University for SVM-based pattern recognition and regression. It provides both precompiled Windows executables and source code for customization, cross-platform adaptation, and algorithm enhancement. The package simplifies parameter tuning with extensive default configurations that handle most practical scenarios while offering cross-validation capabilities. It supports C-SVM, ν-SVM, ε-SVR, ν-SVR models and multi-class classification using one-vs-one strategy, with optimized implementations for large-scale datasets.

MATLAB 279 views Tagged

The K-Nearest Neighbors (KNN) algorithm can be utilized for both classification and regression tasks. By identifying k nearest neighbors of a sample and assigning the average of their attributes to that sample, we can predict the sample's properties. A more sophisticated approach involves assigning different weights to neighbors based on their distance, such as making weights proportional to distance, which improves prediction accuracy through weighted averaging.

MATLAB 333 views Tagged