iskandr/fancyimpute

DOCKER deployment issue: Can't Import MICE from fancyimpute

ChadBrightBytes opened this issue · 2 comments

I'm working in a python 3.6.x --stretch docker environment. I'm installing (successfully) the following packages and attempting to deploy mice.

RUN python -mpip install -U pip \
  numpy \
  matplotlib \
  azure-storage \
  tensorflow \
  psycopg2 \
  PySide2 \
  boto3 \
  s3fs \
  scipy \
  ipython \
  jupyter \
  pandas \
  sympy \
  nose

RUN python -mpip install -U pip \
  cvxpy \
#  fancyimpute
RUN python -mpip install git+git://github.com/iskandr/fancyimpute.git

I'm receiving the following error when trying to import the mice package into python.

from fancyimpute import KNN, NuclearNormMinimization, SoftImpute, BiScaler, MICE
ImportError: cannot import name 'MICE'

I've hit a wall into how to resolve this issue.

We changed the name to IterativeImputer. Check the docs!

On Thu, Jan 17, 2019, 10:42 AM Chad Coleman @.*** wrote: I'm working in a python 3.6.x --stretch docker environment. I'm installing (successfully) the following packages and attempting to deploy mice. RUN python -mpip install -U pip \ numpy \ matplotlib \ azure-storage \ tensorflow \ psycopg2 \ PySide2 \ boto3 \ s3fs \ scipy \ ipython \ jupyter \ pandas \ sympy \ nose RUN python -mpip install -U pip \ cvxpy \ # fancyimpute RUN python -mpip install git+git://github.com/iskandr/fancyimpute.git I'm receiving the following error when trying to import the mice package into python. from fancyimpute import KNN, NuclearNormMinimization, SoftImpute, BiScaler, MICE ImportError: cannot import name 'MICE' I've hit a wall into how to resolve this issue. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#91>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABya7AgZRjGpVzBEdKfLd4SKrr_24KwTks5vEMQDgaJpZM4aGgSI .

Thanks~!