Skip to content

Superlearnerl on google colab (python 3.10 or 3.7) #155

@andresilvapimentel

Description

@andresilvapimentel

I am trying to run Superlearner on google colab (python 3.10 or 3.7), but I am getting an error in the Superlearner import (from mlens.ensemble import SuperLearner). The error is:

from collections import Sequence

ImportError: cannot import name ‘Sequence’ from ‘collections’ (/usr/lib/python3.10/collections/init.py)

Do you know how to solve this issue?
Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions