⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ascii2xi.m~

📁 this a SVM toolbox,it is very useful for someone who just learn SVM.In order to be undestood easily,
💻 M~
字号:
function [X,I] = ascii2xi(datafile,labelfile,dlm)% ASCII2XI loads data from ASCII files.%  [X,I] = ascii2xi(datafile,labelfile,dlm)%% ACII2XI loads labeled data from ASCII files of%   following format:%   Data file 'datafile': %     - each row corresponds to one pattern. %     - each columns corresponds to one feature.%     - columns are separated by given delimiter 'dlm'%       (blank space is default).%%   File of labels 'labelfile':%     - contains one column of integers corresponding to%       rows in the data file.%% Input:%   datafile [string] data file.%   labelfile [string] file with labels.%% Output:%   X [D x M] matrix containing loaded patterns, where D is %      dimenssion and M is the number of patterns.%   I [1 x M] vector containing labels.%% Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac% (c) Czech Technical University Prague, http://cmp.felk.cvut.cz% Written Vojtech Franc (diploma thesis) 02.01.2000% Modifications% 11-June-2001, V.Francif nargin < 3,  dlm =' ';endX = dlmread( datafile, dlm)';I = dlmread( labelfile )';return;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -