Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # TO-DO replace this with label map
- def class_text_to_int(row_label):
- if row_label == 'kedi':
- return 1
- elif row_label == 'kopek':
- return 2
- elif row_label == 'civciv':
- return 3
- else:
- None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement