🌱 Know thyself and kindle the fire in your heart!
chengjun / mybook Goto Github PK
View Code? Open in Web Editor NEWLectures on Computational Communication
Home Page: https://chengjun.github.io/mybook/
License: GNU General Public License v3.0
Lectures on Computational Communication
Home Page: https://chengjun.github.io/mybook/
License: GNU General Public License v3.0
Panel Data Regression with Python
https://www.douban.com/group/topic/226722163/
linearmodels
https://bashtage.github.io/linearmodels/panel/examples/examples.html
Originally posted by chengjun October 27, 2021
def gini(list_of_values):
sorted_list = sorted(list_of_values)
height, area = 0, 0
for value in sorted_list:
height += value
area += height - value / 2.
fair_area = height * len(list_of_values) / 2.
return (fair_area - area) / fair_area
Your issue content here.
from statsmodels.stats.outliers_influence import variance_inflation_factor
variables = data[['type_num', 'male', 'age', 'job1', 'job2', 'edu', 'income', 'all_freq_log',
'freq1_log', 'freq2_log', 'freq3_log', 'freq6_log', 'freq7_log', 'freq13_log', 'freq19_log']]
vif = pd.DataFrame()
vif['VIF'] = [variance_inflation_factor(variables.values,i) for i in range(variables.shape[1])]
vif['features'] = variables.columns
vif
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.