build_train_sequence_with_batch_size

wanggaige21
wanggaige21 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 2 ✭✭✭

Dear experts,

Where can I find detailed api parameters information of deep learning related functions?

Such as "build_train_sequence_with_batch_size", I want to manually edit the training targets.

Best Regards

Wang Gaige

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,215 Dataiker

    Hi,
    You can find an example of build_train_sequence_with_batch_size usage here :

    https://doc.dataiku.com/dss/latest/machine-learning/deep-learning/advanced.html#build-sequence

    Thanks,

  • wanggaige21
    wanggaige21 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 2 ✭✭✭

    Hi, AlexT,

    Thanks for your answer. But what I want to do is changing the training input, such as the one hot encoding results. I need to know how to get the output of this function, which is similar to keras codes.

    class MyDataFrameIterator(image.DataFrameIterator):

    def __getitem__(self, idx):
    X_, y_ = super().__getitem__(idx)
    y_ = np.delete(y_, self.class_indices['Negative'], axis=1)
    return X_, y_

    def next(self):
    X_, y_ = super().next()
    y_ = np.delete(y_, self.class_indices['Negative'], axis=1)
    return X_, y_

Setup Info
    Tags
      Help me…