ImportError: cannot import name 'ModelFactory' from 'frlearn.base'

201 Views Asked by At

I get an error (ImportError: cannot import name 'ModelFactory' from 'frlearn.base') when running the following code:

from frlearn.base import ModelFactory
1

There are 1 best solutions below

2
On BEST ANSWER

I belive you are using frlearn from this github repo. You just have to clone this repo using the following command

!git clone https://github.com/oulenz/fuzzy-rough-learn.git

And then move to the cloned directory using cd <clonned directory path> In your case that may be

cd fuzzy-rough-learn