def test_get_component(self):
        self.assertEqual(http, loader.get_component('http'))

        self.assertIsNotNone(loader.get_component('switch.test'))
Split data and labels between examples and other (for train & test).
dataset/ETHPy150Open home-assistant/home-assistant/tests/test_loader.py/TestLoader.test_get_component--crossover with--dataset/ETHPy150Open omangin/multimodal/multimodal/experiment.py/MultimodalExperiment._set_data_and_labels_for_examples