Skip to content

Instantly share code, notes, and snippets.

@zippera
zippera / bow.m
Created December 28, 2013 02:16
人工智能作业,对图片分类,matlab 版。
clear all;
clc;
ncluster = 10;
%%%%%%%读入数据
path_c = 'car feature/';
path_d = 'dinosaur feature/';
%恐龙
d_dir = [];
d_inf = [];
files_d = dir(strcat(path_d ,'*.txt'));