2022年12月15日 星期四

Python and ML Dictionary

scores={} 
for leaf_size in candidate_max_leaf_nodes: 
    my_mae = get_mae(leaf_size , train_X, val_X, train_y, val_y) 
    scores[leaf_size]=my_mae
 #下面一樣功能 
scores = {leaf_size: get_mae(leaf_size, train_X, val_X, train_y, val_y) for leaf_size in candidate_max_leaf_nodes}

print([scores.get(i) for i in candidate_max_leaf_nodes])
print(scores)
best_tree_size =min(scores , key=scores.get)
print(best_tree_size)

2020年1月8日 星期三

Privacy Policy
What information do we collect?
no information is collected.
What do we use your information for?
no information is collected.

How do we protect your information?
no information is collected.
Do we use cookies?
No.
Do we disclose any information to outside parties?
No.
Third party links in Advertising We may include advertising to third party products or services on our website. These third-party sites have separate and independent privacy policies. We therefore have no responsibility or liability for the content and activities of these linked sites. Nonetheless, we seek to protect the integrity of our site and welcome any feedback about these sites.


Date of Privacy Policy

If we decide to change our privacy policy, we will post those changes on this page.
This policy was last modified on 2020-1-9

Contact
If there are any questions regarding this privacy policy you may contact us using the information below.

Yong-Long Liu By email: liu31688@gmail.com

2019年5月27日 星期一

Privacy Policy
What information do we collect?
no information is collected.
What do we use your information for?
no information is collected.

How do we protect your information?
no information is collected.
Do we use cookies?
No.
Do we disclose any information to outside parties?
No.
Third party links in AdvertisingWe may include advertising to third party products or services on our website. These third-party sites have separate and independent privacy policies. We therefore have no responsibility or liability for the content and activities of these linked sites. Nonetheless, we seek to protect the integrity of our site and welcome any feedback about these sites.

Microsoft
Microsoft uses techniques to analyze and track apps from the Windows Store.
https://msdn.microsoft.com/en-us/library/windows/apps/dn764944.aspx

Date of Privacy Policy

If we decide to change our privacy policy, we will post those changes on this page.
This policy was last modified on 2018-10-03

Contact
If there are any questions regarding this privacy policy you may contact us using the information below.

Yong-Long Liu By email: liu31688@gmail.com