संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी कलेक्शन में, डेटरमिनिस्टिक स्यूडोरैंडम नंबर का कॉलम जोड़ता है. आउटपुट, डबल-प्रिसिशन फ़्लोटिंग पॉइंट नंबर होते हैं. 'यूनिफ़ॉर्म' डिस्ट्रिब्यूशन (डिफ़ॉल्ट) का इस्तेमाल करने पर, आउटपुट [0, 1] की रेंज में होते हैं. 'सामान्य' डिस्ट्रिब्यूशन का इस्तेमाल करने पर, आउटपुट में μ=0, σ=1 होता है. हालांकि, इनकी कोई तय सीमा नहीं होती.
रैंडम नंबर जनरेट करते समय इस्तेमाल किया जाने वाला सीड.
distribution
स्ट्रिंग, डिफ़ॉल्ट: "uniform"
रैंडम नंबर जनरेट करने के लिए, डिस्ट्रिब्यूशन का टाइप; 'यूनिफ़ॉर्म' या 'नॉर्मल' में से कोई एक.
rowKeys
सूची, ज़रूरी नहीं
ऐसी प्रॉपर्टी की सूची जो कलेक्शन के किसी एलिमेंट की पहचान, यूनीक और बार-बार करने में सक्षम होनी चाहिए. इसका इस्तेमाल, रैंडम नंबर जनरेट करने के लिए किया जाता है. डिफ़ॉल्ट रूप से, [system:index] पर सेट होता है.
[[["समझने में आसान है","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-04-01 (UTC) को अपडेट किया गया."],[[["`randomColumn()` adds a new column of pseudorandom numbers to a FeatureCollection, with the default column name being \"random\"."],["The generated random numbers can follow either a uniform distribution (\\[0, 1)) or a normal distribution (μ=0, σ=1) specified using the `distribution` parameter."],["Users can provide a seed value for reproducibility using the `seed` parameter, ensuring the same sequence of random numbers is generated for a given seed."],["This function is commonly used for tasks like randomly splitting a FeatureCollection into subsets for training and testing machine learning models, as demonstrated in the examples."]]],["This tool adds a column of pseudorandom numbers to a FeatureCollection. Users can specify the `columnName`, `seed`, and `distribution`. The default distribution, 'uniform', generates numbers between 0 and 1; 'normal' produces numbers with a mean of 0 and a standard deviation of 1. The `randomColumn` method returns the modified FeatureCollection. This is exemplified by creating random splits into subsets. The outputs are double-precision floating point numbers.\n"]]