Giter Club home page Giter Club logo

ctrosset's People

Contributors

aronwc avatar cyril94440 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ctrosset's Issues

Dedicated server problem

I have some issues with my dedicated server.
You said that you could provide one to me is it still possible ?

Thank you.

Create feature matrix X and target matrix Y

X = [company x follower proportions]

Y = [company x demographic breakdown]

E.g.

Here's a matrix of two companies, with three follower proportions each.

X = [[0.2, 0.1, 0.7],
       [0.5, 0.4, 0.1]]

Here's a matrix of their demographic breakdown (%male, %female)

Y = [[45.4, 54.6], 
       [46.7, 53.3]]

Error analysis

  • Sort all predictions by error (truth - predicted)
  • For top 10 errors:
    • report the company name
    • report top 5 features weighted by (abs(feature value * model coefficient))

Add documentation to README.md

  • Please keep track of each stage of processing and document it in README.md.

That is, enumerate step-by-step how to go from the raw data to the output of your analysis.

Write research report

  • Introduction
    • what is the problem
    • why is it important
    • roughly what is our solution
    • how have previous people done this?
  • Data collection
    • what data did we collect and how
    • rough statistics about the data
  • methods
    • how did we compute X matrix
    • what models did we use (ridge regression)
    • how did we pick best alpha
  • results
    • cross-validation MSE for each task
    • top features for each output variable (e.g., male, female, old, young) (~10)
  • conclusions
    • how well did this work
    • what are next steps

Linear regression computation issue

I have the following error on my loadMatrices.py script.

('Coefficients: \n', array([[ 0. , 0.03644562, 0.09987471, ..., 0.00901544,
0.02207366, -0.0079762 ],
[ 0. , -0.03586746, -0.09994756, ..., -0.00893835,
-0.02191355, 0.00792444]]))
Traceback (most recent call last):
File "loadMatrices.py", line 88, in
% np.mean((regr.predict(X) - Y) ** 2))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/matrixlib/defmatrix.py", line 343, in pow
return matrix_power(self, other)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/matrixlib/defmatrix.py", line 160, in matrix_power
raise ValueError("input must be a square array")
ValueError: input must be a square array

I don't know where it could come from.

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.