Code Monkey home page Code Monkey logo

hnet's Introduction

Hi there! I am sharing my knowledge with the world through my blogs and open-source GitHub projects.

Your ❤️ is important to keep maintaining my packages. It is awsome that there are readily millions of downloads but to keep the libraries alive, I often need to make all kinds of fixes. This can eat up my entire weekend and evenings. Yes, I do this for free and in my free time! There are various ways you can help. You can report bugs/ issues, or even better help out with fixing bugs or maybe adding new features! If you don't have the time or maybe you are still learning, you can also take a Medium Membership using my referral link to keep reading all my hands-on blogs and learn more :-) If you don't need that, there is always an easy way with Coffee :-) Cheers!

Buy Me a Coffee at ko-fi.com

A structured list of my repos

All Repos can be found in the Repositories section. If Sphinx pages are available, the link will directly go to the documentation pages.

Statistics Machine learning (Time)Series Vizualization Utils API
bnlearn clusteval findpeaks d3graph df2onehot googletrends
hnet classeval temporalrank d3heatmap pypickle slacki
distfit hgboost caerus treeplot ismember
pca clustimage kaplanmeier irelease
thompson undouble flameplot pypiplot
benfordslaw worldmap dicter
colourmap
imagesc
scatterd
d3blocks

Find here my Pypi download stats

Overview of open issues

d3blocks bnlearn hnet distfit pca benfordslaw clustimage undouble clusteval classeval hgboost findpeaks d3graph d3heatmap treeplot kaplanmeier ismember dicter

hnet's People

Contributors

erdogant avatar erdoganta avatar oliver3 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

hnet's Issues

After install hnet via pip ModuleNotFoundError: No module named 'utils'

After installing hnet via pip, I cannot import hnet.

$ conda create -n env_hnet python=3.7
$ conda activate env_hnet
$ pip install hnet
$ python

>>> from hnet import hnet
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "~/anaconda3/envs/env_hnet/lib/python3.7/site-packages/hnet/__init__.py", line 1, in <module>
    from hnet.hnet import hnet
  File "~/anaconda3/envs/env_hnet/lib/python3.7/site-packages/hnet/hnet.py", line 24, in <module>
    from utils.savefig import savefig
ModuleNotFoundError: No module named 'utils'

D3Graph UnicodeEncodeError: error

Firstly, thanks for developing this great library. In Windows 10 with python 3.9 version, for the following part of hnet,

results = hn.association_learning(df)
G = hn.d3graph()

I get this UnicodeEncodeError: issue as given below. Looks like you might have to do utf-8 encoding somewhere in the d3graph code ? (something of this sort)

`192 # Final
193 out = dict()

~\AppData\Local\Programs\Python\Python39\lib\site-packages\d3graph\d3graph.py in _write_index_html(config, json_data)
274 index_file = Path(config['savepath'])
275 print('Writing %s' % index_file.absolute())
--> 276 index_file.write_text(index_template.render(content))
277
278

~\AppData\Local\Programs\Python\Python39\lib\pathlib.py in write_text(self, data, encoding, errors)
1273 data.class.name)
1274 with self.open(mode='w', encoding=encoding, errors=errors) as f:
-> 1275 return f.write(data)
1276
1277 def readlink(self):

~\AppData\Local\Programs\Python\Python39\lib\encodings\cp1252.py in encode(self, input, final)
17 class IncrementalEncoder(codecs.IncrementalEncoder):
18 def encode(self, input, final=False):
---> 19 return codecs.charmap_encode(input,self.errors,encoding_table)[0]
20
21 class IncrementalDecoder(codecs.IncrementalDecoder):

UnicodeEncodeError: 'charmap' codec can't encode character '\u03b5' in position 44258: character maps to `

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.