Skip to content

Commit b3ff5ed

Browse files
committed
model page tooltips
1 parent 9c86844 commit b3ff5ed

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

frontend/src/features/models/components/model-details-properties.tsx

+11
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ const ModelProperties: React.FC<ModelPropertiesProps> = ({
135135
label={
136136
APP_CONTENT.models.modelsDetailsCard.properties.accuracy.title
137137
}
138+
tooltip={
139+
APP_CONTENT.models.modelsDetailsCard.properties.accuracy.tooltip
140+
}
138141
value={trainingAccuracy}
139142
isAccuracy
140143
/>
@@ -181,6 +184,10 @@ const ModelProperties: React.FC<ModelPropertiesProps> = ({
181184
APP_CONTENT.models.modelsDetailsCard.properties.currentDatasetSize
182185
.title
183186
}
187+
tooltip={
188+
APP_CONTENT.models.modelsDetailsCard.properties.currentDatasetSize
189+
.tooltip
190+
}
184191
value={chips_length}
185192
/>
186193
{/* Animate the status when it's in progress. */}
@@ -197,6 +204,10 @@ const ModelProperties: React.FC<ModelPropertiesProps> = ({
197204
label={
198205
APP_CONTENT.models.modelsDetailsCard.properties.sourceImage.title
199206
}
207+
tooltip={
208+
APP_CONTENT.models.modelsDetailsCard.properties.sourceImage
209+
.tooltip
210+
}
200211
value={source_imagery}
201212
isTMS
202213
/>

frontend/src/utils/content.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -230,35 +230,35 @@ export const APP_CONTENT = {
230230
properties: {
231231
zoomLevels: {
232232
title: "Zoom Levels",
233-
tooltip: "",
233+
tooltip: "Those are the zoom level tiles imagery that was used when training this model",
234234
},
235235
epochs: {
236236
title: "Epochs",
237-
tooltip: "",
237+
tooltip: "Refers to the total number of times that the whole training datasets has been learned by the model",
238238
},
239239
contactSpacing: {
240240
title: "Contact Spacing",
241-
tooltip: "",
241+
tooltip: "The distance in pixels to extend the area around each building. This will be used to find points where buildings come into contact or are in close proximity to one another. For example, entering '8' will explore areas within 8 pixels outside the original building shapes to detect nearby buildings",
242242
},
243243
currentDatasetSize: {
244244
title: "Current Dataset Size",
245-
tooltip: "",
245+
tooltip: "The total number of images used to train this model",
246246
},
247247
sourceImage: {
248248
title: "Source Image (TMS)",
249-
tooltip: "",
249+
tooltip: "The tile server link used to train this model, click on the copy icon to copy the TMS link",
250250
},
251251
batchSize: {
252252
title: "Batch Size",
253-
tooltip: "",
253+
tooltip: "Refers to the total number of images that is fed into the model training in each batch until the whole training dataset is used to train the model",
254254
},
255255
accuracy: {
256256
title: "Accuracy",
257-
tooltip: "",
257+
tooltip: "Refers to the training sparse categorical accuracy of RAMP model or YOLO accuracy of the model",
258258
},
259259
boundaryWidth: {
260260
title: "Boundary Width",
261-
tooltip: "",
261+
tooltip: "Specify the width in pixels to reduce the original building shape inwardly, creating a boundary or margin around each building. A smaller value creates a tighter boundary close to the building's edges, while a larger value creates a wider surrounding area. For example, entering '3' will create a boundary that 3 pixles inside from the original building edges.",
262262
},
263263
},
264264
trainingHistoryTableHeader: {

0 commit comments

Comments
 (0)