[scikit-learn] Creating dataset

Alex Levin salexln at gmail.com
Sun Nov 8 06:38:35 EST 2020


Hi Mahmood
You can add your data set to `datasets/data` and then implement
`load_my_data` function in `datasets/_base.py`
Also register it in `datasets/__init__.py`

On Sun, Nov 8, 2020 at 1:24 PM Mahmood Naderan <mahmood.nt at gmail.com> wrote:

> Hi,
> I have created an input file similar to iris data set. That is something
> like this:
>
> 0.1,0.2,0.3,0.4,M1
> ...
>
> I want to know how I can create my own dataset similar to the following
> lines?
>
> from sklearn.datasets import load_iris
> iris = load_iris()
>
>
> Regards,
> Mahmood
>
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scikit-learn/attachments/20201108/a2a42d54/attachment.html>


More information about the scikit-learn mailing list