You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are interested in gap-filling and I tried an approach along these lines:
def splitcol(data, col):
""" splitcol
- split data in data without col and col.
- the split the data without col into data where col is not missing and
where col is missing.
"""
data_no_col = data.drop(col, axis = 1)
data_col = data[[col]]
data_col_non_na_idx = data_col.dropna().index
x_train = data_no_col.loc[data_col_non_na_idx]
y_train = data_col.loc[data_col_non_na_idx]
x_pred = data_no_col.drop(data_col_non_na_idx)
return x_train, y_train, x_pred
for col in var_cols:
col = var_cols[0]
x_train, y_train, x_pred = splitcol(wdi_data, col)
clf = TabPFNRegressor()
clf.fit(x_train, y_train)
prediction = clf.predict(x_pred)
but this fails in clf.predict because of #108 . Is there a plan to add gap-filling support?
The text was updated successfully, but these errors were encountered:
We are interested in gap-filling and I tried an approach along these lines:
but this fails in
clf.predict
because of #108 . Is there a plan to add gap-filling support?The text was updated successfully, but these errors were encountered: