You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
-->
16
16
# Contributing
17
17
18
-
This file provides general guidance for anyone contributing to IBM OmiXai. For technical details on improving the code base please see the `DEV_MANUAL.md`, this contains general information on how to contibute to this repositry.
18
+
This file provides general guidance for anyone contributing to IBM AutoXAI4Omics. For technical details on improving the code base please see the `DEV_MANUAL.md`, this contains general information on how to contibute to this repositry.
19
19
20
20
## Branch managment
21
21
@@ -62,7 +62,7 @@ and "help wanted" is open to whoever wants to implement it.
62
62
63
63
### Write Documentation/tests
64
64
65
-
OmiXai could always use more documentation, whether as part of the
65
+
AutoXAI4Omics could always use more documentation, whether as part of the
66
66
official docs, in docstrings, or more tests to increase the reliability and coverage.
Copy file name to clipboardExpand all lines: DEV_MANUAL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,3 +76,7 @@ Each subclass should has a `nickname` class attribute, which is the model's alia
76
76
To add a new measure, simply register the function in the dictionary in `src/metrics/metric_defs.py`.
77
77
78
78
The only caveat here is that the sklearn convention is that a higher value is better. This convention is used in the hyperparameter tuning, and so when specifying a loss or an error, then when calling `make_scorer()` then you need to pass `greater_is_better=False`. In this case, the values become negative, so when plotting the absolute value needs to be taken (this can also be done for the .csv results if desired, but is not currently).
79
+
80
+
## Container security
81
+
82
+
If you need to have a image with less vunerabilities/other requirments the base image can be changed in the dockerfile to whatever works for your personal requirments. All the only requirement is that `python3.9` is installed
Copy file name to clipboardExpand all lines: README.md
+19-23Lines changed: 19 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@
14
14
limitations under the License.
15
15
-->
16
16
17
-
# OmiXai: an Explainable Auto-AI tool for omics and tabular data
17
+
# Automated Explainable AI for Omics (AutoXAI4Omics): an Explainable Auto-AI tool for omics and tabular data
18
18
19
-
OmiXai is a command line automated explainable AI tool that easily enable researchers to perform phenotype prediction from omics data (e.g., gene expression; microbiome data; or any tabular data) and any tabular data (e.g., clinical) using a range of ML models.
19
+
AutoXAI4Omics is a command line automated explainable AI tool that easily enable researchers to perform phenotype prediction from omics data (e.g., gene expression; microbiome data; or any tabular data) and any tabular data (e.g., clinical) using a range of ML models.
20
20
21
21
*Key features include*:
22
22
@@ -31,13 +31,9 @@ OmiXai is a command line automated explainable AI tool that easily enable resear
31
31
* prediction on new data using the best model
32
32
* packaged as a Docker container
33
33
34
-
## Important note
35
-
36
-
This tool is for IBM internal use ONLY.
37
-
38
34
## Citation
39
35
40
-
For general IBM internal use of the tool please cite this article:
36
+
For citation of this tool, please reference this article:
41
37
42
38
* Carrieri, A.P., Haiminen, N., Maudsley-Barton, S. et al. Explainable AI reveals changes in skin microbiome composition linked to phenotypic differences. Sci Rep 11, 4565 (2021). <https://doi.org/10.1038/s41598-021-83922-6>
43
39
@@ -49,49 +45,49 @@ For general IBM internal use of the tool please cite this article:
* Python 3.9 (only required if the user is planning on contributing to the development of the tool)
51
47
52
-
## How to install OmiXai
48
+
## How to install AutoXAI4Omics
53
49
54
-
1. Clone this repo however you choose (cli command: `git clone --single-branch --branch main [email protected]:BiomedSciAI-Innersource/OmiXai.git`)
50
+
1. Clone this repo however you choose (cli command: `git clone --single-branch --branch main [email protected]:BiomedSciAI-Innersource/AutoXAI4Omics.git`)
55
51
2. Make sure `docker` is running (cli command: `docker version`, if installed the version information will be given)
56
-
3. Within the `OmiXai` folder:
52
+
3. Within the `AutoXAI4Omics` folder:
57
53
1. Run the following cli command to build the image: `./build.sh -r`
58
54
2. Manually create a new folder called `experiments`
59
55
60
56
NOTE: if training is run by mistake without first creating the `experiments` directory, and the directory is created while training, the directory needs to be removed and then created again before running training (has to do with access permissions)
61
57
62
58
## User manual
63
59
64
-
Everything is controlled through a config dictionary, examples of which can be found in the `configs/exmaples` folder. For an explanation of all parameters, please see the [***CONFIG MANUAL***](https://github.ibm.com/BiomedSciAI-Innersource/OmiXai/blob/main/configs/CONFIG_MANUAL.md).
60
+
Everything is controlled through a config dictionary, examples of which can be found in the `configs/exmaples` folder. For an explanation of all parameters, please see the [***CONFIG MANUAL***](https://github.ibm.com/BiomedSciAI-Innersource/AutoXAI4Omics/blob/main/configs/CONFIG_MANUAL.md).
65
61
66
-
The tool is launched in the cli using `omixai.sh` which has multiple flags, examples will be given below:
62
+
The tool is launched in the cli using `autoxai4omics.sh` which has multiple flags, examples will be given below:
67
63
68
-
*`-m` this specifies what mode you want to run OmiXai in the options are:
64
+
*`-m` this specifies what mode you want to run AutoXAI4Omics in the options are:
69
65
*`feature` - Run feature selection on a input data set
70
66
*`train` - Tune and train various machine learning models, generate plots and results
71
67
*`test` - To test and evaluate the tuned and trained machine learning models on a completely different holdout dataset
72
68
*`predict` - Use trained models to predict on unseen data
73
69
*`plotting` - If the models have been tuned and trained (and therefore saved), the plots and results can be generated in isolation
74
70
*`bash` - Use to open up a bash shell into the tool
75
-
*`-c` this is the filename of the config json within the `OmiXai/configs` folder that is going to be given to OmiXai
71
+
*`-c` this is the filename of the config json within the `AutoXAI4Omics/configs` folder that is going to be given to AutoXAI4Omics
76
72
*`-r` this sets the contain to run as root. Only possibly required if you are running in `bash` mode
77
73
*`-d` this detatches the cli running the container in the background
78
-
*`-g` this specifies if you want OmiXai to use the gpus that are available on the machine (UNDER TESTING)
74
+
*`-g` this specifies if you want AutoXAI4Omics to use the gpus that are available on the machine (UNDER TESTING)
79
75
80
-
Data to be used by OmiXai needs to be stored in the `OmiXai/data` folder.
76
+
Data to be used by AutoXAI4Omics needs to be stored in the `AutoXAI4Omics/data` folder.
81
77
82
78
### Examples
83
79
84
-
* Run OmiXai in training mode with a config called `my_fun_config.json` within the `configs` folder:
85
-
*`./omixai.sh -m train -c my_fun_config.json`
80
+
* Run AutoXAI4Omics in training mode with a config called `my_fun_config.json` within the `configs` folder:
* cli command to run: `./omixai.sh -m train -c examples/50k_barley_SHAP.json`
87
+
* cli command to run: `./autoxai4omics.sh -m train -c examples/50k_barley_SHAP.json`
92
88
93
-
* If you wish to run a bash shell within the OmiXai image then you can do it using the following. In addition if you wish to be logged in as root add the `-r` flag:
94
-
*`./omixai.sh -m bash -r`
89
+
* If you wish to run a bash shell within the AutoXAI4Omics image then you can do it using the following. In addition if you wish to be logged in as root add the `-r` flag:
90
+
*`./autoxai4omics.sh -m bash -r`
95
91
96
-
***UNDER TESTING** If you wish to utilise any gpus that are available on your machine during your OmiXai run then you can add the `-g` flag:
97
-
*`./omixai.sh -m train -c my_fun_config.json -g`
92
+
***UNDER DEVELOPMENT** If you wish to utilise any gpus that are available on your machine during your AutoXAI4Omics run then you can add the `-g` flag:
0 commit comments