2.6.1.1. Perform the PCA

The way to perform this analysis is rather simple through Uranie: simply provide the dataserver that contains data to an TPCA object, only precising the name of the variables to be investigated. This is exactly what’s done below:

# Read the database
tdsPCA = DataServer.TDataServer("tdsPCA", "my TDS")
tdsPCA.fileDataRead("Notes.dat")

# Create the PCA object precising the variables of interest
tpca = DataServer.TPCA(tdsPCA, "Maths:Physics:French:Latin:Music")
tpca.compute()

Once done, the process described in the [Bla17] is finished and then interpretation starts.