Giter VIP home page Giter VIP logo

pywsl's Issues

Issues running the demo file

PNU/python/cpe_ene.py:49: RuntimeWarning: invalid value encountered in sqrt
  return np.sqrt(dist)
PNU/python/pnu_sl.py:152: RuntimeWarning: invalid value encountered in greater_equal
  f_p = np.mean(g_n >= 0) if n_n != 0 else 0
PNU/python/pnu_sl.py:161: RuntimeWarning: invalid value encountered in less_equal
  f_nu = np.mean(g_u <= 0) if n_u != 0 else 0
Traceback (most recent call last):
  File "./demo.py", line 64, in <module>
    model='lm', nargout=3)
  File "PNU/python/pnu_sl.py", line 92,in PNU_SL
    sigma, lam = sigma_list[best_sigma_index], lambda_list[best_lambda_index]
UnboundLocalError: local variable 'best_sigma_index' referenced before assignment

Hello, I've been trying to run the demo file, and encountered an error presented above.
any way to fix this?
Thanks in advance.

Problem in installation

Hi,
When I try to install using pip, I am getting the following error
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-dwrj5xhj/pywsl/

Could you please check if installation is working properly?

fetch_mldata Deprecated and Down Routinely

I was looking at your nnPU chainer implementation. If I am not mistaken, it seems to download data from mldata.org. This sklearn issue report discusses the instability of mldata.org and how it often goes down for extended periods of time. For example, mldata.org is down at the moment.

When you run the fetch_mldata command, you get the warning in sklearn:

DeprecationWarning: Function fetch_mldata is deprecated; fetch_mldata was deprecated in version 0.20 and will be removed in version 0.22

What are your thoughts on moving away from fetch_mldata to an alternative? Different alternatives include:

  • Hosting the file on Github (probably in a different repository)
  • Moving to another source for the data, e.g., torchvision

I would be happy to work with you on this if you are interested.

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.