Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

featurization.py 372 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
  1. from preprocessing import preprocess_data
  2. print("featurizing Data...")
  3. sj_train, iq_train = preprocess_data("./data/dengue_features_train.csv",
  4. labels_path="./data/dengue_labels_train.csv")
  5. print("saving featurized Data")
  6. sj_train.to_csv("./data/featurized_train_sj.csv")
  7. iq_train.to_csv("./data/featurized_train_iq.csv")
  8. print("done!")
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...