Giter Club home page Giter Club logo

Comments (2)

swyxio avatar swyxio commented on August 16, 2024

after uninstalling and reinstalling numpy, i now get this different table related error:

/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/scipy/linalg/basic.py:1321: RuntimeWarning: internal gelsd driver lwork query error, required iwork dimension not returned. This is likely the result of LAPACK bug 0038, fixed in LAPACK 3.2.2 (released July 21, 2010). Falling back to 'gelss' driver.
  x, resids, rank, s = lstsq(a, b, cond=cond, check_finite=False)
Traceback (most recent call last):
  File "run_experiment.py", line 207, in <module>
    timings,
  File "run_experiment.py", line 41, in run_experiment
    exp.perform_cluster(dim)
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/experiments/ICA.py", line 80, in perform_cluster
    preprocess=False)
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/data/loader.py", line 226, in reload_from_hdf
    df = pd.read_hdf(hdf_path, hdf_ds_name)
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/pandas/io/pytables.py", line 394, in read_hdf
    return store.select(key, auto_close=auto_close, **kwargs)
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/pandas/io/pytables.py", line 741, in select
    return it.get_result()
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/pandas/io/pytables.py", line 1483, in get_result
    results = self.func(self.start, self.stop, where)
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/pandas/io/pytables.py", line 734, in func
    columns=columns)
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/pandas/io/pytables.py", line 2928, in read
    ax = self.read_index('axis%d' % i, start=_start, stop=_stop)
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/pandas/io/pytables.py", line 2523, in read_index
    _, index = self.read_index_node(getattr(self.group, key), **kwargs)
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/pandas/io/pytables.py", line 2621, in read_index_node
    data = node[start:stop]
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/tables/vlarray.py", line 685, in __getitem__
    return self.read(start, stop, step)
  File "/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/tables/vlarray.py", line 821, in read
    listarr = self._read_array(start, stop, step)
  File "tables/hdf5extension.pyx", line 2155, in tables.hdf5extension.VLArray._read_array
ValueError: cannot set WRITEABLE flag to True of this array
/Users/swyx/Desktop/OMSCS/ML/ASSIGNMENT3/swyx-a3/py3/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp

from cs-7641-assignments.

swyxio avatar swyxio commented on August 16, 2024

ok so it seems the version numbers conflict a lot especiallywhen it comes to numpy. you have 1.15 but a lot of things assume 1.16 (the current version at time of writing).

so you have to uninstall and reinstall everything again: https://stackoverflow.com/questions/11248073/what-is-the-easiest-way-to-remove-all-packages-installed-by-pip

my requirements from pip freeze:

cycler==0.10.0
kiwisolver==1.0.1
kneed==0.2.4
matplotlib==3.0.3
mock==2.0.0
numexpr==2.6.9
numpy==1.16.2
pandas==0.24.2
pbr==5.1.3
pyparsing==2.3.1
python-dateutil==2.8.0
pytz==2018.9
scikit-learn==0.20.3
scikit-optimize==0.5.2
scipy==1.2.1
seaborn==0.9.0
six==1.12.0
tables==3.5.1
xlrd==1.2.0

from cs-7641-assignments.

Related Issues (17)

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.