<commit_before><!DOCTYPE html>
<html lang="en">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="<KEY>" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="<KEY>" crossorigin="anonymous"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Classifier Builder</title>
</head>
<body>
 <div class="container">
<h1>Classifier Builder</h1>
<h3>Collection selection</h3>

<div class="row">
  <div class="col-sm-6 col-md-4">
    <div class="thumbnail well">
        <p>
          <img src="https://s3.amazonaws.com/public.mldb.ai/datasets/dataset-builder/images/realestate/office_building-12.jpg" alt="...">
          <img src="https://s3.amazonaws.com/public.mldb.ai/datasets/dataset-builder/images/realestate/beach_house-4.jpg" alt="...">
        </p>
      <div class="caption">
        <h3>Real estate</h3>
        <p>
            <a href="#" class="btn btn-primary" role="button" id="realestate">Use collection</a>
        </p>
      </div>
    </div>
  </div>

   <div class="col-sm-6 col-md-4">
    <div class="thumbnail well">
        <p>
          <img src="https://s3.amazonaws.com/public.mldb.ai/datasets/dataset-builder/images/recipe/salad_recipe-18.jpg" alt="...">
          <img src="https://s3.amazonaws.com/public.mldb.ai/datasets/dataset-builder/images/recipe/eggs_recipe-1.jpg" alt="...">
        </p>
      <div class="caption">
        <h3>Recipes</h3>
        <p><a href="#" class="btn btn-primary" role="button" id="recipe">Use collection</a>
        <br><br>
        </p>
      </div>
    </div>
  </div>
</div>
<div class="row">
  <div class="col-sm-6 col-md-4">
    <div class="thumbnail well">
        <p>
          <img src="https://s3.amazonaws.com/public.mldb.ai/datasets/dataset-builder/images/pets/boxer_132.jpg" alt="...">
          <img src="https://s3.amazonaws.com/public.mldb.ai/datasets/dataset-builder/images/pets/Maine_Coon_77.jpg" alt="...">
        </p>
      <div class="caption">
        <h3>Pets</h3>
        <p><a href="#" class="btn btn-primary" role="button" id="pets">Use collection</a>
<br><br>
        </p>
      </div>
    </div>
  </div>

   <div class="col-sm-6 col-md-4">
    <div class="thumbnail well">
        <p>
          <img src="https://s3.amazonaws.com/public.mldb.ai/datasets/dataset-builder/images/transport/sports_car_wallpaper-12.jpg" alt="...">
          <img src="https://s3.amazonaws.com/public.mldb.ai/datasets/dataset-builder/images/transport/bulldozer_wallpaper-13.jpg" alt="...">
        </p>
      <div class="caption">
        <h3>Transportation</h3>
        <p><a href="#" class="btn btn-primary" role="button" id="transport">Use collection</a>
        </p>
      </div>
    </div>
  </div>

</div>

</div>
<script>

imgPrefix = "https://s3.amazonaws.com/public-mldb-ai/datasets/dataset-builder/images";

$( document ).ready(function() {
    $(".btn").click(function(x) {
        window.location.href = window.location.href.split("/").slice(0, -1).join("/") + "/dataset_builder.html?"+
                "prefix=" + encodeURIComponent(imgPrefix) +
                "&dataset=" + x.target.id;
    });
});

</script>
</body>
</html>

<commit_msg>Updated paths<commit_after><!DOCTYPE html>
<html lang="en">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="<KEY>" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="<KEY>" crossorigin="anonymous"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Classifier Builder</title>
</head>
<body>
 <div class="container">
<h1>Classifier Builder</h1>
<h3>Collection selection</h3>

<div class="row">
  <div class="col-sm-6 col-md-4">
    <div class="thumbnail well">
        <p>
          <img src="https://s3.amazonaws.com/public-mldb-ai/datasets/dataset-builder/images/realestate/office_building-12.jpg" alt="...">
          <img src="https://s3.amazonaws.com/public-mldb-ai/datasets/dataset-builder/images/realestate/beach_house-4.jpg" alt="...">
        </p>
      <div class="caption">
        <h3>Real estate</h3>
        <p>
            <a href="#" class="btn btn-primary" role="button" id="realestate">Use collection</a>
        </p>
      </div>
    </div>
  </div>

   <div class="col-sm-6 col-md-4">
    <div class="thumbnail well">
        <p>
          <img src="https://s3.amazonaws.com/public-mldb-ai/datasets/dataset-builder/images/recipe/salad_recipe-18.jpg" alt="...">
          <img src="https://s3.amazonaws.com/public-mldb-ai/datasets/dataset-builder/images/recipe/eggs_recipe-1.jpg" alt="...">
        </p>
      <div class="caption">
        <h3>Recipes</h3>
        <p><a href="#" class="btn btn-primary" role="button" id="recipe">Use collection</a>
        <br><br>
        </p>
      </div>
    </div>
  </div>
</div>
<div class="row">
  <div class="col-sm-6 col-md-4">
    <div class="thumbnail well">
        <p>
          <img src="https://s3.amazonaws.com/public-mldb-ai/datasets/dataset-builder/images/pets/boxer_132.jpg" alt="...">
          <img src="https://s3.amazonaws.com/public-mldb-ai/datasets/dataset-builder/images/pets/Maine_Coon_77.jpg" alt="...">
        </p>
      <div class="caption">
        <h3>Pets</h3>
        <p><a href="#" class="btn btn-primary" role="button" id="pets">Use collection</a>
<br><br>
        </p>
      </div>
    </div>
  </div>

   <div class="col-sm-6 col-md-4">
    <div class="thumbnail well">
        <p>
          <img src="https://s3.amazonaws.com/public-mldb-ai/datasets/dataset-builder/images/transport/sports_car_wallpaper-12.jpg" alt="...">
          <img src="https://s3.amazonaws.com/public-mldb-ai/datasets/dataset-builder/images/transport/bulldozer_wallpaper-13.jpg" alt="...">
        </p>
      <div class="caption">
        <h3>Transportation</h3>
        <p><a href="#" class="btn btn-primary" role="button" id="transport">Use collection</a>
        </p>
      </div>
    </div>
  </div>

</div>

</div>
<script>

imgPrefix = "https://s3.amazonaws.com/public-mldb-ai/datasets/dataset-builder/images";

$( document ).ready(function() {
    $(".btn").click(function(x) {
        window.location.href = window.location.href.split("/").slice(0, -1).join("/") + "/dataset_builder.html?"+
                "prefix=" + encodeURIComponent(imgPrefix) +
                "&dataset=" + x.target.id;
    });


    function previewFile(){
       var preview = document.querySelector('img'); //selects the query named img
       var file    = document.querySelector('input[type=file]').files[1]; //sames as here
       var reader  = new FileReader();

       reader.onloadend = function () {
           preview.src = reader.result;
       }

       if (file) {
           reader.readAsDataURL(file); //reads the data as a URL
       } else {
           preview.src = "";
       }
  }

  previewFile();  //calls the function named previewFile()

});

</script>
</body>
</html>


{'fraction_non_alphanumeric': 0.20557156580211336, 'fraction_numerical': 0.015507067380266228, 'mean_word_length': 2.776165803108808, 'pattern_counts': {'":': 0, '<': 197, '<?xml version=': 0, '>': 197, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3780668', 'n_tokens_mistral': 2636, 'n_tokens_neox': 2613, 'n_words': 382}