Testnet
/
Connect Wallet
Confirmed transaction
11.03.2025, 20:54:57
Duration: 20s
Action
Route
Payload
Value
Transfer TON
#!/usr/bin/python# -*- coding: utf-8 -*-"""=========================================================Feature agglomeration=========================================================These images how similar features are merged together usingfeature agglomeration."""print(__doc__)# Code source: Gaël Varoquaux# Modified for documentation by Jaques Grobler# License: BSD 3 clauseimport numpy as npimport matplotlib.pyplot as pltfrom sklearn import datasets, clusterfrom sklearn.feature_extraction.image import grid_to_graphdigits = datasets.load_digits()images = digits.imagesX = np.reshape(images, (len(images), -1))connectivity = grid_to_graph(*images[0].shape)agglo = cluster.FeatureAgglomeration(connectivity=connectivity, n_clusters=32)agglo.fit(X)X_reduced = agglo.transform(X)X_restored = agglo.inverse_transform(X_reduced)images_restored = np.reshape(X_restored, images.shape)plt.figure(1, figsize=(4, 3.5))plt.clf()plt.subplots_adjust(left=.01, right=.99, bottom=.01, top=.91)for i in range(4): plt.subplot(3, 4, i + 1) plt.imshow(images[i], cmap=plt.cm.gray, vmax=16, interpolation='nearest') plt.xticks(()) plt.yticks(()) if i == 1: plt.title('Original data') plt.subplot(3, 4, 4 + i + 1) plt.imshow(images_restored[i], cmap=plt.cm.gray, vmax=16, interpolation='nearest') if i == 1: plt.title('Agglomerated data') plt.xticks(()) plt.yticks(())plt.subplot(3, 4, 10)plt.imshow(np.reshape(agglo.labels_, images[0].shape), interpolation='nearest', cmap=plt.cm.nipy_spectral)plt.xticks(())plt.yticks(())plt.title('Labels')plt.show()
0.5 TON
Transfer TON
-
0.4996 TON
Internal message
Value:
0.4996 TON
IHR disabled:
true
Created at:
11.03.2025, 20:55:08
Created lt:
32275690000002
Bounced:
true
Bounce:
false
Forward Fee:
0.000266669 TON
Init:
-
OpCode:
Bounce · 0xffffffff
Copy Raw body
payload: b5ee9c720101010100220000400000000023212f7573722f62696e2f707974686f6e0a23202d2a2d20636f6469
Interfaces:
wallet_v4r2
Transaction
Tx hash:
b61bbd42…5c34fdea
Prev. tx hash:
Total fee:
0.000267606 TON
Fwd. fee:
0 TON
Gas fee:
0.0002676 TON
Storage fee:
0.000000006 TON
Action fee:
0 TON
End balance:
4.512924042 TON
Time:
11.03.2025, 20:55:17
Lt:
32275694000001
Prev. tx lt:
32275688000001
Status:
active → active
State hash:
e9…e9
f5…7d
Aborted:
false
Destroyed:
false
Type tx:
TransOrd
Compute Phase
Success:
true
Exit code:
0
Vm steps:
13
Gas used:
669
Action Phase
Success:
true
Result code:
0
Total actions:
0
Skipped actions:
0
How this data was fetched?
Use tonapi.io