Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. import pandas as pd
  2. import numpy as np
  3. from sklearn.linear_model import LinearRegression
  4. from sklearn.ensemble import RandomForestRegressor
  5. from sklearn.metrics import mean_squared_error
  6. import math
  7.  
  8. def main():
  9. df_train = pd.read_csv("train.csv")
  10. df_test = pd.read_csv("test.csv")
  11.  
  12. df_train[["gap", "smiles"]].to_csv("train_gap.csv")
  13. df_test[["smiles"]].to_csv("test_gap.csv")
  14.  
  15. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement