আর্থ ইঞ্জিন শেয়ার্ড কম্পিউট রিসোর্সগুলিকে সুরক্ষিত রাখতে এবং সকলের জন্য নির্ভরযোগ্য কর্মক্ষমতা নিশ্চিত করতে
অ-বাণিজ্যিক কোটা স্তর চালু করছে। সমস্ত অ-বাণিজ্যিক প্রকল্পকে
২৭ এপ্রিল, ২০২৬ এর মধ্যে একটি কোটা স্তর নির্বাচন করতে হবে অথবা ডিফল্টভাবে কমিউনিটি স্তর ব্যবহার করতে হবে। স্তর কোটা সমস্ত প্রকল্পের জন্য (স্তর নির্বাচনের তারিখ নির্বিশেষে)
২৭ এপ্রিল, ২০২৬ থেকে কার্যকর হবে।
আরও জানুন।
মতামত জানান
ee.ConfusionMatrix.consumersAccuracy
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
প্রতিটি সারির জন্য (সঠিক / মোট) হিসাবে সংজ্ঞায়িত একটি বিভ্রান্তি ম্যাট্রিক্সের ভোক্তার নির্ভুলতা (নির্ভরযোগ্যতা) গণনা করে।
ব্যবহার রিটার্নস ConfusionMatrix. consumersAccuracy () অ্যারে
যুক্তি টাইপ বিস্তারিত এটি: confusionMatrix কনফিউশন ম্যাট্রিক্স
উদাহরণ কোড এডিটর (জাভাস্ক্রিপ্ট)
// Construct a confusion matrix from an array (rows are actual values,
// columns are predicted values). We construct a confusion matrix here for
// brevity and clear visualization, in most applications the confusion matrix
// will be generated from ee.Classifier.confusionMatrix.
var array = ee . Array ([[ 32 , 0 , 0 , 0 , 1 , 0 ],
[ 0 , 5 , 0 , 0 , 1 , 0 ],
[ 0 , 0 , 1 , 3 , 0 , 0 ],
[ 0 , 1 , 4 , 26 , 8 , 0 ],
[ 0 , 0 , 0 , 7 , 15 , 0 ],
[ 0 , 0 , 0 , 1 , 0 , 5 ]]);
var confusionMatrix = ee . ConfusionMatrix ( array );
print ( "Constructed confusion matrix" , confusionMatrix );
// Calculate overall accuracy.
print ( "Overall accuracy" , confusionMatrix . accuracy ());
// Calculate consumer's accuracy, also known as user's accuracy or
// specificity and the complement of commission error (1 − commission error).
print ( "Consumer's accuracy" , confusionMatrix . consumersAccuracy ());
// Calculate producer's accuracy, also known as sensitivity and the
// compliment of omission error (1 − omission error).
print ( "Producer's accuracy" , confusionMatrix . producersAccuracy ());
// Calculate kappa statistic.
print ( 'Kappa statistic' , confusionMatrix . kappa ()); পাইথন সেটআপ
পাইথন এপিআই এবং ইন্টারেক্টিভ ডেভেলপমেন্টের জন্য geemap ব্যবহার করার জন্য পাইথন এনভায়রনমেন্ট পৃষ্ঠাটি দেখুন।
import ee
import geemap.core as geemap Colab (পাইথন)
# Construct a confusion matrix from an array (rows are actual values,
# columns are predicted values). We construct a confusion matrix here for
# brevity and clear visualization, in most applications the confusion matrix
# will be generated from ee.Classifier.confusionMatrix.
array = ee . Array ([[ 32 , 0 , 0 , 0 , 1 , 0 ],
[ 0 , 5 , 0 , 0 , 1 , 0 ],
[ 0 , 0 , 1 , 3 , 0 , 0 ],
[ 0 , 1 , 4 , 26 , 8 , 0 ],
[ 0 , 0 , 0 , 7 , 15 , 0 ],
[ 0 , 0 , 0 , 1 , 0 , 5 ]])
confusion_matrix = ee . ConfusionMatrix ( array )
display ( "Constructed confusion matrix:" , confusion_matrix )
# Calculate overall accuracy.
display ( "Overall accuracy:" , confusion_matrix . accuracy ())
# Calculate consumer's accuracy, also known as user's accuracy or
# specificity and the complement of commission error (1 − commission error).
display ( "Consumer's accuracy:" , confusion_matrix . consumersAccuracy ())
# Calculate producer's accuracy, also known as sensitivity and the
# compliment of omission error (1 − omission error).
display ( "Producer's accuracy:" , confusion_matrix . producersAccuracy ())
# Calculate kappa statistic.
display ( "Kappa statistic:" , confusion_matrix . kappa ())
মতামত জানান
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License -এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License -এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।
আমাদের আরও কিছু জানাতে চান?
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[]]