pattern
Sharan Basappa
sharan.basappa at gmail.com
Thu Jun 14 23:01:52 EDT 2018
> >Can anyone explain to me the purpose of "pattern" in the line below:
> >
> >documents.append((w, pattern['class']))
> >
> >documents is declared as a list as follows:
> >documents.append((w, pattern['class']))
>
> Not without a lot more context. Where did you find this code?
>
> Cheers,
I am sorry that partial info was not sufficient.
I am actually trying to implement my first text classification code and I am referring to the below URL for that:
https://machinelearnings.co/text-classification-using-neural-networks-f5cd7b8765c6
I hope this helps.
More information about the Python-list
mailing list