Giter VIP home page Giter VIP logo

language_detect's Introduction

•	Required -		
  o	Python 3.6
  o	Scikitlearn
  o	Numpy
  o	pandas
• install the required libraries using
  o	pip install -r requirements.txt
•	Place the main.py file in any folder of your choice:
•	Create a new folder called “collected” in the same folder as main.py.
•	Download the zip file from the public URL.
  o	https://drive.google.com/open?id=1JkA84vAwP4kR1P48sIvRboBKGjWT9wj6
•	Unzip the file and put the contents into “collected” folder so they look like this in structure.
•	main.py and collected folder should be the same level.
•	Modify the parameters in the main.py program if you like.
  o	dataFolder='./collected' -  location of the datafiles
  o	constNum_of_lines_selected = 5000 – sets the number of lines of each language used
  o	floatSplitRatio=0.8 - train test data split
•	Execute with “python main.py” from the terminal.	

language_detect's People

Contributors

krishnaths avatar

Watchers

James Cloos avatar  avatar

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.