- 博客(24)
- 收藏
- 关注
原创 4 Types of Kaggle Competitions
These are comprehensive Machine Learning challenges posed by difficult, often business-oriented predictive problems.For example,1⃣️Using customer's history of buying insurance to predict the price they are more likely to accept2⃣️Predicting the presence an
2024-07-25 00:14:06
933
原创 (Mac)Download Kaggle datasets with API
Then a file called kaggle.json will be generated.Why pip3, cuz my version is python3.11 If the installation is successful, then the part I circled is the location of the kaggle.Moved kaggle.json to kaggle4---Start DownloadingSearch a csv file from the data
2024-06-11 21:20:22
415
原创 XGboost调参
L2正则化用于对叶子节点的得分进行惩罚,L1和L2正则化项共同惩罚树的复杂度,值越小模型的鲁棒性越高(减少模型过度拟合)(4)降低学习率,继续调整参数,学习率合适候选值为:[0.01, 0.015, 0.025, 0.05, 0.1]值越小模型越复杂,越容易过拟合(在决策树中,只有损失下降的值超过该值,才会继续分裂节点)每个基模型的惩罚项,降低单个模型的影响;值越接近1越容易或拟合,越接近0精度越低。(1)选择较高的学习率,例如0.1,这样可以减少迭代用时。值越大,模型越复杂,越容易过拟合。
2024-03-12 01:45:49
1769
1
原创 Basic Data Exploration(2)
【代码】How Models Work-Basic Data Exploration(2)
2024-03-10 01:59:17
1673
1
原创 How Models Work?- Improving the Decision Tree
If there are two decision trees🌲: one with only one branch👆🏻 and the other with many leaves🖐🏻, which do you think is more likely to result from fitting the real estate training data?In fact, both two decision trees can be derived from the real estate
2024-03-06 19:08:35
375
原创 How Models Work?-Introduction(2)
We need to divide houses according to the historical average price.(Because the predicted price for any house under consideration is the historical average price of houses in the same category.)We use data to decide how to break the houses into two groups,
2024-03-05 18:37:12
328
原创 How Models Work?-Introduction(1)
1---I will build models as I go through following scenario:Your cousin has made millions of dollars speculating on real estate. He's offered to become business partners with you because of your interest in data science. He'll supply the money, and you'll s
2024-03-04 19:24:56
441
原创 高效办公-移动文件夹内2级文件到一个新文件夹
filelist = os.listdir(old_path) #列出该目录下的所有文件,listdir返回的文件列表是不包含路径的。old_path = '/Users/mac/Desktop/测试文件集' # 原文件夹路径。print('dst:', dst) # 移动到新的路径下的文件。new_path = '/Users/mac/Desktop/aaa' # 新文件夹路径。
2024-02-27 16:48:05
424
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人