We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First, Transfer Learning documentation needs an update. It references
` data = dp.Data("your_file.csv")
model_results = data_labeler.fit(x=data['samples'], y=data['labels'], validation_split=0.2, epochs=2, labels=labels) `
Accessing the dp.Data object directly isn't subscriptable - you need the data property of the BaseData child class to access the embedded dataframe.
eg: data = dp.Data("your_file.csv") data_frame = data.data model_results = data_labeler.fit(x=data_frame['samples'], y=data_frame['labels'], validation_split=0.2, epochs=2, labels=labels)
data = dp.Data("your_file.csv") data_frame = data.data model_results = data_labeler.fit(x=data_frame['samples'], y=data_frame['labels'], validation_split=0.2, epochs=2, labels=labels)
Second, when running a transfer learning per documented process, the package returns the following error:
ValueError: The default_label of UNKNOWN must exist in the label mapping.
default_label
This makes sense when extending with a new label, but transfer learning doesn't work as documented.
The text was updated successfully, but these errors were encountered:
tyfarnan
micdavis
No branches or pull requests
First, Transfer Learning documentation needs an update. It references
`
data = dp.Data("your_file.csv")
model_results = data_labeler.fit(x=data['samples'], y=data['labels'],
validation_split=0.2, epochs=2, labels=labels)
`
Accessing the dp.Data object directly isn't subscriptable - you need the data property of the BaseData child class to access the embedded dataframe.
eg:
data = dp.Data("your_file.csv") data_frame = data.data model_results = data_labeler.fit(x=data_frame['samples'], y=data_frame['labels'], validation_split=0.2, epochs=2, labels=labels)
Second, when running a transfer learning per documented process, the package returns the following error:
This makes sense when extending with a new label, but transfer learning doesn't work as documented.
The text was updated successfully, but these errors were encountered: