Skip to content

Random forest #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Random forest #215

wants to merge 9 commits into from

Conversation

Pratichhya
Copy link
Contributor

Testing of the RF pipeline to monitor its working.
Currently, the PR is at VITO.

@Pratichhya Pratichhya self-assigned this Jul 16, 2025
@Pratichhya Pratichhya requested a review from HansVRP July 16, 2025 09:42
Copy link
Contributor

@HansVRP HansVRP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comments/questions.

"""

# Parameters
window_size = 33
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these indeed fixed for these network; or should they be a tunable parameter?

avg_b12 = b12.mean()

# Calculate NDFI
ndfi = ((b12 / avg_b12) - (b08 / avg_b08)) / (b08 / avg_b08)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this one unavailble in the indiches package?

# Merge the two feature cubes
inference_cube = s2_feature_cube.merge_cubes(s1_feature_cube)

# link to the trained model: this model has an expiry date
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at a standard model on S3 to be used; can check with core team the preferred location

"type": "text/html",
"title": "OpenEO Web Editor",
"href": "https://editor.openeo.org/?wizard=UDP&wizard~process=random_forest_firemapping&wizard~processUrl=https://raw.githubusercontent.com/ESA-APEx/apex_algorithms/8ace24cf9853989b964e65246249e1379833be9d/algorithm_catalog/vito/random_forest_firemapping/openeo_udp/random_forest_firemapping.json&server=https://openeo.vito.be"
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it run with all job options or does it need an icnreased memory usage?

indices = compute_indices(cf_cube, indices_list)

# calculate texture features
features_udf = openeo.UDF.from_file("features.py")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you give features.py a more descriptive name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants