[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading a large and unusually formatted dataset into an Octave matri
From: |
Przemek Klosowski |
Subject: |
Re: Loading a large and unusually formatted dataset into an Octave matrix |
Date: |
Mon, 17 Jun 2013 16:11:42 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
On 06/14/2013 02:04 PM, Elliot Gorokhovsky wrote:
Hello! I am a new octave user and I am trying to predict the price of
bitcoins 15 minutes in advance via neural networks for use on the
website btcoracle.com <http://btcoracle.com>. I have about a gigabyte of
data that looks like this:
Inline image 1
It would help to actually include a sample few lines in a computer
readable format. Thanks to Ben for typing it in, I tried it using
external parsing:
command="perl -F'\"' -lane 'print \"$F[5] $F[9]\"' /tmp/bitcoin"
FD=popen(command,'r');
here, I was hoping that something like this would work:
a=fscanf(FD,"%d %d")
but I wasn't successful. How does one read a datastream from popen?