haneulpark commited on
Commit
7d4e21a
·
verified ·
1 Parent(s): 0cbca48

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -10
README.md CHANGED
@@ -6,7 +6,7 @@ tags:
6
  - toxicology
7
  pretty_name: AttentiveSkin
8
  dataset_summary: >-
9
- They compiled GHS dataset comprising 731 Corr., 1283 Irrit., and 1205 Neg. samples
10
  from 6 governmental databases and 2 external datasets.
11
  citation: >-
12
  @article{,
@@ -41,7 +41,12 @@ dataset_info:
41
  - name: "CAS RN"
42
  dtype: string
43
  - name: "GHS"
44
- dtype: string
 
 
 
 
 
45
  - name: "Detailed Page"
46
  dtype: string
47
  - name: "Evidence"
@@ -141,20 +146,20 @@ then load, featurize, split, fit, and evaluate the catboost model
141
  representations = load_representations_from_dicts([{"name": "morgan"}, {"name": "maccs_rdkit"}]))
142
 
143
  model = load_model_from_dict({
144
- "name": "cat_boost_regressor",
145
  "config": {
146
  "x_features": ['SMILES::morgan', 'SMILES::maccs_rdkit'],
147
- "y_features": ['log_solubility'],
148
- }})
149
-
150
  model.train(split_featurised_dataset["train"])
151
  preds = model.predict(split_featurised_dataset["test"])
152
 
153
- regression_suite = load_suite("regression")
154
 
155
- scores = regression_suite.compute(
156
- references=split_featurised_dataset["test"]['Solubility'],
157
- predictions=preds["cat_boost_regressor::Solubility"])
 
158
 
159
  ## AttentiveSkin
160
  To Predict Skin Corrosion/Irritation Potentials of Chemicals via Explainable Machine Learning Methods
 
6
  - toxicology
7
  pretty_name: AttentiveSkin
8
  dataset_summary: >-
9
+ They compiled GHS dataset comprising 731 Corrostion, 1283 Irritation, and 1205 Negative samples
10
  from 6 governmental databases and 2 external datasets.
11
  citation: >-
12
  @article{,
 
41
  - name: "CAS RN"
42
  dtype: string
43
  - name: "GHS"
44
+ dtype:
45
+ class_label:
46
+ names:
47
+ Cat 1: "Corrosion"
48
+ Cat 2: "Irritation"
49
+ NC: "Negative"
50
  - name: "Detailed Page"
51
  dtype: string
52
  - name: "Evidence"
 
146
  representations = load_representations_from_dicts([{"name": "morgan"}, {"name": "maccs_rdkit"}]))
147
 
148
  model = load_model_from_dict({
149
+ "name": "cat_boost_classifier",
150
  "config": {
151
  "x_features": ['SMILES::morgan', 'SMILES::maccs_rdkit'],
152
+ "y_features": ['GHS']}})
153
+
 
154
  model.train(split_featurised_dataset["train"])
155
  preds = model.predict(split_featurised_dataset["test"])
156
 
157
+ classification_suite = load_suite("classification")
158
 
159
+ scores = classification_suite.compute(
160
+ references=split_featurised_dataset["test"]['GHS'],
161
+ predictions=preds["cat_boost_classifier::GHS"])
162
+
163
 
164
  ## AttentiveSkin
165
  To Predict Skin Corrosion/Irritation Potentials of Chemicals via Explainable Machine Learning Methods