This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pandas as pd | |
def sklearn_tree_to_ee_string(estimator, feature_names): | |
# extract out the information need to build the tree string | |
n_nodes = estimator.tree_.node_count | |
children_left = estimator.tree_.children_left | |
children_right = estimator.tree_.children_right | |
feature_idx = estimator.tree_.feature |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ipyleaflet | |
import json | |
import leafmap | |
import requests | |
stac_api = "https://earth-search.aws.element84.com/v0" | |
search_endpoint = f"{stac_api}/search" | |
collection = "sentinel-s2-l2a-cogs" | |
payload = { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer