首页 \ 问答 \ R中的树:回归与分类(Trees in R: regression vs classification)

R中的树:回归与分类(Trees in R: regression vs classification)

我在R中使用树库,但是当我将数据放入树命令时,有时我会得到一个回归树,有时候会得到一个分类树。 这是关于什么的? 谢谢!


I am using the tree library in R, but when I fit the data into the tree command, sometimes I get a regression tree and sometimes a classification tree. What is this about? Thanks!


原文:
更新时间:2022-10-26 17:10

最满意答案

你需要像这个svn diff https://svn.abc.com/svn/project/trunk https://svn.abc.com/svn/project/tags/release_20120722 > tmp.diff创建revert diff并修补你的主干用那个patch -p0 -i tmp.diff


You need to create revert diff like this svn diff https://svn.abc.com/svn/project/trunk https://svn.abc.com/svn/project/tags/release_20120722 > tmp.diff and patch your trunk with that patch -p0 -i tmp.diff.

相关问答

更多
  • 我想,我发现了发生了什么。 在linux上,一些svn命令被防火墙阻止,我错过了错误。 我通过修订将版本恢复到出错的程度,然后再次开始合并。 然后我遇到了这个错误: Adding Release-1.0.0/WebContent svn: Commit failed (details follow): svn: Server sent unexpected return value (501 Method Not Implemented) in response to C ...
  • 您的svn merge语法错误。 您要检出trunk的工作副本,然后使用svn merge --reintegrate选项: $ pwd /home/user/project-trunk $ svn update # (make sure the working copy is up to date) At revision . $ svn merge --reintegrate ^/project/branches/branch_1 --- Merging differences betwee ...
  • 天啊,听起来很乱...... 要做的第一件事就是让所有的开发人员离开回购集团几个小时,如果不是几天(因为它需要一段时间而且会有压力,希望你周末没有计划....),也许需要你的CI系统离线了一点。 (不是必要的,但它会节省一堆破碎的版本) 然后阅读: SVN手册转储/加载 制作repo文件系统的备份副本。 (如果你犯了错误。) svnadmin dump REPO_LOCATION_HERE --revision 0:LAST_SAFE_REVISION_NUMBER_HERE > baseline.dump ...
  • 请充分尊重:我理解SVN对合并的作用,我不想处理。 我们已经尝试过合并,但它还没有成功(已经有效,但没有成功)。 正如我所提到的,我们没有处理标准软件代码,这是问题的一部分。 在任何情况下,我都会猜测在没有自动更新的情况下将标签切换到主干不是SVN提供的功能(这是我原来的问题) 无论如何,我想出了如何为单个文件进行切换。 那部分现在可以按照我的意图运行,所以我可以检查一个标签,并成功检查到trunk的特定文件。 %cd $ tag %svn switch $ repo / trunk / filepath ...
  • 更常见的方法是保持发布分支(1.x,2.x,...)打开并从那里标记特定版本。 只有在停止支持该版本时才关闭分支。 1.0 1.1 2.0 2.1 (release tags) / / / / /----------- 1.x /----------- 2.x (release branches) / / --- ...
  • 是的你可以。 svn-repo中的任何URL都可以与任何其他URL合并。 标签(RO)和分支(RW)上的分离只是惯例 PS :合并后不要忘记杀坏标签 Yes, you can. Any URL in svn-repo can be merged with any other. separation on tags (RO) and branches (RW) is just convention PS: don't forget to kill bad tag after merge
  • 如果我正确地读了你的问题,你将某些内容合并到master ,但是存在某种问题,你想取消合并并可能重新开始。 在这种情况下,我认为你可以逃脱以下: git reset --hard HEAD 因为你还没有提交任何东西,所以合并的唯一真正效果是你的工作直接文件,可能还有你的阶段,从合并中“脏”。 在尝试合并之前,上述命令会将工作和暂存文件重置为HEAD提交时的状态。 但是你的分支的实际历史还没有改变,所以你在这方面是安全的。 如果你很好奇如果你已经提交了合并你可能会处理这种情况,可能还有其他工作现在在合并提交 ...
  • 你需要像这个svn diff https://svn.abc.com/svn/project/trunk https://svn.abc.com/svn/project/tags/release_20120722 > tmp.diff创建revert diff并修补你的主干用那个patch -p0 -i tmp.diff 。 You need to create revert diff like this svn diff https://svn.abc.com/svn/project/trunk http ...

相关文章

更多

最新问答

更多
  • 如何在Laravel 5.2中使用paginate与关系?(How to use paginate with relationships in Laravel 5.2?)
  • linux的常用命令干什么用的
  • 由于有四个新控制器,Auth刀片是否有任何变化?(Are there any changes in Auth blades due to four new controllers?)
  • 如何交换返回集中的行?(How to swap rows in a return set?)
  • 在ios 7中的UITableView部分周围绘制边界线(draw borderline around UITableView section in ios 7)
  • 使用Boost.Spirit Qi和Lex时的空白队长(Whitespace skipper when using Boost.Spirit Qi and Lex)
  • Java中的不可变类(Immutable class in Java)
  • WordPress发布查询(WordPress post query)
  • 如何在关系数据库中存储与IPv6兼容的地址(How to store IPv6-compatible address in a relational database)
  • 是否可以检查对象值的条件并返回密钥?(Is it possible to check the condition of a value of an object and JUST return the key?)
  • GEP分段错误LLVM C ++ API(GEP segmentation fault LLVM C++ API)
  • 绑定属性设置器未被调用(Bound Property Setter not getting Called)
  • linux ubuntu14.04版没有那个文件或目录
  • 如何使用JSF EL表达式在param中迭代变量(How to iterate over variable in param using JSF EL expression)
  • 是否有可能在WPF中的一个单独的进程中隔离一些控件?(Is it possible to isolate some controls in a separate process in WPF?)
  • 使用Python 2.7的MSI安装的默认安装目录是什么?(What is the default installation directory with an MSI install of Python 2.7?)
  • 寻求多次出现的表达式(Seeking for more than one occurrence of an expression)
  • ckeditor config.protectedSource不适用于editor.insertHtml上的html元素属性(ckeditor config.protectedSource dont work for html element attributes on editor.insertHtml)
  • linux只知道文件名,不知道在哪个目录,怎么找到文件所在目录
  • Actionscript:检查字符串是否包含域或子域(Actionscript: check if string contains domain or subdomain)
  • 将CouchDB与AJAX一起使用是否安全?(Is it safe to use CouchDB with AJAX?)
  • 懒惰地初始化AutoMapper(Lazily initializing AutoMapper)
  • 使用hasclass为多个div与一个按钮问题(using hasclass for multiple divs with one button Problems)
  • Windows Phone 7:检查资源是否存在(Windows Phone 7: Check If Resource Exists)
  • 无法在新线程中从FREContext调用getActivity()?(Can't call getActivity() from FREContext in a new thread?)
  • 在Alpine上升级到postgres96(/ usr / bin / pg_dump:没有这样的文件或目录)(Upgrade to postgres96 on Alpine (/usr/bin/pg_dump: No such file or directory))
  • 如何按部门显示报告(How to display a report by Department wise)
  • Facebook墙贴在需要访问令牌密钥后无法正常工作(Facebook wall post not working after access token key required)
  • Javascript - 如何在不擦除输入的情况下更改标签的innerText(Javascript - how to change innerText of label while not wiping out the input)
  • WooCommerce / WordPress - 不显示具有特定标题的产品(WooCommerce/WordPress - Products with specific titles are not displayed)