[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] Re: Data set/ Dimensional Reduction / PCA (Principal Component Analysis)



Thank you for your reply. 

I have a dataset (training set) of 286 (column) * 56 (row), meaning: 
- 56 training example. 
- Each training example have 286 data of different number 

My code:

a = CSVFileReader.read("C:\\Users\\ID977\\Data_Coffee.csv",skipEmptyLines: 
true).postcs; 
b = a.collect { |row| row.collect { |s| s.asFloat } }; 
b.postcs; 

( 
Pbind( 
        \instrument, \fmgrain1, 
 	\carrfreq, 10 * Pseq(b).trace / 4, 
                \modfreq, Pkey(\carrfreq) / 5, 
            \index, 2.5, 
        \attack, 0.001,    // and fixed values as desired 
        \decay, 0.2,       // for the other parameters 
        \dur, 0.1 
).trace.play 
) 

--> I need to generate a sequences of sound of 256. 




--
Sent from: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/SuperCollider-Users-New-Use-this-f2676391.html

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/