original_docstring:  Joins datasets from multiple tasks to a single dataset as a baseline control and returns training and validation splints. 
docstring: Joins datasets from multiple tasks to a single dataset as a baseline control and returns training and validation splints.
docstring_tokens: Joins datasets from multiple tasks to a single dataset as a baseline control and returns training and validation splints .
code: def mk_joined_dataset( full_datasets, split_fractions = (0.9, 0.1) ):
      """ Joins datasets from multiple tasks to a single dataset as a baseline control and returns training and validation splints. """
      l = len(full_datasets)
      data = np.concatenate([ full_datasets[i][0] for i in range(l) ], 0)
      labels = np.concatenate([ full_datasets[i][1] for i in range(l) ], 0)
      return split_dataset((data, labels), split_fractions)
code_tokens: def mk_joined_dataset ( full_datasets , split_fractions = ( 0.9 , 0.1 ) ) : l = len ( full_datasets ) data = np . concatenate ( [ full_datasets [ i ] [ 0 ] for i in range ( l ) ] , 0 ) labels = np . concatenate ( [ full_datasets [ i ] [ 1 ] for i in range ( l ) ] , 0 ) return split_dataset ( ( data , labels ) , split_fractions )
short_docstring: Joins datasets from multiple tasks to a single dataset as a baseline control and returns training and validation splints.
short_docstring_tokens: Joins datasets from multiple tasks to a single dataset as a baseline control and returns training and validation splints .
comment: """ Joins datasets from multiple tasks to a single dataset as a baseline control and returns training and validation splints. """