<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd="http://schemas.google.com/g/2005"><id>tag:blogger.com,1999:blog-7958828565254404797.post7229102576196331145..comments</id><updated>2024-12-13T03:11:35.450-08:00</updated><title type='text'>Comments on ListenData: Splitting Data into Training and Test Sets with R</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.listendata.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html'/><link rel="hub" href="http://pubsubhubbub.appspot.com/"/><author><name>Deepanshu Bhalla</name><uri>http://www.blogger.com/profile/09802839558125192674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXm_iOrXFR9Ls-mjtOci4qd1m1V1TXkkWJINuMy84-Axo5pNS6CG7oKwR7hfHHI3tB1yuz8W_qo9HK2Cw5fHfe_4cL_2DCf_LyoK9LMLicZojbNYgypIP-RXNsw1GsVhk/s100/pic.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8094738359551155732</id><published>2021-04-01T18:48:23.461-07:00</published><updated>2021-04-01T18:48:23.461-07:00</updated><title type='text'>But you split only a variable in the iris dataset....</title><content type='html'>But you split only a variable in the iris dataset... Will this apply to all the other variables?</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/8094738359551155732'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/8094738359551155732'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html?showComment=1617328103461#c8094738359551155732' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/8453479315987316872'/><author><name>Ibksblog.com</name><uri>https://www.blogger.com/profile/06727362965022649233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-7229102576196331145' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/7229102576196331145' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1395441459"/><gd:extendedProperty name="blogger.displayTime" value="April 1, 2021 at 6:48 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-1502555274229026371</id><published>2021-01-20T00:46:54.153-08:00</published><updated>2021-01-20T00:46:54.153-08:00</updated><title type='text'>This is a really helpful post - thank you.</title><content type='html'>This is a really helpful post - thank you.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/1502555274229026371'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/1502555274229026371'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html?showComment=1611132414153#c1502555274229026371' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-7229102576196331145' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/7229102576196331145' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-6939909"/><gd:extendedProperty name="blogger.displayTime" value="January 20, 2021 at 12:46 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-7932142688993741546</id><published>2019-07-17T23:27:35.071-07:00</published><updated>2019-07-17T23:27:35.071-07:00</updated><title type='text'>how can i select specific data i don&#39;t want to...</title><content type='html'>how can i select specific data i don&#39;t want to randomize data </content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/7932142688993741546'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/7932142688993741546'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html?showComment=1563431255071#c7932142688993741546' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/545759680810845151'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/04889711088974969795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-7229102576196331145' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/7229102576196331145' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1722598311"/><gd:extendedProperty name="blogger.displayTime" value="July 17, 2019 at 11:27 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-7577509364172807206</id><published>2019-03-20T07:03:39.223-07:00</published><updated>2019-03-20T07:03:39.223-07:00</updated><title type='text'>Very helpful and to the point, thanks Deepanshu!</title><content type='html'>Very helpful and to the point, thanks Deepanshu!</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/7577509364172807206'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/7577509364172807206'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html?showComment=1553090619223#c7577509364172807206' title=''/><author><name>Vaisakh</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-7229102576196331145' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/7229102576196331145' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-6939909"/><gd:extendedProperty name="blogger.displayTime" value="March 20, 2019 at 7:03 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-1220127687122446032</id><published>2019-02-22T14:08:49.732-08:00</published><updated>2019-02-22T14:08:49.732-08:00</updated><title type='text'>It helped me a lot.Thank you</title><content type='html'>It helped me a lot.Thank you</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/1220127687122446032'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/1220127687122446032'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html?showComment=1550873329732#c1220127687122446032' title=''/><author><name>Bh@v@n@</name><uri>https://www.blogger.com/profile/04033768818328706053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-7229102576196331145' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/7229102576196331145' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1060776494"/><gd:extendedProperty name="blogger.displayTime" value="February 22, 2019 at 2:08 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-2245751370821261957</id><published>2018-12-24T01:37:20.520-08:00</published><updated>2018-12-24T01:37:20.520-08:00</updated><title type='text'>What do you mean by &quot;This won&#39;t randomize...</title><content type='html'>What do you mean by &quot;This won&#39;t randomize the order&quot;? Sample function randomize the order.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/2245751370821261957'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/2245751370821261957'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html?showComment=1545644240520#c2245751370821261957' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/545759680810845151'/><author><name>Deepanshu Bhalla</name><uri>https://www.blogger.com/profile/09802839558125192674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXm_iOrXFR9Ls-mjtOci4qd1m1V1TXkkWJINuMy84-Axo5pNS6CG7oKwR7hfHHI3tB1yuz8W_qo9HK2Cw5fHfe_4cL_2DCf_LyoK9LMLicZojbNYgypIP-RXNsw1GsVhk/s100/pic.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-7229102576196331145' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/7229102576196331145' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-966036103"/><gd:extendedProperty name="blogger.displayTime" value="December 24, 2018 at 1:37 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-4945139930850207471</id><published>2018-12-23T23:08:55.478-08:00</published><updated>2018-12-23T23:08:55.478-08:00</updated><title type='text'>This is the correct solution when you have a depen...</title><content type='html'>This is the correct solution when you have a dependent column. Thank you, Rishabh.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/4945139930850207471'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/4945139930850207471'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html?showComment=1545635335478#c4945139930850207471' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/8453479315987316872'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/11421539037573993999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-7229102576196331145' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/7229102576196331145' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1100120364"/><gd:extendedProperty name="blogger.displayTime" value="December 23, 2018 at 11:08 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8453479315987316872</id><published>2017-11-07T00:10:55.105-08:00</published><updated>2017-11-07T00:10:55.105-08:00</updated><title type='text'>One more way to split data into two part



instal...</title><content type='html'> One more way to split data into two part<br /><br /><br /><br />install.packages(&quot;caTools&quot;)<br />library(caTools)<br /><br /><br /><br />iris &lt;- iris<br /><br /><br /> iris$spl &lt;-sample.split(iris,SplitRatio = 0.7) <br /> head(iris)<br /> train=subset(iris, iris$spl==TRUE) <br /> test &lt;- subset(iris,iris$spl ==FALSE)</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/8453479315987316872'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/8453479315987316872'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html?showComment=1510042255105#c8453479315987316872' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/14902048972845949053</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-7229102576196331145' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/7229102576196331145' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1478203584"/><gd:extendedProperty name="blogger.displayTime" value="November 7, 2017 at 12:10 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-545759680810845151</id><published>2017-07-17T23:05:10.657-07:00</published><updated>2017-07-17T23:05:10.657-07:00</updated><title type='text'>This won&#39;t randomize the order, bad option</title><content type='html'>This won&#39;t randomize the order, bad option</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/545759680810845151'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/7229102576196331145/comments/default/545759680810845151'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html?showComment=1500357910657#c545759680810845151' title=''/><author><name>Saurabh</name><uri>https://www.blogger.com/profile/09006804534680777593</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2015/02/splitting-data-into-training-and-test.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-7229102576196331145' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/7229102576196331145' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-245494250"/><gd:extendedProperty name="blogger.displayTime" value="July 17, 2017 at 11:05 PM"/></entry></feed>