diff --git a/2011/dlowe/README.md b/2011/dlowe/README.md index 7427478cc..eb0bddc13 100644 --- a/2011/dlowe/README.md +++ b/2011/dlowe/README.md @@ -40,7 +40,7 @@ Try these pre-trained networks: ./try.sh ``` -NOTE: The `dlowe-aux-data/` directory, which [try.sh](%%REPO_URL%%/2011/dlowe/try.sh) refers to, was +NOTE: The [dlowe-aux-data](%%REPO_URL%%/2011/dlowe/dlowe-aux-data) directory, which [try.sh](%%REPO_URL%%/2011/dlowe/try.sh) refers to, was created by: @@ -146,19 +146,19 @@ We created the [png-trained.net](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-trai - [dlowe-aux-data/png-0/](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-0) Non-png (gif) images -- [dlowe-aux-data/png-1/](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-0/dlowe-aux-data/png-1) +- [dlowe-aux-data/png-1/](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-1) png (non-gif) images -We created the [xor-trained.net](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-0/dlowe-aux-data/xor-trained.net) as follows: +We created the [xor-trained.net](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/xor-trained.net) as follows: ``` ./dlowe -8000 dlowe-aux-data/xor-1/ dlowe-aux-data/xor-0/ < /dev/null > dlowe-aux-data/xor-trained.net ``` -- [dlowe-aux-data/xor-0](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-0/dlowe-aux-data/xor-0) +- [dlowe-aux-data/xor-0](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/xor-0) Data that XORs to 0 -- [dlowe-aux-data/xor-1/](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-0/dlowe-aux-data/xor-1) +- [dlowe-aux-data/xor-1/](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/xor-1) Data that XORs to 1 **NOTE**: The directory args **must end in a** `/` for them to work. @@ -251,11 +251,11 @@ produced a network with about 87% accuracy #### English corpora -The [english-1](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-0/dlowe-aux-data/english-1) corpus was obtained by manually scraping the first results from +The [english-1](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/english-1) corpus was obtained by manually scraping the first results from a search for "[paris filetype:txt](https://www.google.com/search?q=paris+filetype%3Atxt&lr=lang_en&tbs=lr%3Alang_1en&sxsrf=APwXEdeHXyUYdUxCYQQDHmJhbHzX9aARSA%3A1683049834430&source=hp&ei=ak1RZJHUGN_DkPIP26OtkA8&iflsig=AOEireoAAAAAZFFbejA0Xfqoq__FXx--Ok0S6GQjnGnA&ved=0ahUKEwiRsZOcmdf-AhXfIUQIHdtRC_IQ4dUDCAo&uact=5&oq=paris+filetype%3Atxt&gs_lcp=Cgdnd3Mtd2l6EANQAFgAYN4DaABwAHgAgAE-iAE-kgEBMZgBAKABAqABAQ&sclient=gws-wiz)". -The [english-0](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-0/dlowe-aux-data/english-0) corpus was obtained by manually scraping the first results from +The [english-0](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/english-0) corpus was obtained by manually scraping the first results from a search for "[paris filetype:txt](https://www.google.com/search?q=paris+filetype%3Atxt&lr=lang_fr&tbs=lr%3Alang_1fr&sxsrf=APwXEddcsQ-gMhrqSUJo6omWFUl7jQMASg%3A1683049870736&source=hp&ei=jk1RZLevK_fKkPIPjbWN-AU&iflsig=AOEireoAAAAAZFFbnvExHGkcavB5H8F0xsLAWN2KfYFK&ved=0ahUKEwi3rrutmdf-AhV3JUQIHY1aA18Q4dUDCAo&uact=5&oq=paris+filetype%3Atxt&gs_lcp=Cgdnd3Mtd2l6EANQAFgAYLMDaABwAHgAgAE-iAE-kgEBMZgBAKABAqABAQ&sclient=gws-wiz)". @@ -265,7 +265,7 @@ filetype:txt](https://www.google.com/search?q=paris+filetype%3Atxt&lr=lang_fr&tb * Using these corpora as a training set; * Using several dozen additional text files (obtained by the same methods) as a test set; -* Using the included [earlystop.pl](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-0/earlystop.pl) script, which stopped after +* Using the included [earlystop.pl](%%REPO_URL%%/2011/dlowe/earlystop.pl) script, which stopped after 10000 iterations; * Interpreting output of `> 0.5` as "probably English" and `< 0.5` as "probably French" @@ -275,10 +275,10 @@ produced a network with 100% accuracy. ### xor corpora -The [xor-1](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-0/dlowe-aux-data/xor-1) corpus consists of two files containing `01` +The [xor-1](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/xor-1) corpus consists of two files containing `01` and `10` respectively. -The [xor-0](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/png-0/dlowe-aux-data/xor-0) corpus consists of two files containing `00` +The [xor-0](%%REPO_URL%%/2011/dlowe/dlowe-aux-data/xor-0) corpus consists of two files containing `00` and `11` respectively. diff --git a/2011/dlowe/index.html b/2011/dlowe/index.html index 0cf7e1572..f2ac8e8de 100644 --- a/2011/dlowe/index.html +++ b/2011/dlowe/index.html @@ -412,7 +412,7 @@ Location: US - United States of America

Try:

Try these pre-trained networks:

    ./try.sh
-

NOTE: The dlowe-aux-data/ directory, which try.sh refers to, was +

NOTE: The dlowe-aux-data directory, which try.sh refers to, was created by:

    tar -jxf dlowe-aux-data.tar.bz2

Judges’ remarks:

@@ -472,15 +472,15 @@ English (non-French) text

-

We created the xor-trained.net as follows:

+

We created the xor-trained.net as follows:

    ./dlowe -8000 dlowe-aux-data/xor-1/ dlowe-aux-data/xor-0/ < /dev/null > dlowe-aux-data/xor-trained.net

NOTE: The directory args must end in a / for them to work.

@@ -538,10 +538,10 @@ a .gif”

produced a network with about 87% accuracy

English corpora

-

The english-1 corpus was obtained by manually scraping the first results from +

The english-1 corpus was obtained by manually scraping the first results from a https://www.google.com/webhp?lr=lang_en search for “paris filetype:txt”.

-

The english-0 corpus was obtained by manually scraping the first results from +

The english-0 corpus was obtained by manually scraping the first results from a https://www.google.com/webhp?lr=lang_fr search for “paris filetype:txt”.

Results:
@@ -549,16 +549,16 @@ filetype:txt”.

  • Using these corpora as a training set;
  • Using several dozen additional text files (obtained by the same methods) as a test set;
  • -
  • Using the included earlystop.pl script, which stopped after +
  • Using the included earlystop.pl script, which stopped after 10000 iterations;
  • Interpreting output of > 0.5 as “probably English” and < 0.5 as “probably French”
  • produced a network with 100% accuracy.

    xor corpora

    -

    The xor-1 corpus consists of two files containing 01 +

    The xor-1 corpus consists of two files containing 01 and 10 respectively.

    -

    The xor-0 corpus consists of two files containing 00 +

    The xor-0 corpus consists of two files containing 00 and 11 respectively.

    Results:

    Using these corpora as a training set takes about 8000 iterations to learn xor