文檔
聯絡我們
-
學生
-
老師
-
編程
-
-
-
-
- 將文字轉換為 DateTimeOffset 格式
- 以不同單位創建 DateTimeOffset
- 以 Unix 時間創建 DateTimeOffset
- 使用當前時間創建DateTimeOffset
- 將 DateTimeOffset 與新的協調世界時偏移量合併
- 設定協調世界時偏移量
- 將 DateTimeOffset 變更成字串格式
- 轉換DateTimeOffset為字串
- 將間距加到dateTimeOffset
- 計算兩個DateTimeOffsets之間的間距
- 檢查兩個DateTimeOffsets是否相同
- 以毫秒顯示DateTimeOffset
- 以其他格式顯示時間
- 檢查DateTimeOffset是否在正確的數據類型
-
Print
按概率將預測結果排序
PredictionResult按概率排序
{"blocks":"predictionResult "}
這積木是用作將預測結果按概率排序。
參數:
人工智能模型(Teachable Machine預測結果)
情況:由小至大(預設)/由大至小
輸出:N/A
示例代碼:
{"blocks":"mainLayout mainScreen poseModel predictionResult mainLayout 0 mainScreen 0 Main mainLayout poseModel 0 https://teachablemachine.withgoogle.com/models/LL-rF1gZS/ predictionResult 0 poseModel https://i2.wp.com/runnersfirst.co.uk/wp-content/uploads/2019/01/running-woman.jpg?resize=678%2C381&ssl=1 SortingOrder.Ascending predictionResult mainLayout https://i2.wp.com/runnersfirst.co.uk/wp-content/uploads/2019/01/running-woman.jpg?resize=678%2C381&ssl=1 mainLayout predictionResult "}
當設為由小至大,輸出結果:
當設為由大至小,輸出結果:
參考:
- 已訓練的Google Teachable Machine模型: https://teachablemachine.withgoogle.com/models/LL-rF1gZS/
- 此例子中使用的圖片: https://i2.wp.com/runnersfirst.co.uk/wp-content/uploads/2019/01/running-woman.jpg?resize=678%2C381&ssl=1