def create_feature_class_set(dataset):
    """ Gets the dataset and generates a feature set and class set.

    :param dataset:
        dataset - list[list]: The dataset which contains the attributes and classes.

            Example: [[0.23, 0.34, 0.33, 0.12, 0.45, 0.68, 'cp'], [0.13, 0.35, 0.01, 0.72, 0.25, 0.08, 'pp'], .... ]

    Yields:
        features_set - list[list]: Feature set which contains the feature/attribute values.

            Example: [[0.23, 0.34, 0.33, 0.12, 0.45, 0.68], [0.13, 0.35, 0.01, 0.72, 0.25, 0.08], ....]

        class_set - list[list]: Class set which contains the class values.

            Example: ['cp', 'pp', ....]
    """
    feature_set = []
    class_set = []
    for row in dataset:
        size = len(row) - 1
        feature_set.append(row[:size])
        class_set.append(''.join(row[size:]))
    return feature_set, class_set