Path: news.mathworks.com!not-for-mail
From: "burcu " <burcu102@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: reading alphanumeric data
Date: Fri, 23 Oct 2009 12:48:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 33
Message-ID: <hbs8m5$86$1@fred.mathworks.com>
References: <hb6otr$oq4$1@fred.mathworks.com> <hb9c01$32e$1@fred.mathworks.com> <hbn2eo$p1$1@fred.mathworks.com> <hbp3cn$n2i$1@fred.mathworks.com>
Reply-To: "burcu " <burcu102@hotmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1256302085 262 172.30.248.35 (23 Oct 2009 12:48:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 23 Oct 2009 12:48:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1870888
Xref: news.mathworks.com comp.soft-sys.matlab:579579

Hi Branko,

My dataset is kkd'99 dataset. You can find the details below:
http://kdd.ics.uci.edu/databases/kddcup99/kddcup99.html
I'm using 10% percentages of dataset( kddcup.data_10_percent.gz for training)
I'm trying to open it with classical textscan codes, defining the variable types, %s, %f etc. 
But the output only includes the first line. I've also added N, row number to data from the file, using the format but no way. 

Thanks for your help
Burcu
 


"Branko " <bogunovic@mbss.org> wrote in message <hbp3cn$n2i$1@fred.mathworks.com>...
> "burcu " <burcu102@hotmail.com> wrote in message <hbn2eo$p1$1@fred.mathworks.com>...
> > Hi Guys,
> > 
> > I'm stucked in a similar situation. My data is something like:
> > 
> > 0,udp,private,SF,105,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
> > 
> > It's a huge dataset of 42 columns and thousands of rows. I'm testing the command with 19 rows and 42 columns of dataset. Than i'll use this data at neral network training. 
> > Anyway, as i can understand as an output of textscan command i'm always getting 1X42 array. I want to merge this to a 19x42 matrix. It seems cat command could work on my issue but i couldnt understand it's syntax. Can you please advice how can i solve my issue on that?
> > 
> > Thanks!
> > Burcu
> > 
> 
> > Anyway, as i can understand as an output of textscan command i'm always getting 1X42 array.
> 
> Not necessary, depands how's your data structured and than apply textscan (regexp) to your data. If you provide some additional information(code, data ), we might help you.
> 
> Branko