Coder Social home page Coder Social logo

data-science-bldg-energy-efficiency's People

Contributors

adchong avatar mahmoudabdelrahman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

data-science-bldg-energy-efficiency's Issues

Error running in Jupyter Anaconda

Hi there... I'm just trying to run the code... however, I got this error:
Do I miss something?


ValueError Traceback (most recent call last)
in
1 #import modules
2
----> 3 from gensim.models import KeyedVectors
4 import gensim
5 import os

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gensim/init.py in
3 """
4
----> 5 from gensim import parsing, corpora, matutils, interfaces, models, similarities, summarization, utils # noqa:F401
6 import logging
7

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gensim/models/init.py in
5
6 # bring model classes directly into package namespace, to save some typing
----> 7 from .coherencemodel import CoherenceModel # noqa:F401
8 from .hdpmodel import HdpModel # noqa:F401
9 from .ldamodel import LdaModel # noqa:F401

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gensim/models/coherencemodel.py in
34 from gensim import interfaces, matutils
35 from gensim import utils
---> 36 from gensim.topic_coherence import (segmentation, probability_estimation,
37 direct_confirmation_measure, indirect_confirmation_measure,
38 aggregation)

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gensim/topic_coherence/probability_estimation.py in
10 import logging
11
---> 12 from gensim.topic_coherence.text_analysis import (
13 CorpusAccumulator, WordOccurrenceAccumulator, ParallelWordOccurrenceAccumulator,
14 WordVectorsAccumulator)

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gensim/topic_coherence/text_analysis.py in
19
20 from gensim import utils
---> 21 from gensim.models.word2vec import Word2Vec
22
23 logger = logging.getLogger(name)

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gensim/models/word2vec.py in
133
134 from gensim.utils import keep_vocab_item, call_on_class_only
--> 135 from gensim.models.keyedvectors import Vocab, Word2VecKeyedVectors
136 from gensim.models.base_any2vec import BaseWordEmbeddingsModel
137

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gensim/models/keyedvectors.py in
181 from scipy import stats
182 from gensim.utils import deprecated
--> 183 from gensim.models.utils_any2vec import (
184 _save_word2vec_format,
185 _load_word2vec_format,

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/gensim/models/utils_any2vec.py in
196 #
197 try:
--> 198 from gensim.models._utils_any2vec import (
199 compute_ngrams as _compute_ngrams_cy,
200 compute_ngrams_bytes as _compute_ngrams_bytes_cy,

init.pxd in init gensim.models._utils_any2vec()

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

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.