apachecn / ailearning

AiLearning:数据分析+机器学习实战+线性代数+PyTorch+NLTK+TF2
http://ailearning.apachecn.org/
Other
39.67k stars 11.46k forks source link

Update 7.md #655

Closed learning1112 closed 3 weeks ago

learning1112 commented 3 months ago

如果不限制dataset_copy的中元素数量的话,会报错 Traceback (most recent call last): File "F:\桌面\machine_learning\Random_Forest\random_forest.py", line 70, in dataset_split = cross_validation_split(dataset, 5) File "F:\桌面\machine_learning\Random_Forest\random_forest.py", line 59, in cross_validation_split index = random.randrange(len(dataset_copy)) File "E:\anaconda\envs\AI\lib\random.py", line 306, in randrange raise ValueError("empty range for randrange()") ValueError: empty range for randrange()

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ailearning ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 8:09am
kevinLuan commented 3 weeks ago

您好,您的邮件已收到,我们会在24小时内处理。感谢您的理解!

                    发件人: ***@***.***
                    时间: 2024-11-13 00:17:37.0                        
                    主题: Re:

Re: [apachecn/ailearning] Update 7.md (PR #655)
收件人: apachecn/ailearning ,Subscribed

Merged #655 into master.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.> [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/apachecn/ailearning/pull/655#event-15267424321", "url": "https://github.com/apachecn/ailearning/pull/655#event-15267424321", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { @.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]