Guillaume, I only meant that he can do it locally :) submitting that would be a bad idea
On Sun, Nov 8, 2020 at 2:03 PM Guillaume LemaƮtre <g.lemaitr...@gmail.com> wrote: > I would not recommend the solution of Alex. Do not modify the scikit-learn > source code. > Write it in your own Python module. > > But most probably the solution of Nicolas should be enough for 99% of the > use-cases. > > Cheers, > > On Sun, 8 Nov 2020 at 12:41, Alex Levin <sale...@gmail.com> wrote: > >> 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...@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@python.org >>> https://mail.python.org/mailman/listinfo/scikit-learn >>> >> _______________________________________________ >> scikit-learn mailing list >> scikit-learn@python.org >> https://mail.python.org/mailman/listinfo/scikit-learn >> > > > -- > Guillaume Lemaitre > Scikit-learn @ Inria Foundation > https://glemaitre.github.io/ > _______________________________________________ > scikit-learn mailing list > scikit-learn@python.org > https://mail.python.org/mailman/listinfo/scikit-learn >
_______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn