Coder Social home page Coder Social logo

copod's Issues

How does COPOD handle missing values and categorical variables?

Hi @winstonll, @yzhao062:

I am new to COPOD and have a few questions:

  1. Can COPOD handle missing values or do I have to impute the data first?
  2. How does COPOD handle categorical variables?
  3. Is there any way to pull the dimensional outlier graph as figure 2 in the paper via pyod? If not, what is the best way to get the 'variable importance' for each outlier?

Thank you!

File Missing

When run python benchmark_mat.py I got

Traceback (most recent call last):
File "/{python_path}/lib/python3.8/site-packages/scipy/io/matlab/mio.py", line 39, in _open_file
return open(file_like, mode), True
FileNotFoundError: [Errno 2] No such file or directory: '/{code_dir}/data/cover.mat'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/{code_dir}/results/benchmark_mat.py", line 77, in
mat = loadmat(os.path.abspath(os.path.join(os.path.dirname(file), '..') + '/data/' + mat_file))
File "/{python_path}/lib/python3.8/site-packages/scipy/io/matlab/mio.py", line 222, in loadmat
with _open_file_context(file_name, appendmat) as f:
File "/{python_path}/lib/python3.8/contextlib.py", line 113, in enter
return next(self.gen)
File "/{python_path}/ood/lib/python3.8/site-packages/scipy/io/matlab/mio.py", line 17, in _open_file_context
f, opened = _open_file(file_like, appendmat, mode)
File "/{python_path}/lib/python3.8/site-packages/scipy/io/matlab/mio.py", line 45, in _open_file
return open(file_like, mode), True
FileNotFoundError: [Errno 2] No such file or directory: '/{code_dir}/data/cover.mat'

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.