টেনসরফ্লো মডেল বিশ্লেষণ ভিজ্যুয়ালাইজেশন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি মূল্যায়ন চালানোর আউটপুট হল একটি tfma.EvalResult
যা একটি জুপিটার নোটবুকে tfma.view.render_slicing_metrics
(বা প্লটের জন্য tfma.view.render_plot
) কল করে ভিজ্যুয়ালাইজ করা যেতে পারে।
মেট্রিক্স ভিউ
মেট্রিক্স দেখতে, tfma.view.render_slicing_metrics
API ব্যবহার করুন tfma.EvalResult
যা মূল্যায়ন রান থেকে আউটপুট ছিল। মেট্রিক্স ভিউ তিনটি অংশ নিয়ে গঠিত:
মেট্রিক্স নির্বাচক
ডিফল্টরূপে, সমস্ত গণনা করা মেট্রিক্স প্রদর্শিত হয় এবং কলামগুলি বর্ণানুক্রমিকভাবে সাজানো হয়। মেট্রিক্স নির্বাচক ব্যবহারকারীকে মেট্রিক্স যোগ / অপসারণ / পুনরায় সাজানোর অনুমতি দেয়। ড্রপডাউন থেকে শুধু মেট্রিক্স চেক/চেক করুন (মাল্টি-সিলেক্টের জন্য Ctrl ধরে রাখুন) অথবা ইনপুট বাক্সে সরাসরি টাইপ/পুনরায় সাজান।

মেট্রিক ভিজ্যুয়ালাইজেশন
মেট্রিক ভিজ্যুয়ালাইজেশনের লক্ষ্য হল নির্বাচিত বৈশিষ্ট্যের স্লাইস সম্পর্কে অন্তর্দৃষ্টি প্রদান করা। ছোট ওজনযুক্ত নমুনা গণনা সহ স্লাইসগুলি ফিল্টার করার জন্য একটি দ্রুত ফিল্টারিং উপলব্ধ।

দুই ধরনের ভিজ্যুয়ালাইজেশন সমর্থিত:
স্লাইস ওভারভিউ
এই দৃশ্যে, প্রতিটি স্লাইসের জন্য নির্বাচিত মেট্রিকের মান রেন্ডার করা হয় এবং স্লাইসগুলিকে স্লাইসের নাম বা অন্য মেট্রিকের মান অনুসারে সাজানো যেতে পারে।

যখন স্লাইস সংখ্যা ছোট হয়, এটি ডিফল্ট ভিউ।
মেট্রিক্স হিস্টোগ্রাম
এই দৃশ্যে, স্লাইসগুলিকে তাদের মেট্রিক মানের উপর ভিত্তি করে বালতিতে বিভক্ত করা হয়। প্রতিটি বালতিতে প্রদর্শিত মান (গুলি) বালতিতে স্লাইসের সংখ্যা বা বালতির সমস্ত স্লাইসের জন্য মোট ওজনযুক্ত নমুনা গণনা বা উভয় হতে পারে।

গিয়ার আইকনে ক্লিক করে সেটিংস মেনুতে বাকেটের সংখ্যা পরিবর্তন করা যেতে পারে এবং লগারিদমিক স্কেল প্রয়োগ করা যেতে পারে।

হিস্টোগ্রাম ভিউতে আউটলিয়ার ফিল্টার করাও সম্ভব। নীচের স্ক্রিনশটে দেখানো হিসাবে হিস্টোগ্রামে কেবল পছন্দসই পরিসরটি টেনে আনুন।

