Giter VIP home page Giter VIP logo

explainaboard-experiments's Introduction

ExplainaBoard-experiments

for keeping track of experiments done with ExplanaBoard

Summary of scripts

  • src/process_wmt21reports.py: organize the json reports from explainaboard into data points with metrics, also calculated URIEL distances
  • src/process_wmt21train.py: organize the training data from WMT21 into data points with data size, type token ratio, ttr distance, and subword tokenization (subword not implemented yet).
  • src/linear_regression.py: helper functions for linear regression.
    • builds regression pipelines from polynomial or simple regression, (basis expansion can be added too, but not added yet.)
    • trains pipelines using bootstrapping,
    • get feature importances
    • prints results (MSE and R2).
  • src/generate_reports.sh : generates reports from explainaboard from a given input directory
  • sample_data: for now, I have a pkl of a data frame to be used for regression related models.
  • notebooks/linear-regression-analysis.ipynb: notebook containing results/plots/analysis so far, related to regression models. mostly linear regression was explored, but I tried out SVM and GPR as non-linear examples.

explainaboard-experiments's People

Contributors

iglee avatar

Watchers

 avatar

explainaboard-experiments's Issues

Feedback for linear regression

feedback:

  • add input/output data in the description, problem statement
  • reconsider performance metrics r2/mse- what would be a reasonable performance to expect for these models? how to baseline these performances? (refer to LangRank paper)
  • consider comparing predicting metrics from each data point vs. predicting mean value of the metric
  • correlation per bucketed features?
  • double check data processing
  • try other models like xgboost

leftover still to do:

  • other dataset features yet to be added: word overlap
  • basis expansion- code on local, but not organized

beyond predicting bleu/mover_score/etc. from uriel/input data/sys output/reports, consider following analysis:

  • system by system analysis: for which systems/buckets did one system do better/worse than expected
  • what are the features of the language that are correlated with over/under-performance on particular phenomenon
  • system performs better for one metric vs. another? metric vs. metric analysis

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.