Giter Site home page Giter Site logo

5525lab2's Introduction

Lab 2

In this lab we implemented an HMM utilizing a viterbi algorithm. In addition to the required part 0, we implemented extension 6 and answered extension 3. Part 0 and extension 6 can be found in their respective folder. Extension 3 can be found below.

Instructions

Part 0 can be run by opening the python notebook and then simply running each cell in order. The user must ensure that the folder with training and test data is in the current directory under the "pos" folder or otherwise fix the file addresses acordingly.

Extension 3:

Changing the HMM to be case-insensitive slightly increased the error rate from 5% to 6%. The only words that would be impacted by this are proper nouns that are more commonly used as common nouns, for which there would now be ambiguity and a higher probability for the word being a common noun (and thus being misclassified as such). This may effect performance on the word following the misclassified proper noun (due to the use of the probability of the tag given the previous tag), but the effect is likely less pronounced. The results suggest, however, that this decision does not significantly impact performance, likely because these cases are only a small subset of the observations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.