Skip to content

eugene-liyai/One-Hot-Encoding-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT CircleCI Coverage Status Codacy Badge

One-Hot-Encoding-Example

A simple representation of one-hot encoding

Input Sequence

The input sequence that we will encode is:

hello world

In this example data values are lower case alphabets and the space.

Installing and running application

  • clone application:

    https://github.com/eugene-liyai/One-Hot-Encoding-Example.git
    
  • Create virtual environment:

    Click on this guide. The link will guide you create and activate the virtual environment

  • Install the required packages:

    $ pip install -r requirements.txt
    

Background Information

Adapted from Jason Brownlee One Hot Encoding tutorial

MIT License

Copyright (c) 2018 eugene-liyai

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A simple representation of one-hot encoding

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages