def checkdims(self):
if '<STR_LIT:Y>' in self.ks and '<STR_LIT:X>' in self.ks:<EOL><INDENT>self.assertTrue(self.d['<STR_LIT:X>'].shape[<NUM_LIT:0>]==self.d['<STR_LIT:Y>'].shape[<NUM_LIT:0>])<EOL><DEDENT>if '<STR_LIT>' in self.ks and '<STR_LIT>' in self.ks:<EOL><INDENT>self.assertTrue(self.d['<STR_LIT>'].shape[<NUM_LIT:0>]==self.d['<STR_LIT>'].shape[<NUM_LIT:0>])<EOL><DEDENT>if '<STR_LIT:Y>' in self.ks and '<STR_LIT>' in self.ks:<EOL><INDENT>self.assertTrue(self.d['<STR_LIT:Y>'].shape[<NUM_LIT:1>]==self.d['<STR_LIT>'].shape[<NUM_LIT:1>])<EOL><DEDENT>if '<STR_LIT:X>' in self.ks and '<STR_LIT>' in self.ks:<EOL><INDENT>self.assertTrue(self.d['<STR_LIT:X>'].shape[<NUM_LIT:1>]==self.d['<STR_LIT>'].shape[<NUM_LIT:1>])<EOL><DEDENT>if '<STR_LIT>' in self.ks and '<STR_LIT:X>' in self.ks:<EOL><INDENT>self.assertTrue(len(self.d['<STR_LIT>'])==self.d['<STR_LIT:X>'].shape[<NUM_LIT:1>])<EOL><DEDENT>if '<STR_LIT>' in self.ks and '<STR_LIT:Y>' in self.ks:<EOL><INDENT>self.assertTrue(len(self.d['<STR_LIT>'])==self.d['<STR_LIT:Y>'].shape[<NUM_LIT:1>])<EOL><DEDENT>
Check the dimensions of the data in the dataset