danupurnomo commited on
Commit
eea6acb
1 Parent(s): c4bb1a4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -53,7 +53,7 @@ model_seq = load_model(cached_download(
53
  ))
54
 
55
  ### Example A New Data
56
- ```
57
  new_data = {
58
  'PassengerId': 1191,
59
  'Pclass': 1,
@@ -71,12 +71,12 @@ new_data = pd.DataFrame([new_data])
71
  ```
72
 
73
  ### Transform Inference-Set
74
- ```
75
  new_data_transform = model_pipeline.transform(new_data)
76
  ```
77
 
78
  ### Predict using Neural Networks
79
- ```
80
  y_pred_inf_single = model_seq.predict(new_data_transform)
81
  y_pred_inf_single = np.where(y_pred_inf_single >= 0.5, 1, 0)
82
  print('Result : ', y_pred_inf_single)
 
53
  ))
54
 
55
  ### Example A New Data
56
+ ```python
57
  new_data = {
58
  'PassengerId': 1191,
59
  'Pclass': 1,
 
71
  ```
72
 
73
  ### Transform Inference-Set
74
+ ```python
75
  new_data_transform = model_pipeline.transform(new_data)
76
  ```
77
 
78
  ### Predict using Neural Networks
79
+ ```python
80
  y_pred_inf_single = model_seq.predict(new_data_transform)
81
  y_pred_inf_single = np.where(y_pred_inf_single >= 0.5, 1, 0)
82
  print('Result : ', y_pred_inf_single)