Skip to content

Commit 41c7d00

Browse files
author
kimmo1019
committed
update
1 parent accabf7 commit 41c7d00

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ After training the model, you will have three part of outputs, which are marked
9898

9999
### Real Data
100100

101-
Next, we tested Roundtrip on different types of real data including five datasets from UCI machine learning repository and two image datasets. We provided freely public access to all related datasets (UCI datasets, image datasets, and OODS datasets), which can be download from a [zenodo repository](https://zenodo.org/record/3748270#.XpFvgdNKhTY). All you need is to download the corresponding dataset (e.g., `AreM.tar.gz`), uncompress the data under `datasets` folder. Please also note that we provided various of pretrain models for a quick implementation of Roundtrip without training.
101+
Next, we tested Roundtrip on different types of real data including five datasets from UCI machine learning repository and two image datasets. We provided freely public access to all related datasets (UCI datasets, image datasets, and OODS datasets), which can be download from a [zenodo repository](https://doi.org/10.5281/zenodo.3747144). All you need is to download the corresponding dataset (e.g., `AreM.tar.gz`), uncompress the data under `datasets` folder. Please also note that we provided various of pretrain models for a quick implementation of Roundtrip without training (see pretrain models section).
102102

103103

104104
#### UCI Datasets
@@ -163,7 +163,7 @@ After model test, the generated images can be found in the first part of outputs
163163

164164
### Outlier Detection
165165

166-
We introduced three outlier detection datasets (Shuttle, Mammography, and ForestCover) from [ODDS library](http://odds.cs.stonybrook.edu/). Download the three datasets (`ODDS.tar.gz`) from the [zenodo repository](https://zenodo.org/record/3748270#.XpFvgdNKhTY). Uncompress it under the `datasets` folder.
166+
We introduced three outlier detection datasets (Shuttle, Mammography, and ForestCover) from [ODDS library](http://odds.cs.stonybrook.edu/). Download the three datasets (`ODDS.tar.gz`) from the [zenodo repository](https://doi.org/10.5281/zenodo.3747144). Uncompress it under the `datasets` folder.
167167

168168
One can run the following commonds to train a Roundtrip model and evaluate by precision at K.
169169

@@ -203,20 +203,20 @@ The precision at K of Roundtrip, One-class SVM and Isolation Forest will be calc
203203
204204
### Pretrain Models
205205
206-
We provide various of pretrain models for a quick implementation of Roundtrip. First, one needs to download the pretrain models `pre_trained_models.tar.gz` from [zenodo repository](https://zenodo.org/record/3748270#.XpFvgdNKhTY). Then uncompress it under `Roundtrip` folder. For the above models that use `evaluate.py` for model evaluation. One can simply add `--pretrain True` to the end of each command. For an example, one can run
206+
We provide various of pretrain models for a quick implementation of Roundtrip. First, one needs to download the pretrain models `pre_trained_models.tar.gz` from [zenodo repository](https://doi.org/10.5281/zenodo.3747144). Then uncompress it under `Roundtrip` folder. For the above models that use `evaluate.py` for model evaluation. One can simply add `--pretrain True` to the end of each command. For an example, one can run
207207
208208
```python
209209
python evaluate.py --data mnist --path path --pretrain True
210210
```
211211
212-
This can implement the Beyes posterior probability estimation, which will result in around 98.3% classification accuracy. Note that in pretrain evaluation, the `path` parameter can be any fold path like `density_est_YYYYMMDD_HHMMSS_mnist_x_dim=100_y_dim=784_alpha=10.0_beta=10.0`. `path` name is also used for parameter parsing in `evaluate.py`.
212+
This can implement the Beyes posterior probability estimation, which will result in around 98.3% classification accuracy. Note that in pretrain evaluation, the `path` parameter can be any fold path like `density_est_YYYYMMDD_HHMMSS_mnist_x_dim=100_y_dim=784_alpha=10.0_beta=10.0`. `path` name is necessary as it is used for parsing parameters in `evaluate.py`.
213213
214214
215215
## Contact
216216
217217
Roundtrip has various downstream applications including unsupervised learning (see our [paper](https://www.biorxiv.org/content/10.1101/2020.08.17.254730v1.abstract) accepted by Nature Machine Intelligence), likelihood-free Bayesian inference and sequential Markov chain Monte Carlo (MCMC). Always open to cooperation opportunities. If you're interested, do not hesitate to contact me.
218218
219-
Also Feel free to open an issue in Github or contact `liu-q16@mails.tsinghua.edu.cn` or `liuqiao@stanford.edu` if you have any problem in Roundtrip.
219+
Also Feel free to open an issue in Github or contact `liuqiao@stanford.edu` if you have any problem in Roundtrip.
220220
221221
222222
## License

0 commit comments

Comments
 (0)