While going through this notebook this line was passing the parameters in what it seems outdated way
print(model.query(variables=['P'], conditions={'L': {0}, 'F': {0}, 'A': {0}}))
Also this block had some problems
test_data = data[0.75 * data.shape[0] : data.shape[0]] test_data.drop('P', axis=1, inplace=True) model.predict(test_data)
While going through this notebook this line was passing the parameters in what it seems outdated way
print(model.query(variables=['P'], conditions={'L': {0}, 'F': {0}, 'A': {0}}))
Also this block had some problems
test_data = data[0.75 * data.shape[0] : data.shape[0]] test_data.drop('P', axis=1, inplace=True) model.predict(test_data)