2

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

from frlearn.base import ModelFactory
sal
  • 33
  • 4

1 Answers1

2

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
ASLAN
  • 629
  • 1
  • 7
  • 20
  • Thank you for your help. Right, I'm using frlearn from the Github repo. Have you implemented the code from that Github repo too? – sal Jul 04 '21 at 14:05
  • I have only used frlearn after seeing your question. Glad you resolved your question!! – ASLAN Jul 04 '21 at 17:51