haneulpark commited on
Commit
dac8dd4
·
verified ·
1 Parent(s): f9caddd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -9
README.md CHANGED
@@ -34,7 +34,6 @@ dataset_info:
34
  names:
35
  0: 0
36
  1: 1
37
-
38
  ---
39
 
40
  # Hematotoxicity Dataset (HematoxLong2022)
@@ -99,20 +98,19 @@ then load, featurize, split, fit, and evaluate the a catboost model
99
  representations = load_representations_from_dicts([{"name": "morgan"}, {"name": "maccs_rdkit"}]))
100
 
101
  model = load_model_from_dict({
102
- "name": "cat_boost__regressor",
103
  "config": {
104
  "x_features": ['smiles::morgan', 'smiles::maccs_rdkit'],
105
- "y_features": ['log_solubility'],
106
- })
107
-
108
  model.train(split_featurised_dataset["train"])
109
  preds = model.predict(split_featurised_dataset["test"])
110
 
111
- regression_suite = load_suite("regression")
112
 
113
- scores = regression_suite.compute(
114
- references=split_featurised_dataset["test"]['Solubility'],
115
- predictions=preds["cat_boost_regressor::Solubility"])
116
 
117
  ## Citation
118
  Cite this:
 
34
  names:
35
  0: 0
36
  1: 1
 
37
  ---
38
 
39
  # Hematotoxicity Dataset (HematoxLong2022)
 
98
  representations = load_representations_from_dicts([{"name": "morgan"}, {"name": "maccs_rdkit"}]))
99
 
100
  model = load_model_from_dict({
101
+ "name": "cat_boost_classifier",
102
  "config": {
103
  "x_features": ['smiles::morgan', 'smiles::maccs_rdkit'],
104
+ "y_features": ['0/1']}})
105
+
 
106
  model.train(split_featurised_dataset["train"])
107
  preds = model.predict(split_featurised_dataset["test"])
108
 
109
+ classification_suite = load_suite("classification")
110
 
111
+ scores = classification_suite.compute(
112
+ references=split_featurised_dataset["test"]['0/1-'],
113
+ predictions=preds["cat_boost_classifier::0/1-"])
114
 
115
  ## Citation
116
  Cite this: