Beispiel #1
0
    def setUp(self):
        self.db = db_manager(CONNECTION_STRING,
                             engine_kwargs={'echo': True})  # connect database
        self.vrclassroom = vrclassroomFetchDatabase(self.db)
        self.rnd = rndAnalysisDatabase(self.db)

        self.features = featureFields([], [])

        self.features.addTableFields('head_features', [
            "TimeActive", "NumRot", "PercentageDistracted", "TotalDeg",
            "PathLen"
        ])

        self.features.addTableFields('cpt_output_results', [
            'OmissionErrors', 'CommissionErrors', 'TargetsRT',
            'TargetsRtVariability', 'CommissionErrorsRT',
            'CommissionErrorsRtVariability'
        ], 'block=0')
        self.features.addTableFields("signal_detection",
                                     ["DPrime", "Beta", "C"], 'block=0')

        self.features.addOutputFields("bayes_probabilities", [
            "DPrimeRawProbabilityADHD", "DPrimeRawProbabilityHealthy",
            "OmissionRawProbabilityADHD", "OmissionRawProbabilityHealthy",
            "CommissionErrorsRtVariabilityRawProbabilityADHD",
            "CommissionErrorsRtVariabilityRawProbabilityHealthy",
            "CRawProbabilityADHD", "CRawProbabilityHealthy",
            "TotalDegRawProbabilityADHD", "TotalDegRawProbabilityHealthy",
            "CommissionRawProbabilityADHD", "CommissionRawProbabilityHealthy",
            "TargetRTVRawProbabilityADHD", "TargetRTVRawProbabilityHealthy",
            "TotalRawProbabilityADHD", "TotalRawProbabilityHealthy", "Priors",
            "FinalProbabilityOfADHD"
        ])
Beispiel #2
0
    def setUp(self):

        self.db = db_manager(CONNECTION_STRING, engine_kwargs={
                             'echo': True})  # connect database
        self.vrclassroom = vrclassroomFetchDatabase(self.db)
        self.rnd = rndAnalysisDatabase(self.db)
        # get features

        self.features = featureFields([],[])

        self.features.addTableFields(
            'head_features', ['PathLen', 'TimeActive', 'NumRot', 'TotalDeg'])
        self.features.addTableFields('cpt_output_results',
                                     ['OmissionErrors', 'CommissionErrors', 'TargetsRT',
                                      'TargetsRtVariability', 'CommissionErrorsRT', 'CommissionErrorsRtVariability'],
                                     'block=0')
Beispiel #3
0
 def setUp(self):
     self.db = db_manager(CONNECTION_STRING, engine_kwargs={'echo': True})
     self.vrclassroom = vrclassroomFetchDatabase(self.db)