Posts

Showing posts from March 30, 2019

私有制

Image
本條目 需要擴充。 ( 2010年9月14日 ) 请協助改善这篇條目,更進一步的信息可能會在討論頁或扩充请求中找到。请在擴充條目後將此模板移除。 私有制 ,相对于公有制的经济制度。在这种制度下生产资料进行个人或集体的排他性占有。 马克思主义的观点 私有制是剥削社会(以奴隶社会、封建社会、资本主义、权贵资本主义和专制制度为代表)基本标志之一。 生产力的发展是产生私有制的最根本原因。 原始社会末期,随着生产力的不断增加,金属工具、牛耕等新的生产工具或方法被发明,直接促进了相对剩余产品的出现,对于剩余产品的不公平分配就是私有制的最早形式。 外部連結 薛涌:〈普通法傳統中的私有產權〉(2007) 崔之元:〈財產權與憲法之關係的比較研究〉(2008) 查 论 编 財貨種類 稀少性 免费物品 經濟物品 需求的交叉彈性 輔助品 代替品 獨立品 需求的收入彈性 劣等物品 正常物品 使用者 消費品 資本品 競爭性和排他性 私用品 共用品 集團品 共有品 耐用程度 快消品 耐用品 外部效應 有益品 有害品 特殊分類 吉芬商品 韋伯倫商品 This page is only for reference, If you need detailed information, please check here

LESS - using BEM selector with extra class on parent to deviate

Image
0 I have some markup that looks about like this - <div class="card"> <div class="card__icon">Icon</div> <div class="card__text">Text</div> </div> Which I am styling with a little LESS like so - .card { &__icon { font-size: 1.75em; @media (min-width: 992px) { font-size: 2em; } } &__text { font-size: 1em; } } This works great - however the parent is getting toggled a class .current on it and I was trying to change one of the childrens styles using the same methods, but could not seem to get it working. I was trying this - .card { &__icon { font-size: 1.75em; @media (min-width: 992px) { font-s

fixed-size topics vector in gensim LDA topic modelling for finding similar texts

Image
0 I use gensim LDA topic modelling to find topics for each document and to check the similarity between documents by comparing the received topics vectors. Each document is given a different number of matching topics, so the comparison of the vector (by cosine similarity) is incorrect because vectors of the same length are required. This is the related code: lda_model_bow = models.LdaModel(corpus=bow_corpus, id2word=dictionary, num_topics=3, passes=1, random_state=47) #---------------Calculating and Viewing the topics---------------------------- vec_bows = [dictionary.doc2bow(filtered_text.split()) for filtered_text in filtered_texts] vec_lda_topics=[lda_model_bow[vec_bow] for vec_bow in vec_bows] for id,vec_lda_topic in enumerate(vec_lda_topics): print ('document ' ,id, 'topics: ',