Giter Club home page Giter Club logo

malware_analysis's People

Contributors

tychen5 avatar

Stargazers

 avatar

Watchers

 avatar

malware_analysis's Issues

'Doc2Vec' object has no attribute 'neg_labels'

malware_dict_list = malware_dict_list.map(transform_api_to_feature) print(malware_dict_list)
I found this error while running the code file hooklogClf.ibynb
can anyone help me to resolve this issue...

Traceback (most recent call last):
  File "C:/Users/HP/PycharmProjects/MALANAY/hooklogClf.py", line 408, in <module>
    malware_dict_list = malware_dict_list.map(transform_api_to_feature)
  File "C:\Users\HP\PycharmProjects\MALANAY\venv\lib\site-packages\pandas\core\series.py", line 3825, in map
    new_values = super()._map_values(arg, na_action=na_action)
  File "C:\Users\HP\PycharmProjects\MALANAY\venv\lib\site-packages\pandas\core\base.py", line 1300, in _map_values
    new_values = map_f(values, mapper)
  File "pandas\_libs\lib.pyx", line 2228, in pandas._libs.lib.map_infer
  File "C:/Users/HP/PycharmProjects/MALANAY/hooklogClf.py", line 223, in transform_api_to_feature
    f = word_model_dict[key.lower()].infer_vector([d[key]]).tolist()
  File "C:\Users\HP\PycharmProjects\MALANAY\venv\lib\site-packages\gensim\models\doc2vec.py", line 946, in infer_vector
    learn_words=False, learn_hidden=False, doctag_vectors=doctag_vectors, doctag_locks=doctag_locks
  File "C:\Users\HP\PycharmProjects\MALANAY\venv\lib\site-packages\gensim\models\doc2vec.py", line 242, in train_document_dm
    learn_vectors=False, learn_hidden=learn_hidden)
  File "C:\Users\HP\PycharmProjects\MALANAY\venv\lib\site-packages\gensim\models\word2vec.py", line 548, in train_cbow_pair
    gb = (model.neg_labels - fb) * alpha  # vector of error gradients multiplied by the learning rate

AttributeError: 'Doc2Vec' object has no attribute 'neg_labels'

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.