GithubHelp home page GithubHelp logo

stevenlol / ialp2016_shared_task Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 3.0 42.67 MB

This paper introduces Aicyber’s system for the Dimensional Sentiment Analysis of Chinese Words in IALP 2016 Shared task

Python 0.51% Roff 99.49%
ialp

ialp2016_shared_task's Introduction

ialp2016_Shared_Task

Here is the system for following paper, downoad the code and data , one could reproduce all the results.

Aicyber’s System for [IALP 2016 Shared Task](http://nlp.innobic.yzu.edu.tw/tasks/ dsa_w/): Character-enhanced Word Vectors and Boosted Neural Networks

For paper and final test results please refer to the files in paper folder.

#Prerequisites

##Scikit-learn Install the latest scikit-learn. This will provide most of the regressors and machine learning utilities.

##xgboost Install the xgboost via:

sudo pip install xgboost

#Evaluations

##Table 1: Features VS LSVR baseline

python table_1_LSVR.py

Sample output, after 3 rounds of 10 folds cross-validation, the 'MAE', 0.936 is the first value in the Table 1:

w2v_100_CB
load from cache
(0, 'MAE', 0.95422037820373351, 'PCC', 0.72929625905287654, 0.24031305313110352, 'Wed Sep 14 11:41:14 2016', 'Train sahpe:', (1486, 100), 'eval sahpe:', (166, 100))
(1, 'MAE', 0.88660967155777792, 'PCC', 0.79691459045767477, 0.22659897804260254, 'Wed Sep 14 11:41:14 2016', 'Train sahpe:', (1486, 100), 'eval sahpe:', (166, 100))
(2, 'MAE', 0.92380137358766068, 'PCC', 0.73167313941310941, 0.23987698554992676, 'Wed Sep 14 11:41:15 2016', 'Train sahpe:', (1487, 100), 'eval sahpe:', (165, 100))
(3, 'MAE', 0.97292950366904318, 'PCC', 0.72487931346684542, 0.24808311462402344, 'Wed Sep 14 11:41:15 2016', 'Train sahpe:', (1487, 100), 'eval sahpe:', (165, 100))
(4, 'MAE', 0.91984530597533742, 'PCC', 0.78713717096390567, 0.2524690628051758, 'Wed Sep 14 11:41:15 2016', 'Train sahpe:', (1487, 100), 'eval sahpe:', (165, 100))
...
...
('###', 'w2v_100_CB', 'MAE', 0.93628075980941383, 'PCC', 0.75431909093171989)
...
...

##Table 2: Features VS BNN

python ./table_2_BNN.py

##Table 3: LSVR, BNN VS NN GBM XGB

python ./table_3_NN.py
python ./table_3_GBM.py
python ./table_3_XGB.py

##Table 4: PCA100 BNN VS BNN_Norm

python ./table_4_PCA100_BNN.py
python ./table_4_PCA100_BNN_Norm.py

ialp2016_shared_task's People

Contributors

dusijun avatar stevenlol avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.