Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:479: KNNAnomalyClassifierRegionTest.testAddRecordToKNN PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:744: KNNAnomalyClassifierRegionTest.testCLAClassificationRecord PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:775: KNNAnomalyClassifierRegionTest.testCLAClassificationRecordGetState PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:789: KNNAnomalyClassifierRegionTest.testCLAClassificationRecordSetState PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:685: KNNAnomalyClassifierRegionTest.testCategoryToList PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:636: KNNAnomalyClassifierRegionTest.testCompute PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:582: KNNAnomalyClassifierRegionTest.testConstructClassificationVector PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:516: KNNAnomalyClassifierRegionTest.testDeleteRangeFromKNN PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:700: KNNAnomalyClassifierRegionTest.testGetAnomalyVector PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:108: KNNAnomalyClassifierRegionTest.testGetLabels PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:64: KNNAnomalyClassifierRegionTest.testInit PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:541: KNNAnomalyClassifierRegionTest.testRecomputeRecordFromKNN PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:194: KNNAnomalyClassifierRegionTest.testRemoveLabel PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:236: KNNAnomalyClassifierRegionTest.testRemoveLabelNoFilter PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:262: KNNAnomalyClassifierRegionTest.testSetGetThreshold PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:278: KNNAnomalyClassifierRegionTest.testSetGetWaitRecords PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:310: KNNAnomalyClassifierRegionTest.testSetGetWaitRecordsRecalculate PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:718: KNNAnomalyClassifierRegionTest.testSetState PASSED
- tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/regions/knn_anomaly_classifier_region_test.py:356: KNNAnomalyClassifierRegionTest.testUpdateState PASSED
- tests/unit/nupic/regions/record_sensor_region_test.py:35: RecordSensorRegionTest.testVaryingNumberOfCategories PASSED
- tests/unit/nupic/regions/regions_spec_test.py <- ../.local/lib/python2.7/site-packages/unittest2/case.py:58: KNNAnomalyClassifierRegionTest.testInvalidCommandSpec SKIPPED
- tests/unit/nupic/regions/regions_spec_test.py:36: KNNAnomalyClassifierRegionTest.testInvalidInputSpec PASSED
- tests/unit/nupic/regions/regions_spec_test.py:64: KNNAnomalyClassifierRegionTest.testInvalidOutputSpec PASSED
- tests/unit/nupic/regions/regions_spec_test.py:90: KNNAnomalyClassifierRegionTest.testInvalidParameterSpec PASSED
- tests/unit/nupic/regions/regions_spec_test.py <- ../.local/lib/python2.7/site-packages/unittest2/case.py:58: KNNAnomalyClassifierRegionTest.testInvalidSpec SKIPPED
- tests/unit/nupic/regions/regions_spec_test.py:176: KNNAnomalyClassifierRegionTest.testSpec_toDict PASSED
- tests/unit/nupic/regions/regions_spec_test.py:138: KNNAnomalyClassifierRegionTest.testValidCommandSpec PASSED
- tests/unit/nupic/regions/regions_spec_test.py:47: KNNAnomalyClassifierRegionTest.testValidInputSpec PASSED
- tests/unit/nupic/regions/regions_spec_test.py:75: KNNAnomalyClassifierRegionTest.testValidOutputSpec PASSED
- tests/unit/nupic/regions/regions_spec_test.py:110: KNNAnomalyClassifierRegionTest.testValidParameterSpec PASSED
- tests/unit/nupic/regions/regions_spec_test.py:163: KNNAnomalyClassifierRegionTest.testValidSpec PASSED
- tests/unit/nupic/research/connections_test.py:313: ConnectionsTest.testComputeActivity PASSED
- tests/unit/nupic/research/connections_test.py:37: ConnectionsTest.testCreateSegment PASSED
- tests/unit/nupic/research/connections_test.py:51: ConnectionsTest.testCreateSegmentReuse PASSED
- tests/unit/nupic/research/connections_test.py:95: ConnectionsTest.testDestroySegment PASSED
- tests/unit/nupic/research/connections_test.py:183: ConnectionsTest.testDestroySegmentWithDestroyedSynapses PASSED
- tests/unit/nupic/research/connections_test.py:233: ConnectionsTest.testDestroySegmentsThenReachLimit PASSED
- tests/unit/nupic/research/connections_test.py:126: ConnectionsTest.testDestroySynapse PASSED
- tests/unit/nupic/research/connections_test.py:256: ConnectionsTest.testDestroySynapsesThenReachLimit PASSED
- tests/unit/nupic/research/connections_test.py:150: ConnectionsTest.testPathsNotInvalidatedByOtherDestroys PASSED
- tests/unit/nupic/research/connections_test.py:281: ConnectionsTest.testReachSegmentLimitMultipleTimes PASSED
- tests/unit/nupic/research/connections_test.py:209: ConnectionsTest.testReuseSegmentWithDestroyedSynapses PASSED
- tests/unit/nupic/research/connections_test.py:71: ConnectionsTest.testSynapseReuse PASSED
- tests/unit/nupic/research/connections_test.py:299: ConnectionsTest.testUpdateSynapsePermanence PASSED
- tests/unit/nupic/research/connections_test.py:371: ConnectionsTest.testWriteRead PASSED
- tests/unit/nupic/research/inhibition_object_test.py <- ../.local/lib/python2.7/site-packages/unittest2/case.py:58: InhibitionObjectTest.testInhibition SKIPPED
- tests/unit/nupic/research/sp_learn_inference_test.py <- ../.local/lib/python2.7/site-packages/unittest2/case.py:58: SPLearnInferenceTest.testLearnInference SKIPPED
- tests/unit/nupic/research/spatial_pooler_boost_test.py:346: SpatialPoolerBoostTest.testBoostingCPP PASSED
- tests/unit/nupic/research/spatial_pooler_boost_test.py:342: SpatialPoolerBoostTest.testBoostingPY PASSED
- tests/unit/nupic/research/spatial_pooler_compatability_test.py:240: SpatialPoolerCompatabilityTest.testCompatability1 PASSED
- tests/unit/nupic/research/spatial_pooler_compatability_test.py:293: SpatialPoolerCompatabilityTest.testCompatability2 PASSED
- tests/unit/nupic/research/spatial_pooler_compatability_test.py:316: SpatialPoolerCompatabilityTest.testCompatability3 PASSED
- tests/unit/nupic/research/spatial_pooler_compatability_test.py:270: SpatialPoolerCompatabilityTest.testCompatabilityNoLearn PASSED
- tests/unit/nupic/research/spatial_pooler_compatability_test.py <- ../.local/lib/python2.7/site-packages/unittest2/case.py:58: SpatialPoolerCompatabilityTest.testCompatibilityCppPyDirectCall1D SKIPPED
- tests/unit/nupic/research/spatial_pooler_compatability_test.py <- ../.local/lib/python2.7/site-packages/unittest2/case.py:58: SpatialPoolerCompatabilityTest.testCompatibilityCppPyDirectCall2D SKIPPED
- tests/unit/nupic/research/spatial_pooler_compatability_test.py:392: SpatialPoolerCompatabilityTest.testInhibitColumnsGlobal PASSED
- tests/unit/nupic/research/spatial_pooler_compatability_test.py:339: SpatialPoolerCompatabilityTest.testSerialization PASSED
- tests/unit/nupic/research/spatial_pooler_compatability_test.py:368: SpatialPoolerCompatabilityTest.testSerializationRun PASSED
- tests/unit/nupic/research/spatial_pooler_compute_test.py:81: SpatialPoolerComputeTest.testBasicCompute1 PASSED
- tests/unit/nupic/research/spatial_pooler_compute_test.py:103: SpatialPoolerComputeTest.testBasicCompute2 PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:44: SpatialPoolerCPPAPITest.testCompute PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:235: SpatialPoolerCPPAPITest.testGetActiveDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:211: SpatialPoolerCPPAPITest.testGetBoostFactors PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:308: SpatialPoolerCPPAPITest.testGetConnectedCounts PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:291: SpatialPoolerCPPAPITest.testGetConnectedSynapses PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:112: SpatialPoolerCPPAPITest.testGetDutyCyclePeriod PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:72: SpatialPoolerCPPAPITest.testGetGlobalInhibition PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:105: SpatialPoolerCPPAPITest.testGetInhibitionRadius PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:133: SpatialPoolerCPPAPITest.testGetIterationLearnNum PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:126: SpatialPoolerCPPAPITest.testGetIterationNum PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:91: SpatialPoolerCPPAPITest.testGetLocalAreaDensity PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:119: SpatialPoolerCPPAPITest.testGetMaxBoost PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:259: SpatialPoolerCPPAPITest.testGetMinActiveDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:247: SpatialPoolerCPPAPITest.testGetMinOverlapDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:189: SpatialPoolerCPPAPITest.testGetMinPctActiveDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:182: SpatialPoolerCPPAPITest.testGetMinPctOverlapDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:84: SpatialPoolerCPPAPITest.testGetNumActiveColumnsPerInhArea PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:223: SpatialPoolerCPPAPITest.testGetOverlapDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:196: SpatialPoolerCPPAPITest.testGetPermanence PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:271: SpatialPoolerCPPAPITest.testGetPotential PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:65: SpatialPoolerCPPAPITest.testGetPotentialPct PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:58: SpatialPoolerCPPAPITest.testGetPotentialRadius PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:140: SpatialPoolerCPPAPITest.testGetSpVerbosity PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:98: SpatialPoolerCPPAPITest.testGetStimulusThreshold PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:154: SpatialPoolerCPPAPITest.testGetSynPermActiveInc PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:168: SpatialPoolerCPPAPITest.testGetSynPermBelowStimulusInc PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:175: SpatialPoolerCPPAPITest.testGetSynPermConnected PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:161: SpatialPoolerCPPAPITest.testGetSynPermInactiveDec PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:147: SpatialPoolerCPPAPITest.testGetSynPermTrimThreshold PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_api_test.py <- tests/unit/nupic/research/spatial_pooler_py_api_test.py:51: SpatialPoolerCPPAPITest.testGetUpdatePeriod PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_unit_test.py:43: SpatialPoolerTest.testCalculateOverlap PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_unit_test.py:81: SpatialPoolerTest.testInhibitColumnsGlobal PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_unit_test.py:152: SpatialPoolerTest.testUpdateDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_cpp_unit_test.py:98: SpatialPoolerTest.testUpdatePermanencesForColumn PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:44: SpatialPoolerAPITest.testCompute PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:235: SpatialPoolerAPITest.testGetActiveDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:211: SpatialPoolerAPITest.testGetBoostFactors PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:308: SpatialPoolerAPITest.testGetConnectedCounts PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:291: SpatialPoolerAPITest.testGetConnectedSynapses PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:112: SpatialPoolerAPITest.testGetDutyCyclePeriod PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:72: SpatialPoolerAPITest.testGetGlobalInhibition PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:105: SpatialPoolerAPITest.testGetInhibitionRadius PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:133: SpatialPoolerAPITest.testGetIterationLearnNum PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:126: SpatialPoolerAPITest.testGetIterationNum PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:91: SpatialPoolerAPITest.testGetLocalAreaDensity PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:119: SpatialPoolerAPITest.testGetMaxBoost PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:259: SpatialPoolerAPITest.testGetMinActiveDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:247: SpatialPoolerAPITest.testGetMinOverlapDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:189: SpatialPoolerAPITest.testGetMinPctActiveDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:182: SpatialPoolerAPITest.testGetMinPctOverlapDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:84: SpatialPoolerAPITest.testGetNumActiveColumnsPerInhArea PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:223: SpatialPoolerAPITest.testGetOverlapDutyCycles PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:196: SpatialPoolerAPITest.testGetPermanence PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:271: SpatialPoolerAPITest.testGetPotential PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:65: SpatialPoolerAPITest.testGetPotentialPct PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:58: SpatialPoolerAPITest.testGetPotentialRadius PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:140: SpatialPoolerAPITest.testGetSpVerbosity PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:98: SpatialPoolerAPITest.testGetStimulusThreshold PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:154: SpatialPoolerAPITest.testGetSynPermActiveInc PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:168: SpatialPoolerAPITest.testGetSynPermBelowStimulusInc PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:175: SpatialPoolerAPITest.testGetSynPermConnected PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:161: SpatialPoolerAPITest.testGetSynPermInactiveDec PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:147: SpatialPoolerAPITest.testGetSynPermTrimThreshold PASSED
- tests/unit/nupic/research/spatial_pooler_py_api_test.py:51: SpatialPoolerAPITest.testGetUpdatePeriod PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py <- ../../../../usr/lib/python2.7/unittest/case.py:60: SpatialPoolerTest.testActiveColumnsEqualNumActive SKIPPED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:965: SpatialPoolerTest.testAdaptSynapses PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:590: SpatialPoolerTest.testAvgColumnsPerInput PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:627: SpatialPoolerTest.testAvgConnectedSpanForColumn1D PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:649: SpatialPoolerTest.testAvgConnectedSpanForColumn2D PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:741: SpatialPoolerTest.testAvgConnectedSpanForColumnND PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:795: SpatialPoolerTest.testBumpUpWeakColumns PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1114: SpatialPoolerTest.testCalculateOverlap PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:82: SpatialPoolerTest.testCompute1 PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:119: SpatialPoolerTest.testCompute2 PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:184: SpatialPoolerTest.testExactOutput PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1361: SpatialPoolerTest.testGetNeighbors1D PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1441: SpatialPoolerTest.testGetNeighbors2D PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1550: SpatialPoolerTest.testGetNeighborsND PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:436: SpatialPoolerTest.testInhibitColumns PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1304: SpatialPoolerTest.testInhibitColumnsGlobal PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1327: SpatialPoolerTest.testInhibitColumnsLocal PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1184: SpatialPoolerTest.testInitPermanence1 PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1226: SpatialPoolerTest.testInitPermanence2 PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:936: SpatialPoolerTest.testIsUpdateRound PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:279: SpatialPoolerTest.testMapColumn PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:419: SpatialPoolerTest.testMapPotential1Column1Input PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:329: SpatialPoolerTest.testMapPotential1D PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:372: SpatialPoolerTest.testMapPotential2D PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:155: SpatialPoolerTest.testOverlapsOutput PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1035: SpatialPoolerTest.testRaisePermanenceThreshold PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1808: SpatialPoolerTest.testRandomSPDoesNotLearn PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:247: SpatialPoolerTest.testStripNeverLearned PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:515: SpatialPoolerTest.testUpdateBoostFactors PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1267: SpatialPoolerTest.testUpdateDutyCycleHelper PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:555: SpatialPoolerTest.testUpdateInhibitionRadius PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:836: SpatialPoolerTest.testUpdateMinDutyCycleLocal PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:894: SpatialPoolerTest.testUpdateMinDutyCyclesGlobal PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1072: SpatialPoolerTest.testUpdatePermanencesForColumn PASSED
- tests/unit/nupic/research/spatial_pooler_unit_test.py:1737: SpatialPoolerTest.testWriteRead PASSED
- tests/unit/nupic/research/temporal_memory_test.py:54: TemporalMemoryTest.testActivateCorrectlyPredictiveCells PASSED
- tests/unit/nupic/research/temporal_memory_test.py:782: TemporalMemoryTest.testAddSegmentToCellWithFewestSegments PASSED
- tests/unit/nupic/research/temporal_memory_test.py:85: TemporalMemoryTest.testBurstUnpredictedColumns PASSED
- tests/unit/nupic/research/temporal_memory_test.py:927: TemporalMemoryTest.testCellsForColumn1D PASSED
- tests/unit/nupic/research/temporal_memory_test.py:936: TemporalMemoryTest.testCellsForColumn2D PASSED
- tests/unit/nupic/research/temporal_memory_test.py:945: TemporalMemoryTest.testCellsForColumnInvalidColumn PASSED
- tests/unit/nupic/research/temporal_memory_test.py:887: TemporalMemoryTest.testColumnForCell1D PASSED
- tests/unit/nupic/research/temporal_memory_test.py:898: TemporalMemoryTest.testColumnForCell2D PASSED
- tests/unit/nupic/research/temporal_memory_test.py:909: TemporalMemoryTest.testColumnForCellInvalidCell PASSED
- tests/unit/nupic/research/temporal_memory_test.py:849: TemporalMemoryTest.testConnectionsNeverChangeWhenLearningDisabled PASSED
- tests/unit/nupic/research/temporal_memory_test.py:700: TemporalMemoryTest.testDestroySegmentsWithTooFewSynapsesToBeMatching PASSED
- tests/unit/nupic/research/temporal_memory_test.py:583: TemporalMemoryTest.testDestroyWeakSynapseOnActiveReinforce PASSED
- tests/unit/nupic/research/temporal_memory_test.py:550: TemporalMemoryTest.testDestroyWeakSynapseOnWrongPrediction PASSED
- tests/unit/nupic/research/temporal_memory_test.py:42: TemporalMemoryTest.testInitInvalidParams PASSED
- tests/unit/nupic/research/temporal_memory_test.py:979: TemporalMemoryTest.testMapCellsToColumns PASSED
- tests/unit/nupic/research/temporal_memory_test.py:516: TemporalMemoryTest.testMatchingSegmentAddSynapsesToAllWinnerCells PASSED
- tests/unit/nupic/research/temporal_memory_test.py:481: TemporalMemoryTest.testMatchingSegmentAddSynapsesToSubsetOfWinnerCells PASSED
- tests/unit/nupic/research/temporal_memory_test.py:441: TemporalMemoryTest.testNewSegmentAddSynapsesToAllWinnerCells PASSED
- tests/unit/nupic/research/temporal_memory_test.py:404: TemporalMemoryTest.testNewSegmentAddSynapsesToSubsetOfWinnerCells PASSED
- tests/unit/nupic/research/temporal_memory_test.py:330: TemporalMemoryTest.testNoChangeToMatchingSegmentsInPredictedActiveColumn PASSED
- tests/unit/nupic/research/temporal_memory_test.py:287: TemporalMemoryTest.testNoChangeToNonselectedMatchingSegmentsInBurstingColumn PASSED
- tests/unit/nupic/research/temporal_memory_test.py:213: TemporalMemoryTest.testNoGrowthOnCorrectlyActiveSegments PASSED
- tests/unit/nupic/research/temporal_memory_test.py:381: TemporalMemoryTest.testNoNewSegmentIfNotEnoughWinnerCells PASSED
- tests/unit/nupic/research/temporal_memory_test.py:971: TemporalMemoryTest.testNumberOfCells PASSED
- tests/unit/nupic/research/temporal_memory_test.py:963: TemporalMemoryTest.testNumberOfColumns PASSED
- tests/unit/nupic/research/temporal_memory_test.py:144: TemporalMemoryTest.testPredictedActiveCellsAreAlwaysWinners PASSED
- tests/unit/nupic/research/temporal_memory_test.py:733: TemporalMemoryTest.testPunishMatchingSegmentsInInactiveColumns PASSED
- tests/unit/nupic/research/temporal_memory_test.py:652: TemporalMemoryTest.testRecycleLeastRecentlyActiveSegmentToMakeRoomForNewSegment PASSED
- tests/unit/nupic/research/temporal_memory_test.py:616: TemporalMemoryTest.testRecycleWeakestSynapseToMakeRoomForNewSynapse PASSED
- tests/unit/nupic/research/temporal_memory_test.py:179: TemporalMemoryTest.testReinforceCorrectlyActiveSegments PASSED
- tests/unit/nupic/research/temporal_memory_test.py:243: TemporalMemoryTest.testReinforceSelectedMatchingSegmentInBurstingColumn PASSED
- tests/unit/nupic/research/temporal_memory_test.py:990: TemporalMemoryTest.testWriteRead PASSED
- tests/unit/nupic/research/temporal_memory_test.py:107: TemporalMemoryTest.testZeroActiveColumns PASSED
- tests/unit/nupic/research/tp10x2_test.py <- tests/unit/nupic/research/tp_test.py:62: TPTest.testCheckpointLearned PASSED
- tests/unit/nupic/research/tp10x2_test.py <- tests/unit/nupic/research/tp_test.py:96: TPTest.testCheckpointMiddleOfSequence PASSED
- tests/unit/nupic/research/tp10x2_test.py <- tests/unit/nupic/research/tp_test.py:132: TPTest.testCheckpointMiddleOfSequence2 PASSED
- tests/unit/nupic/research/tp10x2_test.py <- tests/unit/nupic/research/tp_test.py:58: TPTest.testInitDefaultTP PASSED
- tests/unit/nupic/research/tp_constant_test.py:149: TPConstantTest.testCppTpBasic PASSED
- tests/unit/nupic/research/tp_constant_test.py:157: TPConstantTest.testIdenticalTps PASSED
- tests/unit/nupic/research/tp_constant_test.py:153: TPConstantTest.testPyTpBasic PASSED
- tests/unit/nupic/research/tp_test.py:62: TPTest.testCheckpointLearned PASSED
- tests/unit/nupic/research/tp_test.py:96: TPTest.testCheckpointMiddleOfSequence PASSED
- tests/unit/nupic/research/tp_test.py:132: TPTest.testCheckpointMiddleOfSequence2 PASSED
- tests/unit/nupic/research/tp_test.py:58: TPTest.testInitDefaultTP PASSED
- tests/unit/nupic/research/monitor_mixin/metric_test.py:38: MetricTest.testCreateFromTrace PASSED
- tests/unit/nupic/research/monitor_mixin/metric_test.py:48: MetricTest.testCreateFromTraceExcludeResets PASSED
- tests/unit/nupic/research/monitor_mixin/trace_test.py:40: IndicesTraceTest.testMakeCountsTrace PASSED
- tests/unit/nupic/research/monitor_mixin/trace_test.py:46: IndicesTraceTest.testMakeCumCountsTrace PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:258: ConfigurationTest.testClear PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:550: ConfigurationTest.testConfiguration PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:614: ConfigurationTest.testConfiguration2 PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:212: ConfigurationTest.testDict PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:229: ConfigurationTest.testDictReadsFilesFirstTime PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:242: ConfigurationTest.testDictReplacesKeysFromEnvironment PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:481: ConfigurationTest.testFindConfigFile PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:493: ConfigurationTest.testFindConfigFileReturnsNoneForMissingFile PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:127: ConfigurationTest.testGetBool PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:99: ConfigurationTest.testGetBoolMissingRaisesKeyError PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:110: ConfigurationTest.testGetBoolOutOfRangeRaisesValueError PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:506: ConfigurationTest.testGetConfigPaths PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:515: ConfigurationTest.testGetConfigPathsForNone SKIPPED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:527: ConfigurationTest.testGetConfigPathsForNoneWithNTA_CONF_PATHInEnv PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:177: ConfigurationTest.testGetFloat PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:166: ConfigurationTest.testGetFloatMissingRaisesKeyError PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:274: ConfigurationTest.testGetFromEnvironment PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:154: ConfigurationTest.testGetInt PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:143: ConfigurationTest.testGetIntMissingRaisesKeyError PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:189: ConfigurationTest.testGetMissingReturnsNone PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:87: ConfigurationTest.testGetString PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:76: ConfigurationTest.testGetStringMissingRaisesKeyError PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:380: ConfigurationTest.testReadConfigFileEmptyNameAndValue PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:357: ConfigurationTest.testReadConfigFileEmptyValue PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:453: ConfigurationTest.testReadConfigFileEnvironmentOverride PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:286: ConfigurationTest.testReadConfigFileFromPath PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:428: ConfigurationTest.testReadConfigFileMalformedEnvReference PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:317: ConfigurationTest.testReadConfigFileMissingDocumentRoot PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:404: ConfigurationTest.testReadConfigFileMissingEnvVars PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:335: ConfigurationTest.testReadConfigFileMissingNonPropertyConfigurationChildren PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:298: ConfigurationTest.testReadConfigFileUnexpectedElementAtRoot PASSED
- tests/unit/nupic/support/configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/configuration_test.py:200: ConfigurationTest.testSetAndGet PASSED
- tests/unit/nupic/support/configuration_test.py:541: ConfigurationTest.testSetConfigPathsForNoneWithNTA_CONF_PATHInEnv PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:547: ConfigurationCustomTest.testClear PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:265: ConfigurationCustomTest.testClearInvalidFile PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:844: ConfigurationCustomTest.testConfiguration PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:908: ConfigurationCustomTest.testConfiguration2 PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:242: ConfigurationCustomTest.testCustomConfigDict PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:217: ConfigurationCustomTest.testCustomConfigOverrides PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:95: ConfigurationCustomTest.testCustomFileCreated PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:501: ConfigurationCustomTest.testDict PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:518: ConfigurationCustomTest.testDictReadsFilesFirstTime PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:531: ConfigurationCustomTest.testDictReplacesKeysFromEnvironment PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:189: ConfigurationCustomTest.testDictWithTemp PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:833: ConfigurationCustomTest.testEmptyGetCustomDict PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:763: ConfigurationCustomTest.testFindConfigFile PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:776: ConfigurationCustomTest.testFindConfigFileReturnsNoneForMissingFile PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:107: ConfigurationCustomTest.testGet PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:416: ConfigurationCustomTest.testGetBool PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:388: ConfigurationCustomTest.testGetBoolMissingRaisesKeyError PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:399: ConfigurationCustomTest.testGetBoolOutOfRangeRaisesValueError PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:789: ConfigurationCustomTest.testGetConfigPaths PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:798: ConfigurationCustomTest.testGetConfigPathsForNone SKIPPED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:810: ConfigurationCustomTest.testGetConfigPathsForNoneWithNTA_CONF_PATHInEnv PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:324: ConfigurationCustomTest.testGetCustomDict PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:348: ConfigurationCustomTest.testGetCustomDictNoFile PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:466: ConfigurationCustomTest.testGetFloat PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:455: ConfigurationCustomTest.testGetFloatMissingRaisesKeyError PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:563: ConfigurationCustomTest.testGetFromEnvironment PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:443: ConfigurationCustomTest.testGetInt PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:432: ConfigurationCustomTest.testGetIntMissingRaisesKeyError PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:478: ConfigurationCustomTest.testGetMissingReturnsNone PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:376: ConfigurationCustomTest.testGetString PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:365: ConfigurationCustomTest.testGetStringMissingRaisesKeyError PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:665: ConfigurationCustomTest.testReadConfigFileEmptyNameAndValue PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:643: ConfigurationCustomTest.testReadConfigFileEmptyValue PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:735: ConfigurationCustomTest.testReadConfigFileEnvironmentOverride PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:575: ConfigurationCustomTest.testReadConfigFileFromPath PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:711: ConfigurationCustomTest.testReadConfigFileMalformedEnvReference PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:605: ConfigurationCustomTest.testReadConfigFileMissingDocumentRoot PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:688: ConfigurationCustomTest.testReadConfigFileMissingEnvVars PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:622: ConfigurationCustomTest.testReadConfigFileMissingNonPropertyConfigurationChildren PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:587: ConfigurationCustomTest.testReadConfigFileUnexpectedElementAtRoot PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:489: ConfigurationCustomTest.testSetAndGet PASSED
- tests/unit/nupic/support/custom_configuration_test.py:824: ConfigurationCustomTest.testSetConfigPathsForNoneWithNTA_CONF_PATHInEnv PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:157: ConfigurationCustomTest.testSetCustomProperties PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:130: ConfigurationCustomTest.testSetCustomProperty PASSED
- tests/unit/nupic/support/custom_configuration_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/custom_configuration_test.py:284: ConfigurationCustomTest.testSetInvalidFile PASSED
- tests/unit/nupic/support/decorators_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/decorators_test.py:250: RetryDecoratorTest.testFailsFirstSucceedsLater PASSED
- tests/unit/nupic/support/decorators_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/decorators_test.py:232: RetryDecoratorTest.testNoRetryIfCallSucceeds PASSED
- tests/unit/nupic/support/decorators_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/decorators_test.py:72: RetryDecoratorTest.testRetryNoTimeForRetries PASSED
- tests/unit/nupic/support/decorators_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/decorators_test.py:140: RetryDecoratorTest.testRetryRetryExceptionExcluded PASSED
- tests/unit/nupic/support/decorators_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/decorators_test.py:118: RetryDecoratorTest.testRetryRetryExceptionIncluded PASSED
- tests/unit/nupic/support/decorators_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/decorators_test.py:168: RetryDecoratorTest.testRetryRetryFilter PASSED
- tests/unit/nupic/support/decorators_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/decorators_test.py:95: RetryDecoratorTest.testRetryWaitsInitialRetryDelaySec PASSED
- tests/unit/nupic/support/decorators_test.py <- /data/home/sheiser1/nupic/tests/unit/nupic/support/decorators_test.py:211: RetryDecoratorTest.testReturnsExpectedWithExpectedArgs PASSED
- tests/unit/nupic/support/decorators_test.py:317: LogExceptionsTestCase.testLogExceptionsWithRuntimeErrorExceptionAndCustomLogger PASSED
- tests/unit/nupic/support/decorators_test.py:294: LogExceptionsTestCase.testLogExceptionsWithRuntimeErrorExceptionAndDefaultLogger PASSED
- tests/unit/nupic/support/decorators_test.py:339: LogExceptionsTestCase.testLogExceptionsWithSystemExitExceptionAndDefaultLogger PASSED
- tests/unit/nupic/support/decorators_test.py:278: LogExceptionsTestCase.testLogExceptionsWithoutException PASSED
- tests/unit/nupic/support/group_by_test.py:128: GroupByTest.testFiveSequences PASSED
- tests/unit/nupic/support/group_by_test.py:96: GroupByTest.testFourSequences PASSED
- tests/unit/nupic/support/group_by_test.py:29: GroupByTest.testOneSequence PASSED
- tests/unit/nupic/support/group_by_test.py:69: GroupByTest.testThreeSequences PASSED
- tests/unit/nupic/support/group_by_test.py:46: GroupByTest.testTwoSequences PASSED
- tests/unit/nupic/support/object_json_test.py:81: TestObjectJson.testBasicDumps PASSED
- tests/unit/nupic/support/object_json_test.py:78: TestObjectJson.testComplex PASSED
- tests/unit/nupic/support/object_json_test.py:51: TestObjectJson.testDates PASSED
- tests/unit/nupic/support/object_json_test.py:61: TestObjectJson.testDatetimes PASSED
- tests/unit/nupic/support/object_json_test.py:91: TestObjectJson.testDump PASSED
- tests/unit/nupic/support/object_json_test.py:117: TestObjectJson.testDumpsObject PASSED
- tests/unit/nupic/support/object_json_test.py:72: TestObjectJson.testDumpsTuple PASSED
- tests/unit/nupic/support/object_json_test.py:86: TestObjectJson.testDumpsWithIndent PASSED
- tests/unit/nupic/support/object_json_test.py:107: TestObjectJson.testLoad PASSED
- tests/unit/nupic/support/object_json_test.py:97: TestObjectJson.testLoads PASSED
- tests/unit/nupic/support/object_json_test.py:102: TestObjectJson.testLoadsWithIndent PASSED
- tests/unit/nupic/support/object_json_test.py:112: TestObjectJson.testNonStringKeys PASSED
- tests/unit/nupic/support/object_json_test.py:127: TestObjectJson.testObjectWithNonStringKeys PASSED
- tests/unit/nupic/support/object_json_test.py:37: TestObjectJson.testPrimitives PASSED
- tests/unit/nupic/support/object_json_test.py:75: TestObjectJson.testTuple PASSED
- tests/unit/nupic/support/consoleprinter_test/consoleprinter_test.py:48: ConsolePrinterTest.testPrint PASSED
- =================================== FAILURES ===================================
- _________________ CLAModelTest.testTemporalAnomalyModelFactory _________________
- self = <tests.unit.nupic.frameworks.opf.clamodel_test.CLAModelTest testMethod=testTemporalAnomalyModelFactory>
- def testTemporalAnomalyModelFactory(self):
- """ Simple test to assert that ModelFactory.create() with a given specific
- Temporal Anomaly configuration will return a model that can return
- inferences
- """
- modelConfig = (
- {u'aggregationInfo': {u'days': 0,
- u'fields': [],
- u'hours': 0,
- u'microseconds': 0,
- u'milliseconds': 0,
- u'minutes': 0,
- u'months': 0,
- u'seconds': 0,
- u'weeks': 0,
- u'years': 0},
- u'model': u'CLA',
- u'modelParams': {u'anomalyParams': {u'anomalyCacheRecords': None,
- u'autoDetectThreshold': None,
- u'autoDetectWaitRecords': 5030},
- u'clEnable': False,
- u'clParams': {u'alpha': 0.035828933612158,
- u'verbosity': 0,
- u'regionName': u'CLAClassifierRegion',
- u'steps': u'1'},
- u'inferenceType': u'TemporalAnomaly',
- u'sensorParams': {u'encoders': {u'c0_dayOfWeek': None,
- u'c0_timeOfDay': {u'fieldname': u'c0',
- u'name': u'c0',
- u'timeOfDay': [21,
- 9.49122334747737],
- u'type': u'DateEncoder'},
- u'c0_weekend': None,
- u'c1': {u'fieldname': u'c1',
- u'name': u'c1',
- u'resolution': 0.8771929824561403,
- u'seed': 42,
- u'type': u'RandomDistributedScalarEncoder'}},
- u'sensorAutoReset': None,
- u'verbosity': 0},
- u'spEnable': True,
- u'spParams': {u'potentialPct': 0.8,
- u'columnCount': 2048,
- u'globalInhibition': 1,
- u'inputWidth': 0,
- u'maxBoost': 1.0,
- u'numActiveColumnsPerInhArea': 40,
- u'seed': 1956,
- u'spVerbosity': 0,
- u'spatialImp': u'cpp',
- u'synPermActiveInc': 0.0015,
- u'synPermConnected': 0.1,
- u'synPermInactiveDec': 0.0005,
- },
- u'tpEnable': True,
- u'tpParams': {u'activationThreshold': 13,
- u'cellsPerColumn': 32,
- u'columnCount': 2048,
- u'globalDecay': 0.0,
- u'initialPerm': 0.21,
- u'inputWidth': 2048,
- u'maxAge': 0,
- u'maxSegmentsPerCell': 128,
- u'maxSynapsesPerSegment': 32,
- u'minThreshold': 10,
- u'newSynapseCount': 20,
- u'outputType': u'normal',
- u'pamLength': 3,
- u'permanenceDec': 0.1,
- u'permanenceInc': 0.1,
- u'seed': 1960,
- u'temporalImp': u'cpp',
- u'verbosity': 0},
- u'trainSPNetOnlyIfRequested': False},
- u'predictAheadTime': None,
- u'version': 1}
- )
- inferenceArgs = {u'inputPredictedField': u'auto',
- u'predictedField': u'c1',
- u'predictionSteps': [1]}
- data = [
- {'_category': [None],
- '_reset': 0,
- '_sequenceId': 0,
- '_timestamp': datetime.datetime(2013, 12, 5, 0, 0),
- '_timestampRecordIdx': None,
- u'c0': datetime.datetime(2013, 12, 5, 0, 0),
- u'c1': 5.0},
- {'_category': [None],
- '_reset': 0,
- '_sequenceId': 0,
- '_timestamp': datetime.datetime(2013, 12, 6, 0, 0),
- '_timestampRecordIdx': None,
- u'c0': datetime.datetime(2013, 12, 6, 0, 0),
- u'c1': 6.0},
- {'_category': [None],
- '_reset': 0,
- '_sequenceId': 0,
- '_timestamp': datetime.datetime(2013, 12, 7, 0, 0),
- '_timestampRecordIdx': None,
- u'c0': datetime.datetime(2013, 12, 7, 0, 0),
- u'c1': 7.0}
- ]
- > model = ModelFactory.create(modelConfig=modelConfig)
- tests/unit/nupic/frameworks/opf/clamodel_test.py:186:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- modelConfig = {'aggregationInfo': {'days': 0, 'fields': [], 'hours': 0, 'microseconds': 0, ...}, 'model': 'CLA', 'modelParams': {'an...ssifierRegion', 'steps': '1', 'verbosity': 0}, 'inferenceType': 'TemporalAnomaly', ...}, 'predictAheadTime': None, ...}
- logLevel = 40
- @staticmethod
- def create(modelConfig, logLevel=logging.ERROR):
- """ Create a new model instance, given a description dictionary.
- @param modelConfig (dict)
- A dictionary describing the current model (TODO: schema)
- @param logLevel (int) The level of logging output that should be generated
- @exception (Exception) Unsupported model type
- @returns (nupic.frameworks.opf.model.Model) A model.
- """
- logger = ModelFactory.__getLogger()
- logger.setLevel(logLevel)
- logger.debug("ModelFactory returning Model from dict: %s", modelConfig)
- modelClass = None
- if modelConfig['model'] == "CLA":
- modelClass = CLAModel
- elif modelConfig['model'] == "TwoGram":
- modelClass = TwoGramModel
- elif modelConfig['model'] == "PreviousValue":
- modelClass = PreviousValueModel
- else:
- raise Exception("ModelFactory received unsupported Model type: %s" % \
- modelConfig['model'])
- > return modelClass(**modelConfig['modelParams'])
- ../.local/lib/python2.7/site-packages/nupic/frameworks/opf/modelfactory.py:80:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <nupic.frameworks.opf.clamodel.CLAModel object at 0x7f56cbdc7e10>
- sensorParams = {'encoders': {'c0_dayOfWeek': None, 'c0_timeOfDay': {'fieldname': 'c0', 'name': 'c0', 'timeOfDay': [21, 9.491223347477...ame': 'c1', 'name': 'c1', 'resolution': 0.8771929824561403, 'seed': 42, ...}}, 'sensorAutoReset': None, 'verbosity': 0}
- inferenceType = 'TemporalAnomaly', predictedField = None, spEnable = True
- spParams = {'columnCount': 2048, 'globalInhibition': 1, 'inputWidth': 0, 'maxBoost': 1.0, ...}
- trainSPNetOnlyIfRequested = False, tpEnable = True
- tpParams = {'activationThreshold': 13, 'cellsPerColumn': 32, 'columnCount': 2048, 'globalDecay': 0.0, ...}
- clEnable = False
- clParams = {'alpha': 0.035828933612158, 'regionName': 'CLAClassifierRegion', 'steps': '1', 'verbosity': 0}
- anomalyParams = {'anomalyCacheRecords': None, 'autoDetectThreshold': None, 'autoDetectWaitRecords': 5030}
- minLikelihoodThreshold = 0.0001, maxPredictionsPerStep = 8, network = None
- def __init__(self,
- sensorParams={},
- inferenceType=InferenceType.TemporalNextStep,
- predictedField=None,
- spEnable=True,
- spParams={},
- # TODO: We can't figure out what this is. Remove?
- trainSPNetOnlyIfRequested=False,
- tpEnable=True,
- tpParams={},
- clEnable=True,
- clParams={},
- anomalyParams={},
- minLikelihoodThreshold=DEFAULT_LIKELIHOOD_THRESHOLD,
- maxPredictionsPerStep=DEFAULT_MAX_PREDICTIONS_PER_STEP,
- network=None):
- """CLAModel constructor.
- Args:
- inferenceType: A value from the InferenceType enum class.
- predictedField: The field to predict for multistep prediction.
- sensorParams: A dictionary specifying the sensor parameters.
- spEnable: Whether or not to use a spatial pooler.
- spParams: A dictionary specifying the spatial pooler parameters. These
- are passed to the spatial pooler.
- trainSPNetOnlyIfRequested: If set, don't create an SP network unless the
- user requests SP metrics.
- tpEnable: Whether to use a temporal pooler.
- tpParams: A dictionary specifying the temporal pooler parameters. These
- are passed to the temporal pooler.
- clEnable: Whether to use the classifier. If false, the classifier will
- not be created and no predictions will be generated.
- clParams: A dictionary specifying the classifier parameters. These are
- are passed to the classifier.
- anomalyParams: Anomaly detection parameters
- minLikelihoodThreshold: The minimum likelihood value to include in
- inferences. Currently only applies to multistep inferences.
- maxPredictionsPerStep: Maximum number of predictions to include for
- each step in inferences. The predictions with highest likelihood are
- included.
- """
- if not inferenceType in self.__supportedInferenceKindSet:
- raise ValueError("{0} received incompatible inference type: {1}"\
- .format(self.__class__, inferenceType))
- # Call super class constructor
- super(CLAModel, self).__init__(inferenceType)
- # self.__restoringFromState is set to True by our __setstate__ method
- # and back to False at completion of our _deSerializeExtraData() method.
- self.__restoringFromState = False
- self.__restoringFromV1 = False
- # Intitialize logging
- self.__logger = initLogger(self)
- self.__logger.debug("Instantiating %s." % self.__myClassName)
- self._minLikelihoodThreshold = minLikelihoodThreshold
- self._maxPredictionsPerStep = maxPredictionsPerStep
- # set up learning parameters (note: these may be replaced via
- # enable/disable//SP/TP//Learning methods)
- self.__spLearningEnabled = bool(spEnable)
- self.__tpLearningEnabled = bool(tpEnable)
- # Explicitly exclude the TP if this type of inference doesn't require it
- if not InferenceType.isTemporal(self.getInferenceType()) \
- or self.getInferenceType() == InferenceType.NontemporalMultiStep:
- tpEnable = False
- self._netInfo = None
- self._hasSP = spEnable
- self._hasTP = tpEnable
- self._hasCL = clEnable
- self._classifierInputEncoder = None
- self._predictedFieldIdx = None
- self._predictedFieldName = None
- self._numFields = None
- # init anomaly
- # -----------------------------------------------------------------------
- if network is not None:
- self._netInfo = NetworkInfo(net=network, statsCollectors=[])
- else:
- # Create the network
- self._netInfo = self.__createCLANetwork(
- sensorParams, spEnable, spParams, tpEnable, tpParams, clEnable,
- > clParams, anomalyParams)
- ../.local/lib/python2.7/site-packages/nupic/frameworks/opf/clamodel.py:207:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <nupic.frameworks.opf.clamodel.CLAModel object at 0x7f56cbdc7e10>
- sensorParams = {'encoders': {'c0_dayOfWeek': None, 'c0_timeOfDay': {'fieldname': 'c0', 'name': 'c0', 'timeOfDay': [21, 9.491223347477...ame': 'c1', 'name': 'c1', 'resolution': 0.8771929824561403, 'seed': 42, ...}}, 'sensorAutoReset': None, 'verbosity': 0}
- spEnable = True
- spParams = {'columnCount': 2048, 'globalInhibition': 1, 'inputWidth': 454, 'maxBoost': 1.0, ...}
- tpEnable = True
- tpParams = {'activationThreshold': 13, 'cellsPerColumn': 32, 'columnCount': 2048, 'globalDecay': 0.0, ...}
- clEnable = False
- clParams = {'alpha': 0.035828933612158, 'regionName': 'CLAClassifierRegion', 'steps': '1', 'verbosity': 0}
- anomalyParams = {'anomalyCacheRecords': None, 'autoDetectThreshold': None, 'autoDetectWaitRecords': 5030}
- def __createCLANetwork(self, sensorParams, spEnable, spParams, tpEnable,
- tpParams, clEnable, clParams, anomalyParams):
- """ Create a CLA network and return it.
- description: CLA Model description dictionary (TODO: define schema)
- Returns: NetworkInfo instance;
- """
- #--------------------------------------------------
- # Create the network
- n = Network()
- #--------------------------------------------------
- # Add the Sensor
- n.addRegion("sensor", "py.RecordSensor", json.dumps(dict(verbosity=sensorParams['verbosity'])))
- sensor = n.regions['sensor'].getSelf()
- enabledEncoders = copy.deepcopy(sensorParams['encoders'])
- for name, params in enabledEncoders.items():
- if params is not None:
- classifierOnly = params.pop('classifierOnly', False)
- if classifierOnly:
- enabledEncoders.pop(name)
- # Disabled encoders are encoders that are fed to CLAClassifierRegion but not
- # SP or TP Regions. This is to handle the case where the predicted field
- # is not fed through the SP/TP. We typically just have one of these now.
- disabledEncoders = copy.deepcopy(sensorParams['encoders'])
- for name, params in disabledEncoders.items():
- if params is None:
- disabledEncoders.pop(name)
- else:
- classifierOnly = params.pop('classifierOnly', False)
- if not classifierOnly:
- disabledEncoders.pop(name)
- encoder = MultiEncoder(enabledEncoders)
- sensor.encoder = encoder
- sensor.disabledEncoder = MultiEncoder(disabledEncoders)
- sensor.dataSource = DataBuffer()
- prevRegion = "sensor"
- prevRegionWidth = encoder.getWidth()
- # SP is not enabled for spatial classification network
- if spEnable:
- spParams = spParams.copy()
- spParams['inputWidth'] = prevRegionWidth
- self.__logger.debug("Adding SPRegion; spParams: %r" % spParams)
- n.addRegion("SP", "py.SPRegion", json.dumps(spParams))
- # Link SP region
- n.link("sensor", "SP", "UniformLink", "")
- n.link("sensor", "SP", "UniformLink", "", srcOutput="resetOut",
- destInput="resetIn")
- n.link("SP", "sensor", "UniformLink", "", srcOutput="spatialTopDownOut",
- destInput="spatialTopDownIn")
- n.link("SP", "sensor", "UniformLink", "", srcOutput="temporalTopDownOut",
- destInput="temporalTopDownIn")
- prevRegion = "SP"
- prevRegionWidth = spParams['columnCount']
- if tpEnable:
- tpParams = tpParams.copy()
- if prevRegion == 'sensor':
- tpParams['inputWidth'] = tpParams['columnCount'] = prevRegionWidth
- else:
- assert tpParams['columnCount'] == prevRegionWidth
- tpParams['inputWidth'] = tpParams['columnCount']
- self.__logger.debug("Adding TPRegion; tpParams: %r" % tpParams)
- > n.addRegion("TP", "py.TPRegion", json.dumps(tpParams))
- ../.local/lib/python2.7/site-packages/nupic/frameworks/opf/clamodel.py:1132:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <nupic.engine.Network; proxy of <Swig Object of type 'nupic::Network *' at 0x7f56cbdc5540> >
- name = 'TP', nodeType = 'py.TPRegion'
- nodeParams = '{"columnCount": 2048, "pamLength": 3, "permanenceInc": 0.1, "outputType": "normal", "initialPerm": 0.21, "seed": 1960...nputWidth": 2048, "maxSynapsesPerSegment": 32, "globalDecay": 0.0, "newSynapseCount": 20, "maxAge": 0, "verbosity": 0}'
- def addRegion(self, name, nodeType, nodeParams):
- """
- @doc:place_holder(Network.addRegion)
- """
- > engine.Network.addRegion(self, name, nodeType, nodeParams)
- ../.local/lib/python2.7/site-packages/nupic/engine/__init__.py:666:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <nupic.engine.Network; proxy of <Swig Object of type 'nupic::Network *' at 0x7f56cbdc5540> >
- args = ('TP', 'py.TPRegion', '{"columnCount": 2048, "pamLength": 3, "permanenceInc": 0.1, "outputType": "normal", "initialPer...putWidth": 2048, "maxSynapsesPerSegment": 32, "globalDecay": 0.0, "newSynapseCount": 20, "maxAge": 0, "verbosity": 0}')
- kwargs = {}
- def addRegion(self, *args, **kwargs):
- """addRegion(self, name, nodeType, nodeParams) -> Region"""
- > return _engine_internal.Network_addRegion(self, *args, **kwargs)
- ../.local/lib/python2.7/site-packages/nupic/bindings/engine_internal.py:1109:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- import os
- import numpy
- from nupic.algorithms import anomaly
- from nupic.research import TP
- from nupic.research import TP10X2
- > from nupic.research import TP_shim
- ../.local/lib/python2.7/site-packages/nupic/regions/TPRegion.py:28:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- """
- import numpy
- from nupic.research.temporal_memory import TemporalMemory
- from nupic.bindings.algorithms import TemporalMemory as TemporalMemoryCPP
- > from nupic.research.monitor_mixin.temporal_memory_monitor_mixin import (
- TemporalMemoryMonitorMixin)
- ../.local/lib/python2.7/site-packages/nupic/research/TP_shim.py:31:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- """
- from collections import defaultdict
- import copy
- from prettytable import PrettyTable
- from nupic.research.monitor_mixin.metric import Metric
- > from nupic.research.monitor_mixin.monitor_mixin_base import MonitorMixinBase
- ../.local/lib/python2.7/site-packages/nupic/research/monitor_mixin/temporal_memory_monitor_mixin.py:33:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- """
- import abc
- import numpy
- from prettytable import PrettyTable
- > from nupic.research.monitor_mixin.plot import Plot
- ../.local/lib/python2.7/site-packages/nupic/research/monitor_mixin/monitor_mixin_base.py:84:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- """
- import os
- try:
- # We import in here to avoid creating a matplotlib dependency in nupic.
- > import matplotlib.pyplot as plt
- ../.local/lib/python2.7/site-packages/nupic/research/monitor_mixin/plot.py:30:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- """
- from __future__ import (absolute_import, division, print_function,
- unicode_literals)
- import six
- import sys
- import warnings
- import matplotlib
- import matplotlib.colorbar
- from matplotlib import style
- from matplotlib import _pylab_helpers, interactive
- from matplotlib.cbook import dedent, silent_list, is_string_like, is_numlike
- from matplotlib.cbook import _string_to_bool
- from matplotlib import docstring
- from matplotlib.backend_bases import FigureCanvasBase
- from matplotlib.figure import Figure, figaspect
- from matplotlib.gridspec import GridSpec
- from matplotlib.image import imread as _imread
- from matplotlib.image import imsave as _imsave
- from matplotlib import rcParams, rcParamsDefault, get_backend
- from matplotlib import rc_context
- from matplotlib.rcsetup import interactive_bk as _interactive_bk
- from matplotlib.artist import getp, get, Artist
- from matplotlib.artist import setp as _setp
- from matplotlib.axes import Axes, Subplot
- from matplotlib.projections import PolarAxes
- from matplotlib import mlab # for csv2rec, detrend_none, window_hanning
- from matplotlib.scale import get_scale_docs, get_scale_names
- from matplotlib import cm
- from matplotlib.cm import get_cmap, register_cmap
- import numpy as np
- # We may not need the following imports here:
- from matplotlib.colors import Normalize
- from matplotlib.colors import normalize # for backwards compat.
- from matplotlib.lines import Line2D
- from matplotlib.text import Text, Annotation
- from matplotlib.patches import Polygon, Rectangle, Circle, Arrow
- from matplotlib.widgets import SubplotTool, Button, Slider, Widget
- from .ticker import TickHelper, Formatter, FixedFormatter, NullFormatter,\
- FuncFormatter, FormatStrFormatter, ScalarFormatter,\
- LogFormatter, LogFormatterExponent, LogFormatterMathtext,\
- Locator, IndexLocator, FixedLocator, NullLocator,\
- LinearLocator, LogLocator, AutoLocator, MultipleLocator,\
- MaxNLocator
- ## Backend detection ##
- def _backend_selection():
- """ If rcParams['backend_fallback'] is true, check to see if the
- current backend is compatible with the current running event
- loop, and if not switches to a compatible one.
- """
- backend = rcParams['backend']
- if not rcParams['backend_fallback'] or \
- backend not in _interactive_bk:
- return
- is_agg_backend = rcParams['backend'].endswith('Agg')
- if 'wx' in sys.modules and not backend in ('WX', 'WXAgg'):
- import wx
- if wx.App.IsMainLoopRunning():
- rcParams['backend'] = 'wx' + 'Agg' * is_agg_backend
- elif 'PyQt4.QtCore' in sys.modules and not backend == 'Qt4Agg':
- import PyQt4.QtGui
- if not PyQt4.QtGui.qApp.startingUp():
- # The mainloop is running.
- rcParams['backend'] = 'qt4Agg'
- elif 'PyQt5.QtCore' in sys.modules and not backend == 'Qt5Agg':
- import PyQt5.QtWidgets
- if not PyQt5.QtWidgets.qApp.startingUp():
- # The mainloop is running.
- rcParams['backend'] = 'qt5Agg'
- elif ('gtk' in sys.modules
- and backend not in ('GTK', 'GTKAgg', 'GTKCairo')
- and 'gi.repository.GObject' not in sys.modules):
- import gobject
- if gobject.MainLoop().is_running():
- rcParams['backend'] = 'gtk' + 'Agg' * is_agg_backend
- elif 'Tkinter' in sys.modules and not backend == 'TkAgg':
- # import Tkinter
- pass # what if anything do we need to do for tkinter?
- _backend_selection()
- ## Global ##
- from matplotlib.backends import pylab_setup
- > _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
- /usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py:109:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylab_setup():
- 'return new_figure_manager, draw_if_interactive and show for pylab'
- # Import the requested backend into a generic module object
- if backend.startswith('module://'):
- backend_name = backend[9:]
- else:
- backend_name = 'backend_'+backend
- backend_name = backend_name.lower() # until we banish mixed case
- backend_name = 'matplotlib.backends.%s'%backend_name.lower()
- # the last argument is specifies whether to use absolute or relative
- # imports. 0 means only perform absolute imports.
- backend_mod = __import__(backend_name,
- > globals(),locals(),[backend_name],0)
- /usr/local/lib/python2.7/dist-packages/matplotlib/backends/__init__.py:32:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- from __future__ import (absolute_import, division, print_function,
- unicode_literals)
- import six
- import numpy as np
- import sys
- import warnings
- from . import backend_agg
- > from . import backend_gtk3
- /usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_gtk3agg.py:11:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- from __future__ import (absolute_import, division, print_function,
- unicode_literals)
- import six
- import os, sys
- def fn_name(): return sys._getframe(1).f_code.co_name
- try:
- import gi
- except ImportError:
- raise ImportError("Gtk3 backend requires pygobject to be installed.")
- try:
- gi.require_version("Gtk", "3.0")
- except AttributeError:
- raise ImportError(
- "pygobject version too old -- it must have require_version")
- except ValueError:
- raise ImportError(
- "Gtk3 backend requires the GObject introspection bindings for Gtk 3 "
- "to be installed.")
- try:
- from gi.repository import Gtk, Gdk, GObject, GLib
- except ImportError:
- raise ImportError("Gtk3 backend requires pygobject to be installed.")
- import matplotlib
- from matplotlib._pylab_helpers import Gcf
- from matplotlib.backend_bases import RendererBase, GraphicsContextBase, \
- FigureManagerBase, FigureCanvasBase, NavigationToolbar2, cursors, TimerBase
- from matplotlib.backend_bases import ShowBase
- from matplotlib.cbook import is_string_like, is_writable_file_like
- from matplotlib.colors import colorConverter
- from matplotlib.figure import Figure
- from matplotlib.widgets import SubplotTool
- from matplotlib import lines
- from matplotlib import cbook
- from matplotlib import verbose
- from matplotlib import rcParams
- backend_version = "%s.%s.%s" % (Gtk.get_major_version(), Gtk.get_micro_version(), Gtk.get_minor_version())
- _debug = False
- #_debug = True
- # the true dots per inch on the screen; should be display dependent
- # see http://groups.google.com/groups?q=screen+dpi+x11&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=7077.26e81ad5%40swift.cs.tcd.ie&rnum=5 for some info about screen dpi
- PIXELS_PER_INCH = 96
- cursord = {
- > cursors.MOVE : Gdk.Cursor.new(Gdk.CursorType.FLEUR),
- cursors.HAND : Gdk.Cursor.new(Gdk.CursorType.HAND2),
- cursors.POINTER : Gdk.Cursor.new(Gdk.CursorType.LEFT_PTR),
- cursors.SELECT_REGION : Gdk.Cursor.new(Gdk.CursorType.TCROSS),
- }
- E TypeError: constructor returned NULL
- /usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_gtk3.py:55: TypeError
- ------------------------------- Captured stdout --------------------------------
- ERR: Matching Python module for TPRegion not found. [/home/travis/build/numenta/nupic.core/src/nupic/engine/RegionImplFactory.cpp line 431]
- ------------------------------- Captured stderr --------------------------------
- Failed to connect to Mir: Failed to connect to server socket: No such file or directory
- Unable to init server: Could not connect: Connection refused
- Failed to connect to Mir: Failed to connect to server socket: No such file or directory
- Unable to init server: Could not connect: Connection refused
- (py.test:4720): Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
- ______________________ ClusterParamsTest.testModelParams _______________________
- self = <tests.unit.nupic.frameworks.opf.common_models.cluster_params_test.ClusterParamsTest testMethod=testModelParams>
- def testModelParams(self):
- """
- Test that clusterParams loads returns a valid dict that can be instantiated
- as a CLAModel.
- """
- params = getScalarMetricWithTimeOfDayAnomalyParams([0],
- minVal=23.42,
- maxVal=23.420001)
- encodersDict= (
- params['modelConfig']['modelParams']['sensorParams']['encoders'])
- > model = ModelFactory.create(modelConfig=params['modelConfig'])
- tests/unit/nupic/frameworks/opf/common_models/cluster_params_test.py:49:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- modelConfig = {'aggregationInfo': {'days': 0, 'fields': [], 'hours': 0, 'microseconds': 0, ...}, 'model': 'CLA', 'modelParams': {'an...ssifierRegion', 'steps': '1', 'verbosity': 0}, 'inferenceType': 'TemporalAnomaly', ...}, 'predictAheadTime': None, ...}
- logLevel = 40
- @staticmethod
- def create(modelConfig, logLevel=logging.ERROR):
- """ Create a new model instance, given a description dictionary.
- @param modelConfig (dict)
- A dictionary describing the current model (TODO: schema)
- @param logLevel (int) The level of logging output that should be generated
- @exception (Exception) Unsupported model type
- @returns (nupic.frameworks.opf.model.Model) A model.
- """
- logger = ModelFactory.__getLogger()
- logger.setLevel(logLevel)
- logger.debug("ModelFactory returning Model from dict: %s", modelConfig)
- modelClass = None
- if modelConfig['model'] == "CLA":
- modelClass = CLAModel
- elif modelConfig['model'] == "TwoGram":
- modelClass = TwoGramModel
- elif modelConfig['model'] == "PreviousValue":
- modelClass = PreviousValueModel
- else:
- raise Exception("ModelFactory received unsupported Model type: %s" % \
- modelConfig['model'])
- > return modelClass(**modelConfig['modelParams'])
- ../.local/lib/python2.7/site-packages/nupic/frameworks/opf/modelfactory.py:80:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <nupic.frameworks.opf.clamodel.CLAModel object at 0x7f56cbcbb6d0>
- sensorParams = {'encoders': {'c0_dayOfWeek': None, 'c0_timeOfDay': {'fieldname': 'c0', 'name': 'c0', 'timeOfDay': [21, 9.49], 'type':...c1': {'fieldname': 'c1', 'name': 'c1', 'resolution': 0.001, 'seed': 42, ...}}, 'sensorAutoReset': None, 'verbosity': 0}
- inferenceType = 'TemporalAnomaly', predictedField = None, spEnable = True
- spParams = {'columnCount': 2048, 'globalInhibition': 1, 'inputWidth': 0, 'maxBoost': 1.0, ...}
- trainSPNetOnlyIfRequested = False, tpEnable = True
- tpParams = {'activationThreshold': 13, 'cellsPerColumn': 32, 'columnCount': 2048, 'globalDecay': 0.0, ...}
- clEnable = False
- clParams = {'alpha': 0.035828933612158, 'regionName': 'SDRClassifierRegion', 'steps': '1', 'verbosity': 0}
- anomalyParams = {'anomalyCacheRecords': None, 'autoDetectThreshold': None, 'autoDetectWaitRecords': 5030}
- minLikelihoodThreshold = 0.0001, maxPredictionsPerStep = 8, network = None
- def __init__(self,
- sensorParams={},
- inferenceType=InferenceType.TemporalNextStep,
- predictedField=None,
- spEnable=True,
- spParams={},
- # TODO: We can't figure out what this is. Remove?
- trainSPNetOnlyIfRequested=False,
- tpEnable=True,
- tpParams={},
- clEnable=True,
- clParams={},
- anomalyParams={},
- minLikelihoodThreshold=DEFAULT_LIKELIHOOD_THRESHOLD,
- maxPredictionsPerStep=DEFAULT_MAX_PREDICTIONS_PER_STEP,
- network=None):
- """CLAModel constructor.
- Args:
- inferenceType: A value from the InferenceType enum class.
- predictedField: The field to predict for multistep prediction.
- sensorParams: A dictionary specifying the sensor parameters.
- spEnable: Whether or not to use a spatial pooler.
- spParams: A dictionary specifying the spatial pooler parameters. These
- are passed to the spatial pooler.
- trainSPNetOnlyIfRequested: If set, don't create an SP network unless the
- user requests SP metrics.
- tpEnable: Whether to use a temporal pooler.
- tpParams: A dictionary specifying the temporal pooler parameters. These
- are passed to the temporal pooler.
- clEnable: Whether to use the classifier. If false, the classifier will
- not be created and no predictions will be generated.
- clParams: A dictionary specifying the classifier parameters. These are
- are passed to the classifier.
- anomalyParams: Anomaly detection parameters
- minLikelihoodThreshold: The minimum likelihood value to include in
- inferences. Currently only applies to multistep inferences.
- maxPredictionsPerStep: Maximum number of predictions to include for
- each step in inferences. The predictions with highest likelihood are
- included.
- """
- if not inferenceType in self.__supportedInferenceKindSet:
- raise ValueError("{0} received incompatible inference type: {1}"\
- .format(self.__class__, inferenceType))
- # Call super class constructor
- super(CLAModel, self).__init__(inferenceType)
- # self.__restoringFromState is set to True by our __setstate__ method
- # and back to False at completion of our _deSerializeExtraData() method.
- self.__restoringFromState = False
- self.__restoringFromV1 = False
- # Intitialize logging
- self.__logger = initLogger(self)
- self.__logger.debug("Instantiating %s." % self.__myClassName)
- self._minLikelihoodThreshold = minLikelihoodThreshold
- self._maxPredictionsPerStep = maxPredictionsPerStep
- # set up learning parameters (note: these may be replaced via
- # enable/disable//SP/TP//Learning methods)
- self.__spLearningEnabled = bool(spEnable)
- self.__tpLearningEnabled = bool(tpEnable)
- # Explicitly exclude the TP if this type of inference doesn't require it
- if not InferenceType.isTemporal(self.getInferenceType()) \
- or self.getInferenceType() == InferenceType.NontemporalMultiStep:
- tpEnable = False
- self._netInfo = None
- self._hasSP = spEnable
- self._hasTP = tpEnable
- self._hasCL = clEnable
- self._classifierInputEncoder = None
- self._predictedFieldIdx = None
- self._predictedFieldName = None
- self._numFields = None
- # init anomaly
- # -----------------------------------------------------------------------
- if network is not None:
- self._netInfo = NetworkInfo(net=network, statsCollectors=[])
- else:
- # Create the network
- self._netInfo = self.__createCLANetwork(
- sensorParams, spEnable, spParams, tpEnable, tpParams, clEnable,
- > clParams, anomalyParams)
- ../.local/lib/python2.7/site-packages/nupic/frameworks/opf/clamodel.py:207:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <nupic.frameworks.opf.clamodel.CLAModel object at 0x7f56cbcbb6d0>
- sensorParams = {'encoders': {'c0_dayOfWeek': None, 'c0_timeOfDay': {'fieldname': 'c0', 'name': 'c0', 'timeOfDay': [21, 9.49], 'type':...c1': {'fieldname': 'c1', 'name': 'c1', 'resolution': 0.001, 'seed': 42, ...}}, 'sensorAutoReset': None, 'verbosity': 0}
- spEnable = True
- spParams = {'columnCount': 2048, 'globalInhibition': 1, 'inputWidth': 454, 'maxBoost': 1.0, ...}
- tpEnable = True
- tpParams = {'activationThreshold': 13, 'cellsPerColumn': 32, 'columnCount': 2048, 'globalDecay': 0.0, ...}
- clEnable = False
- clParams = {'alpha': 0.035828933612158, 'regionName': 'SDRClassifierRegion', 'steps': '1', 'verbosity': 0}
- anomalyParams = {'anomalyCacheRecords': None, 'autoDetectThreshold': None, 'autoDetectWaitRecords': 5030}
- def __createCLANetwork(self, sensorParams, spEnable, spParams, tpEnable,
- tpParams, clEnable, clParams, anomalyParams):
- """ Create a CLA network and return it.
- description: CLA Model description dictionary (TODO: define schema)
- Returns: NetworkInfo instance;
- """
- #--------------------------------------------------
- # Create the network
- n = Network()
- #--------------------------------------------------
- # Add the Sensor
- n.addRegion("sensor", "py.RecordSensor", json.dumps(dict(verbosity=sensorParams['verbosity'])))
- sensor = n.regions['sensor'].getSelf()
- enabledEncoders = copy.deepcopy(sensorParams['encoders'])
- for name, params in enabledEncoders.items():
- if params is not None:
- classifierOnly = params.pop('classifierOnly', False)
- if classifierOnly:
- enabledEncoders.pop(name)
- # Disabled encoders are encoders that are fed to CLAClassifierRegion but not
- # SP or TP Regions. This is to handle the case where the predicted field
- # is not fed through the SP/TP. We typically just have one of these now.
- disabledEncoders = copy.deepcopy(sensorParams['encoders'])
- for name, params in disabledEncoders.items():
- if params is None:
- disabledEncoders.pop(name)
- else:
- classifierOnly = params.pop('classifierOnly', False)
- if not classifierOnly:
- disabledEncoders.pop(name)
- encoder = MultiEncoder(enabledEncoders)
- sensor.encoder = encoder
- sensor.disabledEncoder = MultiEncoder(disabledEncoders)
- sensor.dataSource = DataBuffer()
- prevRegion = "sensor"
- prevRegionWidth = encoder.getWidth()
- # SP is not enabled for spatial classification network
- if spEnable:
- spParams = spParams.copy()
- spParams['inputWidth'] = prevRegionWidth
- self.__logger.debug("Adding SPRegion; spParams: %r" % spParams)
- n.addRegion("SP", "py.SPRegion", json.dumps(spParams))
- # Link SP region
- n.link("sensor", "SP", "UniformLink", "")
- n.link("sensor", "SP", "UniformLink", "", srcOutput="resetOut",
- destInput="resetIn")
- n.link("SP", "sensor", "UniformLink", "", srcOutput="spatialTopDownOut",
- destInput="spatialTopDownIn")
- n.link("SP", "sensor", "UniformLink", "", srcOutput="temporalTopDownOut",
- destInput="temporalTopDownIn")
- prevRegion = "SP"
- prevRegionWidth = spParams['columnCount']
- if tpEnable:
- tpParams = tpParams.copy()
- if prevRegion == 'sensor':
- tpParams['inputWidth'] = tpParams['columnCount'] = prevRegionWidth
- else:
- assert tpParams['columnCount'] == prevRegionWidth
- tpParams['inputWidth'] = tpParams['columnCount']
- self.__logger.debug("Adding TPRegion; tpParams: %r" % tpParams)
- > n.addRegion("TP", "py.TPRegion", json.dumps(tpParams))
- ../.local/lib/python2.7/site-packages/nupic/frameworks/opf/clamodel.py:1132:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <nupic.engine.Network; proxy of <Swig Object of type 'nupic::Network *' at 0x7f56cbcca840> >
- name = 'TP', nodeType = 'py.TPRegion'
- nodeParams = '{"columnCount": 2048, "pamLength": 3, "permanenceInc": 0.1, "outputType": "normal", "initialPerm": 0.21, "seed": 1960...nputWidth": 2048, "maxSynapsesPerSegment": 32, "globalDecay": 0.0, "newSynapseCount": 20, "maxAge": 0, "verbosity": 0}'
- def addRegion(self, name, nodeType, nodeParams):
- """
- @doc:place_holder(Network.addRegion)
- """
- > engine.Network.addRegion(self, name, nodeType, nodeParams)
- ../.local/lib/python2.7/site-packages/nupic/engine/__init__.py:666:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <nupic.engine.Network; proxy of <Swig Object of type 'nupic::Network *' at 0x7f56cbcca840> >
- args = ('TP', 'py.TPRegion', '{"columnCount": 2048, "pamLength": 3, "permanenceInc": 0.1, "outputType": "normal", "initialPer...putWidth": 2048, "maxSynapsesPerSegment": 32, "globalDecay": 0.0, "newSynapseCount": 20, "maxAge": 0, "verbosity": 0}')
- kwargs = {}
- def addRegion(self, *args, **kwargs):
- """addRegion(self, name, nodeType, nodeParams) -> Region"""
- > return _engine_internal.Network_addRegion(self, *args, **kwargs)
- ../.local/lib/python2.7/site-packages/nupic/bindings/engine_internal.py:1109:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- import os
- import numpy
- from nupic.algorithms import anomaly
- from nupic.research import TP
- from nupic.research import TP10X2
- > from nupic.research import TP_shim
- ../.local/lib/python2.7/site-packages/nupic/regions/TPRegion.py:28:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- """
- import numpy
- from nupic.research.temporal_memory import TemporalMemory
- from nupic.bindings.algorithms import TemporalMemory as TemporalMemoryCPP
- > from nupic.research.monitor_mixin.temporal_memory_monitor_mixin import (
- TemporalMemoryMonitorMixin)
- ../.local/lib/python2.7/site-packages/nupic/research/TP_shim.py:31:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- """
- from collections import defaultdict
- import copy
- from prettytable import PrettyTable
- from nupic.research.monitor_mixin.metric import Metric
- > from nupic.research.monitor_mixin.monitor_mixin_base import MonitorMixinBase
- ../.local/lib/python2.7/site-packages/nupic/research/monitor_mixin/temporal_memory_monitor_mixin.py:33:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- """
- import abc
- import numpy
- from prettytable import PrettyTable
- > from nupic.research.monitor_mixin.plot import Plot
- ../.local/lib/python2.7/site-packages/nupic/research/monitor_mixin/monitor_mixin_base.py:84:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- """
- import os
- try:
- # We import in here to avoid creating a matplotlib dependency in nupic.
- > import matplotlib.pyplot as plt
- ../.local/lib/python2.7/site-packages/nupic/research/monitor_mixin/plot.py:30:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- """
- from __future__ import (absolute_import, division, print_function,
- unicode_literals)
- import six
- import sys
- import warnings
- import matplotlib
- import matplotlib.colorbar
- from matplotlib import style
- from matplotlib import _pylab_helpers, interactive
- from matplotlib.cbook import dedent, silent_list, is_string_like, is_numlike
- from matplotlib.cbook import _string_to_bool
- from matplotlib import docstring
- from matplotlib.backend_bases import FigureCanvasBase
- from matplotlib.figure import Figure, figaspect
- from matplotlib.gridspec import GridSpec
- from matplotlib.image import imread as _imread
- from matplotlib.image import imsave as _imsave
- from matplotlib import rcParams, rcParamsDefault, get_backend
- from matplotlib import rc_context
- from matplotlib.rcsetup import interactive_bk as _interactive_bk
- from matplotlib.artist import getp, get, Artist
- from matplotlib.artist import setp as _setp
- from matplotlib.axes import Axes, Subplot
- from matplotlib.projections import PolarAxes
- from matplotlib import mlab # for csv2rec, detrend_none, window_hanning
- from matplotlib.scale import get_scale_docs, get_scale_names
- from matplotlib import cm
- from matplotlib.cm import get_cmap, register_cmap
- import numpy as np
- # We may not need the following imports here:
- from matplotlib.colors import Normalize
- from matplotlib.colors import normalize # for backwards compat.
- from matplotlib.lines import Line2D
- from matplotlib.text import Text, Annotation
- from matplotlib.patches import Polygon, Rectangle, Circle, Arrow
- from matplotlib.widgets import SubplotTool, Button, Slider, Widget
- from .ticker import TickHelper, Formatter, FixedFormatter, NullFormatter,\
- FuncFormatter, FormatStrFormatter, ScalarFormatter,\
- LogFormatter, LogFormatterExponent, LogFormatterMathtext,\
- Locator, IndexLocator, FixedLocator, NullLocator,\
- LinearLocator, LogLocator, AutoLocator, MultipleLocator,\
- MaxNLocator
- ## Backend detection ##
- def _backend_selection():
- """ If rcParams['backend_fallback'] is true, check to see if the
- current backend is compatible with the current running event
- loop, and if not switches to a compatible one.
- """
- backend = rcParams['backend']
- if not rcParams['backend_fallback'] or \
- backend not in _interactive_bk:
- return
- is_agg_backend = rcParams['backend'].endswith('Agg')
- if 'wx' in sys.modules and not backend in ('WX', 'WXAgg'):
- import wx
- if wx.App.IsMainLoopRunning():
- rcParams['backend'] = 'wx' + 'Agg' * is_agg_backend
- elif 'PyQt4.QtCore' in sys.modules and not backend == 'Qt4Agg':
- import PyQt4.QtGui
- if not PyQt4.QtGui.qApp.startingUp():
- # The mainloop is running.
- rcParams['backend'] = 'qt4Agg'
- elif 'PyQt5.QtCore' in sys.modules and not backend == 'Qt5Agg':
- import PyQt5.QtWidgets
- if not PyQt5.QtWidgets.qApp.startingUp():
- # The mainloop is running.
- rcParams['backend'] = 'qt5Agg'
- elif ('gtk' in sys.modules
- and backend not in ('GTK', 'GTKAgg', 'GTKCairo')
- and 'gi.repository.GObject' not in sys.modules):
- import gobject
- if gobject.MainLoop().is_running():
- rcParams['backend'] = 'gtk' + 'Agg' * is_agg_backend
- elif 'Tkinter' in sys.modules and not backend == 'TkAgg':
- # import Tkinter
- pass # what if anything do we need to do for tkinter?
- _backend_selection()
- ## Global ##
- from matplotlib.backends import pylab_setup
- > _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
- /usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py:109:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def pylab_setup():
- 'return new_figure_manager, draw_if_interactive and show for pylab'
- # Import the requested backend into a generic module object
- if backend.startswith('module://'):
- backend_name = backend[9:]
- else:
- backend_name = 'backend_'+backend
- backend_name = backend_name.lower() # until we banish mixed case
- backend_name = 'matplotlib.backends.%s'%backend_name.lower()
- # the last argument is specifies whether to use absolute or relative
- # imports. 0 means only perform absolute imports.
- backend_mod = __import__(backend_name,
- > globals(),locals(),[backend_name],0)
- /usr/local/lib/python2.7/dist-packages/matplotlib/backends/__init__.py:32:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- from __future__ import (absolute_import, division, print_function,
- unicode_literals)
- import six
- import numpy as np
- import sys
- import warnings
- from . import backend_agg
- > from . import backend_gtk3
- /usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_gtk3agg.py:11:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- from __future__ import (absolute_import, division, print_function,
- unicode_literals)
- import six
- import os, sys
- def fn_name(): return sys._getframe(1).f_code.co_name
- try:
- import gi
- except ImportError:
- raise ImportError("Gtk3 backend requires pygobject to be installed.")
- try:
- gi.require_version("Gtk", "3.0")
- except AttributeError:
- raise ImportError(
- "pygobject version too old -- it must have require_version")
- except ValueError:
- raise ImportError(
- "Gtk3 backend requires the GObject introspection bindings for Gtk 3 "
- "to be installed.")
- try:
- from gi.repository import Gtk, Gdk, GObject, GLib
- except ImportError:
- raise ImportError("Gtk3 backend requires pygobject to be installed.")
- import matplotlib
- from matplotlib._pylab_helpers import Gcf
- from matplotlib.backend_bases import RendererBase, GraphicsContextBase, \
- FigureManagerBase, FigureCanvasBase, NavigationToolbar2, cursors, TimerBase
- from matplotlib.backend_bases import ShowBase
- from matplotlib.cbook import is_string_like, is_writable_file_like
- from matplotlib.colors import colorConverter
- from matplotlib.figure import Figure
- from matplotlib.widgets import SubplotTool
- from matplotlib import lines
- from matplotlib import cbook
- from matplotlib import verbose
- from matplotlib import rcParams
- backend_version = "%s.%s.%s" % (Gtk.get_major_version(), Gtk.get_micro_version(), Gtk.get_minor_version())
- _debug = False
- #_debug = True
- # the true dots per inch on the screen; should be display dependent
- # see http://groups.google.com/groups?q=screen+dpi+x11&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=7077.26e81ad5%40swift.cs.tcd.ie&rnum=5 for some info about screen dpi
- PIXELS_PER_INCH = 96
- cursord = {
- > cursors.MOVE : Gdk.Cursor.new(Gdk.CursorType.FLEUR),
- cursors.HAND : Gdk.Cursor.new(Gdk.CursorType.HAND2),
- cursors.POINTER : Gdk.Cursor.new(Gdk.CursorType.LEFT_PTR),
- cursors.SELECT_REGION : Gdk.Cursor.new(Gdk.CursorType.TCROSS),
- }
- E TypeError: constructor returned NULL
- /usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_gtk3.py:55: TypeError
- ------------------------------- Captured stdout --------------------------------
- ERR: Matching Python module for TPRegion not found. [/home/travis/build/numenta/nupic.core/src/nupic/engine/RegionImplFactory.cpp line 431]
- ------------------------------- Captured stderr --------------------------------
- Failed to connect to Mir: Failed to connect to server socket: No such file or directory
- Unable to init server: Could not connect: Connection refused
- Failed to connect to Mir: Failed to connect to server socket: No such file or directory
- Unable to init server: Could not connect: Connection refused
- (py.test:4771): Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
- ============== 2 failed, 879 passed, 24 skipped in 120.07 seconds ==============
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement