Update README.md
Browse files
README.md
CHANGED
|
@@ -90,11 +90,11 @@ and inspecting the loaded dataset
|
|
| 90 |
HematoxLong2023
|
| 91 |
DatasetDict({
|
| 92 |
test: Dataset({
|
| 93 |
-
features: ['
|
| 94 |
num_rows: 594
|
| 95 |
})
|
| 96 |
train: Dataset({
|
| 97 |
-
features: ['
|
| 98 |
num_rows: 1788
|
| 99 |
})
|
| 100 |
})
|
|
@@ -121,13 +121,13 @@ Split and evaluate the catboost model
|
|
| 121 |
|
| 122 |
split_featurised_dataset = featurise_dataset(
|
| 123 |
split_dataset,
|
| 124 |
-
column = "
|
| 125 |
representations = load_representations_from_dicts([{"name": "morgan"}, {"name": "maccs_rdkit"}]))
|
| 126 |
|
| 127 |
model = load_model_from_dict({
|
| 128 |
"name": "cat_boost_classifier",
|
| 129 |
"config": {
|
| 130 |
-
"x_features": ['
|
| 131 |
"y_features": ['Label']}})
|
| 132 |
|
| 133 |
model.train(split_featurised_dataset["train"])
|
|
|
|
| 90 |
HematoxLong2023
|
| 91 |
DatasetDict({
|
| 92 |
test: Dataset({
|
| 93 |
+
features: ['SMILES', 'label'],
|
| 94 |
num_rows: 594
|
| 95 |
})
|
| 96 |
train: Dataset({
|
| 97 |
+
features: ['SMILES', 'label'],
|
| 98 |
num_rows: 1788
|
| 99 |
})
|
| 100 |
})
|
|
|
|
| 121 |
|
| 122 |
split_featurised_dataset = featurise_dataset(
|
| 123 |
split_dataset,
|
| 124 |
+
column = "SMILES",
|
| 125 |
representations = load_representations_from_dicts([{"name": "morgan"}, {"name": "maccs_rdkit"}]))
|
| 126 |
|
| 127 |
model = load_model_from_dict({
|
| 128 |
"name": "cat_boost_classifier",
|
| 129 |
"config": {
|
| 130 |
+
"x_features": ['SMILES::morgan', 'SMILES::maccs_rdkit'],
|
| 131 |
"y_features": ['Label']}})
|
| 132 |
|
| 133 |
model.train(split_featurised_dataset["train"])
|