Correct Answer: To correct or remove inaccurate data
Explanation:
Data cleaning improves data quality by correcting or removing inaccurate, incomplete, or inconsistent values.
Incorrect! Try again.
2Which issue is commonly handled during data cleaning?
Data cleaning
Easy
A.File permissions
B.Screen resolution
C.Network speed
D.Missing values
Correct Answer: Missing values
Explanation:
Data cleaning often handles missing values by removing affected records or replacing the missing entries.
Incorrect! Try again.
3What is a duplicate record?
Data cleaning
Easy
A.A record stored in another format
B.A record containing only numbers
C.A record that appears more than once
D.A record arranged in sorted order
Correct Answer: A record that appears more than once
Explanation:
A duplicate record is an identical or repeated entry that occurs more than once in a dataset.
Incorrect! Try again.
4Which action can be used to handle a missing numerical value?
Data cleaning
Easy
A.Convert it into a table name
B.Replace it with the column mean
C.Copy it into another database
D.Sort it in descending order
Correct Answer: Replace it with the column mean
Explanation:
A missing numerical value can be imputed using a representative value such as the column mean.
Incorrect! Try again.
5What does data integration involve?
Data integration
Easy
A.Reducing the number of attributes
B.Deleting every incomplete record
C.Combining data from multiple sources
D.Dividing values into intervals
Correct Answer: Combining data from multiple sources
Explanation:
Data integration combines information from different sources into a unified dataset.
Incorrect! Try again.
6Which is an example of data integration?
Data integration
Easy
A.Replacing missing ages with the mean
B.Merging customer tables from two branches
C.Converting temperatures from Celsius to Fahrenheit
D.Grouping salaries into income ranges
Correct Answer: Merging customer tables from two branches
Explanation:
Merging customer tables combines data from separate sources, so it is a data integration task.
Incorrect! Try again.
7Which field is commonly used to match records across two tables?
Data integration
Easy
A.A shared identifier
B.A random decimal
C.A display color
D.A file extension
Correct Answer: A shared identifier
Explanation:
A shared identifier, such as a customer ID, helps connect corresponding records across tables.
Incorrect! Try again.
8What problem occurs when two sources use different names for the same attribute?
Data integration
Easy
A.Schema inconsistency
B.Random sampling
C.Interval binning
D.Value normalization
Correct Answer: Schema inconsistency
Explanation:
A schema inconsistency occurs when sources represent the same information using different names or structures.
Incorrect! Try again.
9What is data transformation?
Data transformation
Easy
A.Protecting files with a password
B.Collecting data from new respondents
C.Converting data into a suitable form
D.Removing all records from a table
Correct Answer: Converting data into a suitable form
Explanation:
Data transformation changes the format, scale, or structure of data to make it suitable for analysis.
Incorrect! Try again.
10What does normalization usually do to numerical data?
Data transformation
Easy
A.Changes numbers into missing values
B.Combines several database tables
C.Rescales values to a common range
D.Removes every repeated record
Correct Answer: Rescales values to a common range
Explanation:
Normalization rescales numerical values so that features with different original scales become comparable.
Incorrect! Try again.
11Which operation is an example of data transformation?
Data transformation
Easy
A.Converting dates to one standard format
B.Selecting a sample from a population
C.Joining sales data with customer data
D.Deleting duplicate customer records
Correct Answer: Converting dates to one standard format
Explanation:
Changing dates into a consistent format transforms their representation without changing their meaning.
Incorrect! Try again.
12What is aggregation in data transformation?
Data transformation
Easy
A.Summarizing detailed data into totals
B.Finding duplicate rows in a table
C.Splitting values into category intervals
D.Matching records from separate sources
Correct Answer: Summarizing detailed data into totals
Explanation:
Aggregation summarizes detailed observations, such as converting daily sales into monthly totals.
Incorrect! Try again.
13What is the main goal of data reduction?
Data reduction
Easy
A.To correct spelling mistakes in categorical values
B.To decrease data size while preserving useful information
C.To combine data stored in unrelated source systems
D.To increase data size by copying existing records
Correct Answer: To decrease data size while preserving useful information
Explanation:
Data reduction creates a smaller representation while retaining the information needed for analysis.
Incorrect! Try again.
14Which method reduces data by selecting only some records?
Data reduction
Easy
A.Sampling
B.Discretization
C.Integration
D.Normalization
Correct Answer: Sampling
Explanation:
Sampling selects a representative subset of records instead of using the entire dataset.
Incorrect! Try again.
15What does dimensionality reduction decrease?
Data reduction
Easy
A.The number of databases
B.The number of data sources
C.The number of file types
D.The number of features
Correct Answer: The number of features
Explanation:
Dimensionality reduction decreases the number of features or variables used to represent the data.
Incorrect! Try again.
16What is feature selection?
Data reduction
Easy
A.Converting continuous values into categories
B.Combining records from different tables
C.Replacing missing values with estimates
D.Keeping the most relevant attributes
Correct Answer: Keeping the most relevant attributes
Explanation:
Feature selection reduces data dimensions by retaining relevant attributes and removing unnecessary ones.
Incorrect! Try again.
17What does data discretization do?
Data discretization
Easy
A.Combines tables from different databases
B.Converts continuous values into intervals
C.Corrects inaccurate values in records
D.Selects a subset of available features
Correct Answer: Converts continuous values into intervals
Explanation:
Data discretization groups continuous numerical values into a finite number of intervals or categories.
Incorrect! Try again.
18Which is an example of discretizing age?
Data discretization
Easy
A.Replacing missing ages with the median
B.Combining age data from two surveys
C.Removing age from the entire dataset
D.Grouping ages as child, adult, and senior
Correct Answer: Grouping ages as child, adult, and senior
Explanation:
Grouping numerical ages into named ranges converts a continuous attribute into discrete categories.
Incorrect! Try again.
19What is a bin in data discretization?
Data discretization
Easy
A.An interval containing a range of values
B.A key connecting two data sources
C.A feature removed during sampling
D.A table containing duplicate records
Correct Answer: An interval containing a range of values
Explanation:
A bin is an interval used to group continuous values during discretization.
Incorrect! Try again.
20Which type of data is most directly handled by discretization?
Data discretization
Easy
A.Continuous numerical data
B.Encrypted password data
C.Unstructured image data
D.Relational schema data
Correct Answer: Continuous numerical data
Explanation:
Discretization most commonly converts continuous numerical values into a limited set of intervals.
Incorrect! Try again.
21A customer-income column contains 8% missing values and is strongly right-skewed because of a few very high incomes. Which imputation method is most appropriate?
Data cleaning
Medium
A.Replace missing values with the median
B.Replace missing values with zero
C.Replace missing values with the mean
D.Remove every row containing a missing value
Correct Answer: Replace missing values with the median
Explanation:
The median is less affected by extreme values, so it is generally more suitable for imputing a skewed numerical variable.
Incorrect! Try again.
22A dataset contains two records with the same customer ID, email address, and date of birth, but slightly different spellings of the customer name. What is the best cleaning action?
Data cleaning
Medium
A.Replace both names with missing values
B.Merge them after verifying they represent one customer
C.Treat both records as unrelated customers
D.Delete both records from the dataset
Correct Answer: Merge them after verifying they represent one customer
Explanation:
Matching stable identifiers strongly suggests duplication, but verification should occur before records are merged.
Incorrect! Try again.
23A hospital dataset contains patient ages of 34, 67, 12, and 240 years. Which rule would most directly identify the invalid value?
Data cleaning
Medium
A.A frequency constraint on age
B.A valid-range constraint on age
C.A formatting constraint on age
D.A uniqueness constraint on age
Correct Answer: A valid-range constraint on age
Explanation:
A domain-based valid range can flag ages that are numerically formatted but impossible in the application context.
Incorrect! Try again.
24A temperature sensor occasionally records 999 when it loses connection. The normal operating range is to degrees Celsius. How should 999 initially be handled?
Data cleaning
Medium
A.Scale it using min-max normalization
B.Keep it as a genuine outlier
C.Convert it to a missing value
D.Replace it with the maximum value
Correct Answer: Convert it to a missing value
Explanation:
Because 999 is a known error code outside the valid sensor range, it should be treated as missing before imputation or analysis.
Incorrect! Try again.
25One sales table uses the field customer_id, while another uses client_number for the same identifier. What should be done before integrating the tables?
Data integration
Medium
A.Normalize both fields to the interval
B.Remove both fields before joining
C.Discretize both fields into equal-width bins
D.Standardize the fields using schema matching
Correct Answer: Standardize the fields using schema matching
Explanation:
Schema matching identifies attributes with different names but the same meaning so they can be aligned during integration.
Incorrect! Try again.
26Two regional datasets store sales in dollars and euros. What is required before calculating combined total sales?
Data integration
Medium
A.Convert both columns to a common currency
B.Join both datasets without changing values
C.Replace both columns with category labels
D.Sort both columns in ascending order
Correct Answer: Convert both columns to a common currency
Explanation:
Values must use a consistent unit before aggregation; otherwise, the combined total has no valid interpretation.
Incorrect! Try again.
27A customer address differs between a CRM record updated yesterday and a billing record updated six months ago. If update timestamps are reliable, which conflict-resolution rule is most suitable?
Data integration
Medium
A.Select either address at random
B.Prefer the alphabetically first address
C.Keep only the shortest address
D.Prefer the most recently updated record
Correct Answer: Prefer the most recently updated record
Explanation:
When timestamps and sources are trustworthy, the latest update is usually the best available representation of the current address.
Incorrect! Try again.
28Joining an orders table to a promotions table unexpectedly multiplies each order into several rows because multiple promotion records share the same code. What should be checked first?
Data integration
Medium
A.Whether numerical columns have been normalized
B.Whether the join key is unique as expected
C.Whether missing values use the median
D.Whether categories have been one-hot encoded
Correct Answer: Whether the join key is unique as expected
Explanation:
Unexpected row multiplication commonly indicates a one-to-many or many-to-many join caused by nonunique keys.
Incorrect! Try again.
29A model uses height in centimeters and annual income in dollars. Which transformation gives both variables mean and standard deviation ?
Data transformation
Medium
A.Z-score standardization
B.Decimal scaling
C.Min-max normalization
D.Equal-width discretization
Correct Answer: Z-score standardization
Explanation:
Z-score standardization applies , producing variables centered at zero with unit standard deviation.
Incorrect! Try again.
30A transaction-amount variable is positive and strongly right-skewed. Which transformation is most likely to reduce the skew while preserving value order?
Data transformation
Medium
A.A label-encoding transformation
B.A random permutation
C.A one-hot transformation
D.A logarithmic transformation
Correct Answer: A logarithmic transformation
Explanation:
A logarithmic transformation compresses large positive values more than small ones, often reducing right skew.
Incorrect! Try again.
31A feature named transport_type has the unordered values bus, train, car, and bicycle. Which encoding avoids implying an artificial ranking?
Data transformation
Medium
A.Rank transformation
B.One-hot encoding
C.Ordinal encoding
D.Cumulative encoding
Correct Answer: One-hot encoding
Explanation:
One-hot encoding creates a separate indicator for each nominal category without assigning an order among categories.
Incorrect! Try again.
32Using min-max normalization to , what is the transformed value of when the observed minimum is and maximum is ?
Data transformation
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Min-max normalization gives .
Incorrect! Try again.
33A dataset has 100 highly correlated numerical features. You want fewer features while retaining at least 95% of the total variance. Which method is most appropriate?
Data reduction
Medium
A.Equal-width binning
B.Principal component analysis
C.Mean imputation
D.One-hot encoding
Correct Answer: Principal component analysis
Explanation:
Principal component analysis forms a smaller set of uncorrelated components and can retain enough components to explain 95% of the variance.
Incorrect! Try again.
34A fraud dataset contains only 1% fraudulent transactions. You need a smaller representative sample for exploration. Which sampling method best preserves the class distribution?
Data reduction
Medium
A.Convenience sampling
B.Systematic majority-only sampling
C.Simple sequential sampling
D.Stratified random sampling
Correct Answer: Stratified random sampling
Explanation:
Stratified sampling separately samples each class, helping preserve the rare fraud proportion in the reduced dataset.
Incorrect! Try again.
35A retailer stores one row per transaction but needs only monthly revenue trends by store. Which reduction operation is most suitable?
Data reduction
Medium
A.Aggregate transactions by store and month
B.Encode each transaction using one-hot vectors
C.Duplicate transactions with missing store values
D.Normalize each transaction to unit length
Correct Answer: Aggregate transactions by store and month
Explanation:
Aggregation reduces row-level detail while preserving the monthly store-level totals required for trend analysis.
Incorrect! Try again.
36A classification dataset includes a unique row ID, several useful measurements, and two redundant copies of existing features. Which action best reduces dimensionality without losing useful information?
Data reduction
Medium
A.Remove the ID and redundant features
B.Duplicate the categorical features
C.Remove all continuous measurements
D.Keep only the unique row ID
Correct Answer: Remove the ID and redundant features
Explanation:
Unique identifiers usually provide no predictive pattern, while redundant copies add dimensions without adding new information.
Incorrect! Try again.
37Values range from through . Using five equal-width intervals, which interval contains the value ?
Data discretization
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Five equal-width intervals over this range have width , so belongs to .
Incorrect! Try again.
38A highly skewed income variable must be divided into four bins containing approximately the same number of records. Which method should be used?
Data discretization
Medium
A.Equal-frequency discretization
B.Fixed-threshold discretization
C.Equal-width discretization
D.Random-boundary discretization
Correct Answer: Equal-frequency discretization
Explanation:
Equal-frequency discretization chooses quantile-based boundaries so each bin contains approximately the same number of observations.
Incorrect! Try again.
39You are discretizing age for a churn classifier and want bin boundaries that best separate churned from non-churned customers. Which approach is most suitable?
Entropy-based discretization uses the target labels to select boundaries that produce purer class groups.
Incorrect! Try again.
40A discretization scheme uses the intervals , , and . Into which bin should the value be placed?
Data discretization
Medium
A.The interval
B.The interval
C.Both adjacent intervals
D.The interval
Correct Answer: The interval
Explanation:
The second interval excludes its upper endpoint, while the third interval includes 20 as its lower endpoint.
Incorrect! Try again.
41A dataset has values missing at random, where the probability that feature is missing depends on observed feature . During 5-fold cross-validation, which procedure best prevents information leakage while preserving this relationship?
Data cleaning
Hard
A.Fit a multivariate imputer on each training fold and apply it to that fold's validation data
B.Fit a multivariate imputer once on all predictors after removing the target variable
C.Remove incomplete rows separately from both the training and validation portions of each fold
D.Fit a median imputer on the complete dataset before creating the cross-validation folds
Correct Answer: Fit a multivariate imputer on each training fold and apply it to that fold's validation data
Explanation:
The imputer must learn parameters only from each training fold. A multivariate imputer can use observed to model the missingness pattern without exposing validation information.
Incorrect! Try again.
42A transaction table contains two rows with the same customer, timestamp, and amount but different transaction IDs. Some legitimate customers can make identical purchases within the same second. What is the safest cleaning action?
Data cleaning
Hard
A.Retain both rows until transaction-ID provenance or source-system rules establish duplication
B.Average the amounts and replace both records with one consolidated transaction
C.Delete one row because the three business attributes form a reliable composite key
D.Keep the record with the larger transaction ID and discard the other record
Correct Answer: Retain both rows until transaction-ID provenance or source-system rules establish duplication
Explanation:
Matching business attributes do not prove duplication when identical legitimate events are possible. Deduplication requires a validated key or source-specific evidence.
Incorrect! Try again.
43A pressure sensor occasionally reports to encode failure, while valid measurements are approximately Gaussian with mean and standard deviation . Which rule most appropriately handles the value ?
Data cleaning
Hard
A.Replace it with the sample median because it is an extreme statistical outlier
B.Winsorize it to the lower boundary defined by three standard deviations
C.Convert it to missing using the sensor's documented sentinel-value rule
D.Retain it because automatic modification would alter the empirical distribution
Correct Answer: Convert it to missing using the sensor's documented sentinel-value rule
Explanation:
The value is a documented failure code rather than a measurement. Semantic validation takes precedence over purely statistical outlier treatment.
Incorrect! Try again.
44After Unicode normalization and case folding, the customer labels MASS and Maß both map to the same normalized token. The distinction may be meaningful in the source system. What should the cleaning pipeline do?
Data cleaning
Hard
A.Flag the collision and preserve original values while resolving it with domain rules
B.Select the most frequent spelling and replace every colliding source value
C.Merge the records because normalized equality guarantees semantic equivalence
D.Discard both records because their canonical representations are not unique
Correct Answer: Flag the collision and preserve original values while resolving it with domain rules
Explanation:
Normalization can create false equivalences. Retaining raw values and recording collisions makes the operation reversible and allows domain-aware resolution.
Incorrect! Try again.
45Table has three rows for customer C7, and table has four rows for C7. An inner join is performed using only customer_id. How many joined rows for C7 result, and what does this indicate?
Data integration
Hard
A. rows, indicating an append operation at the customer grain
B. rows, indicating that table determines the output grain
C. rows, indicating a many-to-many join at the selected grain
D. rows, indicating that table determines the output grain
Correct Answer: rows, indicating a many-to-many join at the selected grain
Explanation:
Every matching row in pairs with every matching row in , producing rows. Additional keys or pre-aggregation may be needed.
Incorrect! Try again.
46Two hospitals store temperature under a column named temp: one records Celsius and the other Fahrenheit. Both columns are numeric and have no missing values. Which integration step is essential before concatenation?
Data integration
Hard
A.Resolve the semantic unit mismatch and convert both columns to a common unit
B.Rename both columns to a shared canonical name without changing values
C.Standardize each column independently to zero mean and unit variance
D.Cast both columns to the same floating-point representation before appending
Correct Answer: Resolve the semantic unit mismatch and convert both columns to a common unit
Explanation:
Matching names and data types do not imply matching semantics. Unit conversion is required to make values comparable before integration.
Incorrect! Try again.
47For each loan application at time , a credit-score history table contains multiple timestamped scores. Which join avoids future-data leakage while using the freshest available score?
Data integration
Hard
A.Join the score with the greatest timestamp satisfying
B.Join the score with the greatest timestamp satisfying
C.Join the maximum score recorded for that applicant across all timestamps
D.Join the score with the smallest absolute timestamp difference from
Correct Answer: Join the score with the greatest timestamp satisfying
Explanation:
A backward as-of join selects the latest score known at application time. Nearest or later joins can introduce information unavailable at prediction time.
Incorrect! Try again.
48In entity resolution, pairwise rules classify A–B and B–C as matches but A–C as a non-match. Why can taking connected components over matched pairs be unsafe?
Data integration
Hard
A.Connected components require every record pair to have identical attribute values
B.A component algorithm necessarily removes records having incomplete identifiers
C.Match decisions need not be transitive, so the component may merge distinct entities
D.Pairwise similarities cannot be represented by an undirected graph structure
Correct Answer: Match decisions need not be transitive, so the component may merge distinct entities
Explanation:
Connected components impose transitive closure. A bridge record can therefore combine entities even when some pairs have evidence of being distinct.
Incorrect! Try again.
49A Box–Cox transformation is selected for a positive predictor during model development. Which deployment procedure is statistically valid?
Data transformation
Hard
A.Estimate on training data and reuse that value for validation and future data
B.Set for validation data whenever its mean differs from the training mean
C.Estimate independently for every validation batch to match its distribution
D.Estimate on the combined training and validation data before evaluation
Correct Answer: Estimate on training data and reuse that value for validation and future data
Explanation:
The transformation is a learned preprocessing step. Estimating outside the training data leaks distributional information and creates inconsistent feature mappings.
Incorrect! Try again.
50A categorical variable with levels is one-hot encoded into all indicator columns and used in an unregularized linear regression that includes an intercept. What is the resulting issue?
Data transformation
Hard
A.The residual variance becomes zero because every row activates one indicator
B.The design matrix is rank-deficient because the indicators sum to the intercept
C.The model becomes nonlinear because each category receives a separate coefficient
D.The feature matrix loses sparsity because the intercept duplicates every category
Correct Answer: The design matrix is rank-deficient because the indicators sum to the intercept
Explanation:
For every row, the indicators sum to , which duplicates the intercept column. Dropping one indicator or the intercept removes the exact dependency.
Incorrect! Try again.
51A min–max scaler is fit to training values ranging from to . A valid deployment observation has value . Using , how should it be transformed if clipping was not part of the specification?
Data transformation
Hard
A.Refit the maximum to and transform the observation to
B.Transform it to using the stored training minimum and maximum
C.Mark it missing because values outside the training range are undefined
D.Transform it to because every min–max output must lie in
Correct Answer: Transform it to using the stored training minimum and maximum
Explanation:
Min–max scaling guarantees only for values within the fitted range. New values may map outside that interval unless explicit clipping is required.
Incorrect! Try again.
52A model is trained by ordinary least squares on , with residuals approximately . To estimate the conditional arithmetic mean of under this model, which back-transformation is appropriate?
Data transformation
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
For log-normal residuals, . Plain exponentiation estimates the conditional median instead.
Incorrect! Try again.
53A low-variance feature almost perfectly separates a rare positive class, while several high-variance noise features dominate the dataset. Why can retaining only the leading principal components harm classification?
Data reduction
Hard
A.PCA optimizes class separation but becomes unstable when classes are imbalanced
B.PCA preserves only nonlinear relationships and removes linear class information
C.PCA maximizes predictor variance without considering whether directions predict the target
D.PCA necessarily deletes every feature whose marginal variance is below one
Correct Answer: PCA maximizes predictor variance without considering whether directions predict the target
Explanation:
PCA is unsupervised. A low-variance direction can contain strong target information yet be discarded because it contributes little overall predictor variance.
Incorrect! Try again.
54A very large term-document matrix is sparse. The goal is a latent semantic representation without materializing a dense centered matrix. Which method is most suitable?
Data reduction
Hard
A.Apply truncated SVD directly to the uncentered sparse matrix
B.Compute pairwise document covariance and retain all nonzero eigenvectors
C.Center every term column and apply a full covariance eigendecomposition
D.Convert the matrix to dense form and apply classical multidimensional scaling
Correct Answer: Apply truncated SVD directly to the uncentered sparse matrix
Explanation:
Truncated SVD works efficiently with sparse matrices and avoids centering, which would usually destroy sparsity. This approach underlies latent semantic analysis.
Incorrect! Try again.
55Two disjoint groups summarize a numeric variable using and , where . Which additional information is required to compute the exact combined sample variance?
Data reduction
Hard
A.Only the minimum and maximum from each group are additionally required
B.No additional information is required because the two summaries are sufficient
C.Every original observation is required because variance summaries cannot be merged
D.Only the median and interquartile range from each group are additionally required
Correct Answer: No additional information is required because the two summaries are sufficient
Explanation:
The counts and means determine the between-group correction, while the two values provide within-group variation. The combined variance is therefore exactly recoverable.
Incorrect! Try again.
56A population contains positive cases. A reduced training sample includes all positives but only of negatives. To estimate population-level risk with an unweighted loss replaced by a weighted loss, which relative weighting is appropriate?
Data reduction
Hard
A.Give each sampled negative ten times the weight of each sampled positive
B.Give both classes equal weight because all positive cases were retained
C.Give each sampled positive ten times the weight of each sampled negative
D.Give each negative one hundred times the weight of each sampled positive
Correct Answer: Give each sampled negative ten times the weight of each sampled positive
Explanation:
Inverse-probability weighting uses for positives and for negatives. This restores their expected contribution to population-level loss.
Incorrect! Try again.
57A feature has values . An algorithm requests four equal-frequency bins while prohibiting identical values from being split across bins. What is the key consequence?
Data discretization
Hard
A.The tied values must be distributed uniformly among bins to preserve quantile boundaries
B.Equal-width binning becomes identical to equal-frequency binning for this sample
C.Four equal-frequency bins always exist because the sample size is divisible by four
D.Exactly equal bin counts may be impossible because the four tied values must remain together
Correct Answer: Exactly equal bin counts may be impossible because the four tied values must remain together
Explanation:
Quantile boundaries cannot both preserve ties and guarantee equal counts when a large tied block crosses desired cut points.
Incorrect! Try again.
58A supervised discretizer chooses cut points by maximizing information gain with respect to the target. Where must cut-point learning occur during cross-validation?
Data discretization
Hard
A.Once on the full dataset, followed by reusing the cut points in every fold
B.Once on target-stratified predictors after labels have been removed from the dataset
C.Within each validation fold, followed by applying the cut points to its training fold
D.Within each training fold, followed by applying those cut points to its validation fold
Correct Answer: Within each training fold, followed by applying those cut points to its validation fold
Explanation:
Because labels determine the cut points, fitting on all data leaks validation-target information. The discretizer must be included inside the cross-validation pipeline.
Incorrect! Try again.
59A candidate split partitions a node containing 50 positives and 50 negatives into children and . Using base-2 entropy, what is the information gain?
Data discretization
Hard
A.Approximately bits
B.Approximately bits
C.Exactly bit
D.Exactly bits
Correct Answer: Approximately bits
Explanation:
The parent entropy is . Each equally sized child has entropy , so the gain is bits.
Incorrect! Try again.
60Training values are discretized using boundaries , , and . Which assignment correctly handles a deployment value of without refitting?
Data discretization
Hard
A.Create a new bin based on the deployment value
B.Treat as missing because it exceeds the observed training maximum
C.Assign to using the stored boundaries
D.Rescale all boundaries so that becomes the upper endpoint
Correct Answer: Assign to using the stored boundaries
Explanation:
Open-ended outer bins handle future values outside the observed training range. Refitting boundaries at deployment would make feature semantics inconsistent.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →