[R] help with tdm matrix and knn

Eivind K. Døvik he||o @end|ng |rom e|v|nddov|k@com
Thu Apr 26 23:33:22 CEST 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,

I downloaded your .rar-file and looked through your R-code. You should 
revise your script. Specifically, start by looking at what data set you 
are referring to when training your knn-model: you never create the object 
"modeldata".

Best of luck.

Eivind K. Dovik
Bergen, NO

Public key 5D9BA1B4
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE6y4swLA4T88WeBLTnPuPlYAtwfoFAlriRYkACgkQnPuPlYAt
wfpd4g//R+p5rJP6rO8yMfSzKyWCs6yd4T2CtaSknrwlSIhjRRYvrx3QbL/wZXG0
FRvb5ImKMXu2OJAI5s+dFsmiVqlJIVNAsNdDoPQbwBpTB7KIrd6/wlb5mXTVMdVA
nmpLMTcCz6sIo+R+xUEW+SiDktYlAOL8cS3ZEoLfP2eaFTGpr2lA9Dzra1UwsKEI
jV3fJUYj6HP6474z94G3qDxmhQTpDy3TFNgupoWZJrbtT0sro1q9TiiFIr3tsuH0
UL5rsyv8fJq8rL2ArVlDEX1zMHo0cjqC3rk0yWb8Agi8k5kvkxNF2bQxjWUeuI6w
+JS4FM6mo9g+aeTfRDoAYeYdT9ZOQMHKaZmv3yAXSTb89e9FHsantIwHl3SdvDDQ
GeMy2QuErduItv3KdzBvRmctWFSNqAhZfVcPHfkMqhlgd3lk9WcKHtIgS93R/Amv
Z4GAA6omRX/bEr3jB5cBK+vuNfYxhX3iwWrGniCMDBbSYLWuR6O62TvGvntsehnm
Y0Lt5VaeoJyoUCIAPKjC1X3mo4/FHNxoc6qJezQP1ChiSUrUJlJ7NnDypu7vO0jV
IiX0uQgWxLizX9hBMRMLtU3UaSt6VhJzEiP8ciFk1xihi7FgjDYOJFpOY2j79rKS
M5bx67eCp4JZMrY4uZMiDPFd5X9Lx3I6t6iLK1Z1kmeWRgs+nIw=
=r2Ve
-----END PGP SIGNATURE-----


On Thu, 26 Apr 2018, nevergiveupno20015 using gmail.com wrote:

> hello sir
> im working on text classification using java and r programming
>
> i start with exporting a document term matrix (tdm) from my java programme using corpus
>
> and now i try to apply knn algorithem using the matrix and r
>
> but i cant do that
>
> any help sir
>
> here my data
> here my script
> https://mega.nz/#!Q6J2ibAA!4PadiOKbP7rLodyiRrVsdKl-D2ZP7LYm0gaz94uBmF8
>
> itry to post put icant whay!!
>
>
>
>
> _____________________________________
> Sent from http://r.789695.n4.nabble.com
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list