যখন স্লাইস সংখ্যা বড় হয়, এটি ডিফল্ট ভিউ।
মেট্রিক্স টেবিল
মেট্রিক সারণীটি মেট্রিক্স নির্বাচকে নির্বাচিত সমস্ত মেট্রিকের ফলাফলের সংক্ষিপ্ত বিবরণ দেয়। মেট্রিক নামের উপর ক্লিক করে এটি সাজানো যেতে পারে। শুধুমাত্র ফিল্টার না করা স্লাইস রেন্ডার করা হবে।
প্লট ভিউ
প্রতিটি প্লটের নিজস্ব ভিজ্যুয়ালাইজেশন রয়েছে যা প্লটের জন্য অনন্য। আরও তথ্যের জন্য, প্লট ক্লাসের জন্য প্রাসঙ্গিক API ডকুমেন্টেশন দেখুন। উল্লেখ্য যে TFMA-তে, প্লট এবং মেট্রিক্স উভয়ই tfma.metrics.*
নিয়ম অনুসারে প্লট সম্পর্কিত ক্লাসগুলি Plot
শেষ হয়। প্লট দেখতে, tfma.view.render_plot
API ব্যবহার করুন tfma.EvalResult
যা মূল্যায়ন চালানো থেকে আউটপুট ছিল।
টাইম সিরিজ গ্রাফ
টাইম সিরিজ গ্রাফগুলি ডেটা স্প্যান বা মডেল রানের উপর একটি নির্দিষ্ট মেট্রিকের প্রবণতা সনাক্ত করা সহজ করে। একটি টাইম সিরিজ গ্রাফ তৈরি করতে, একাধিক মূল্যায়ন করুন (বিভিন্ন ডিরেক্টরিতে আউটপুট সংরক্ষণ করুন), এবং তারপর tfma.load_eval_results
কল করে একটি tfma.EvalResults
অবজেক্টে লোড করুন। ফলাফলগুলি তারপর tfma.view.render_time_series
ব্যবহার করে প্রদর্শিত হতে পারে
একটি নির্দিষ্ট মেট্রিকের জন্য গ্রাফটি প্রদর্শন করতে, ড্রপডাউন তালিকা থেকে এটিতে ক্লিক করুন। একটি গ্রাফ খারিজ করতে, উপরের ডান কোণায় X-এ ক্লিক করুন।

গ্রাফের যেকোন ডেটা পয়েন্টের উপর হভার করুন মডেল রান, ডেটা স্প্যান এবং মেট্রিক মান নির্দেশ করে একটি টুলটিপ দেখায়।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# TensorFlow Model Analysis Visualizations\n\n\u003cbr /\u003e\n\nThe output of running an evaluation is a\n[`tfma.EvalResult`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/EvalResult)\nwhich can be visualized in a Jupyter notebook by calling\n[`tfma.view.render_slicing_metrics`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/view/render_slicing_metrics)\n(or\n[`tfma.view.render_plot`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/view/render_plot)\nfor plots).\n\n### Metrics View\n\nTo view metrics, use the\n[`tfma.view.render_slicing_metrics`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/view/render_slicing_metrics)\nAPI passing the [`tfma.EvalResult`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/EvalResult) that was output from the evaluation run. The\nmetrics view is composed of three parts:\n\n- Metrics Selector\n\n By default, all computed metrics are displayed and the columns are sorted\n alphabetically. Metrics selector allows the user to add / remove / reorder\n metrics. Simply check / uncheck metrics from the dropdown (hold Ctrl for\n multi-select) or type / re-arrange them directly in the input box.\n\n- Metric Visualization\n\n Metric visualization aims to provide intuition about slices in the feature\n chosen. A quick filtering is available to filter out slices with small\n weighted sample count.\n\n Two type of visualizations are supported:\n 1. Slice overview\n\n In this view, value for the chosen metric is rendered for each slice and\n the slices can be sorted by the slice name or the value of another\n metric.\n\n When the number of slices are small, this is the default view.\n 2. Metrics Histogram\n\n In this view, slices are broken down into buckets based on their metric\n values. The value(s) displayed in each bucket can be the number of\n slices in the bucket or the total weighted sample count for all slices\n in the bucket or both.\n\n The number of buckets can be changed and logarithmic scale can be\n applied in the settings menu by clicking on the gear icon.\n\n It is also possible to filter out outliers in the histogram view. Simply\n drag the desired range in the histogram as shown in the screenshot\n below.\n\n When the number of slices are large, this is the default view.\n- Metrics Table\n\n The metric table summarizes results for all metrics chosen in metrics\n selector. It can be sorted by clicking on the metric name. Only slices not\n filtered out will be rendered.\n\n### Plot Views\n\nEach plot has it own visualization that is unique to the plot. For more\ninformation, see the relevant API documentation for the plot class. Note that\nin TFMA, plots and metrics are both defined under [`tfma.metrics.*`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/api/metrics)\nBy convention the classes related to plots end in `Plot`. To view plots, use the\n[`tfma.view.render_plot`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/view/render_plot)\nAPI passing the [`tfma.EvalResult`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/EvalResult) that was output from the evaluation run.\n\n### Time Series Graphs\n\nTime series graphs make it easy to spot trends of a specific metric over data\nspans or model runs. To create a time series graph, perform multiple evaluations\n(saving the output to different directories), and then load them into a\n`tfma.EvalResults` object by calling\n[`tfma.load_eval_results`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/api/load_eval_results).\nThe results can then be displayed using\n[`tfma.view.render_time_series`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/view/render_time_series)\n\nTo display the graph for a specific metric, simply click on it from the dropdown\nlist. To dismiss a graph, click on the X on the upper right corner.\n\nHover over any data point in the graph shows a tooltip indicating model run,\ndata span, and metric value."]]