Hi
is it resolved ?
I am hoping that scikit-learn package is installed in your system.
verify the package installation using below.
# python3 -m pip list | grep -i scikit*
scikit-learn 0.24.2
# python3
Python 3.9.18 (main, Sep 19 2023, 04:57:07)
[GCC 10.3.0] on aix
Type "help", "copyright", "credits" or "license" for more information.
>>> import sklearn
>>> help(sklearn)
------------------------------
Ranjit Ranjan
------------------------------
Original Message:
Sent: Tue October 24, 2023 10:29 AM
From: Mi Wang
Subject: How to use / import Scikit-learn package
Hi Ranjit / Ayappan,
I am trying to verify the installed scikit-learn package. I have tried following and both don't work. Can you please help?
>>> import scikit-learn
File "<stdin>", line 1
import scikit-learn
^
SyntaxError: invalid syntax
>>>
import sklearn
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'sklearn'
>>>
Thanks
Mi
------------------------------
Mi Wang
------------------------------