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 containing only numbers
B.A record that appears more than once
C.A record arranged in sorted order
D.A record stored in another format
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.Copy it into another database
B.Replace it with the column mean
C.Convert it into a table name
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.Merging customer tables from two branches
B.Grouping salaries into income ranges
C.Replacing missing ages with the mean
D.Converting temperatures from Celsius to Fahrenheit
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 display color
B.A random decimal
C.A shared identifier
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.Interval binning
C.Random sampling
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.Converting data into a suitable form
C.Collecting data from new respondents
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.Removes every repeated record
D.Rescales values to a common range
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.Deleting duplicate customer records
B.Joining sales data with customer data
C.Converting dates to one standard format
D.Selecting a sample from a population
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.Splitting values into category intervals
C.Matching records from separate sources
D.Finding duplicate rows in a table
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 combine data stored in unrelated source systems
B.To increase data size by copying existing records
C.To decrease data size while preserving useful information
D.To correct spelling mistakes in categorical values
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.Normalization
B.Discretization
C.Integration
D.Sampling
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 data sources
B.The number of file types
C.The number of features
D.The number of databases
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.Replacing missing values with estimates
B.Combining records from different tables
C.Converting continuous values into categories
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.Selects a subset of available features
B.Converts continuous values into intervals
C.Corrects inaccurate values in records
D.Combines tables from different databases
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.Grouping ages as child, adult, and senior
B.Combining age data from two surveys
C.Replacing missing ages with the median
D.Removing age from the entire dataset
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.A table containing duplicate records
B.A feature removed during sampling
C.An interval containing a range of values
D.A key connecting two data sources
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.Relational schema data
D.Unstructured image 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.Remove every row containing a missing value
B.Replace missing values with the mean
C.Replace missing values with zero
D.Replace missing values with the median
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.Merge them after verifying they represent one customer
B.Delete both records from the dataset
C.Treat both records as unrelated customers
D.Replace both names with missing values
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 valid-range constraint on age
B.A uniqueness constraint on age
C.A frequency constraint on age
D.A formatting 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.Keep it as a genuine outlier
B.Replace it with the maximum value
C.Scale it using min-max normalization
D.Convert it to a missing 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.Discretize both fields into equal-width bins
B.Remove both fields before joining
C.Standardize the fields using schema matching
D.Normalize both fields to the interval
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.Replace both columns with category labels
B.Join both datasets without changing values
C.Sort both columns in ascending order
D.Convert both columns to a common currency
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.Prefer the alphabetically first address
B.Keep only the shortest address
C.Select either address at random
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 missing values use the median
C.Whether categories have been one-hot encoded
D.Whether the join key is unique as expected
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.Min-max normalization
B.Z-score standardization
C.Equal-width discretization
D.Decimal scaling
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 logarithmic transformation
B.A random permutation
C.A one-hot transformation
D.A label-encoding 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.Ordinal encoding
B.Rank transformation
C.Cumulative encoding
D.One-hot 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.Principal component analysis
B.Equal-width binning
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.Simple sequential sampling
B.Convenience sampling
C.Stratified random sampling
D.Systematic majority-only 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.Duplicate transactions with missing store values
B.Normalize each transaction to unit length
C.Aggregate transactions by store and month
D.Encode each transaction using one-hot vectors
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-width discretization
B.Random-boundary discretization
C.Fixed-threshold discretization
D.Equal-frequency 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.Both adjacent intervals
B.The interval
C.The interval
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.Remove incomplete rows separately from both the training and validation portions of each fold
B.Fit a multivariate imputer on each training fold and apply it to that fold's validation data
C.Fit a multivariate imputer once on all predictors after removing the target variable
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.Delete one row because the three business attributes form a reliable composite key
B.Average the amounts and replace both records with one consolidated transaction
C.Keep the record with the larger transaction ID and discard the other record
D.Retain both rows until transaction-ID provenance or source-system rules establish duplication
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.Retain it because automatic modification would alter the empirical distribution
B.Convert it to missing using the sensor's documented sentinel-value rule
C.Winsorize it to the lower boundary defined by three standard deviations
D.Replace it with the sample median because it is an extreme statistical outlier
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.Select the most frequent spelling and replace every colliding source value
B.Discard both records because their canonical representations are not unique
C.Merge the records because normalized equality guarantees semantic equivalence
D.Flag the collision and preserve original values while resolving it with domain rules
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 that table determines the output grain
B. rows, indicating an append operation at the customer 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.Standardize each column independently to zero mean and unit variance
B.Rename both columns to a shared canonical name without changing values
C.Resolve the semantic unit mismatch and convert both columns to a common unit
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 maximum score recorded for that applicant across all timestamps
C.Join the score with the greatest timestamp satisfying
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.Match decisions need not be transitive, so the component may merge distinct entities
B.Pairwise similarities cannot be represented by an undirected graph structure
C.Connected components require every record pair to have identical attribute values
D.A component algorithm necessarily removes records having incomplete identifiers
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.Set for validation data whenever its mean differs from the training mean
B.Estimate on training data and reuse that value for validation and future data
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 feature matrix loses sparsity because the intercept duplicates every category
D.The model becomes nonlinear because each category receives a separate coefficient
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.Transform it to because every min–max output must lie in
D.Mark it missing because values outside the training range are undefined
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 necessarily deletes every feature whose marginal variance is below one
B.PCA optimizes class separation but becomes unstable when classes are imbalanced
C.PCA preserves only nonlinear relationships and removes linear class information
D.PCA maximizes predictor variance without considering whether directions predict the target
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.Center every term column and apply a full covariance eigendecomposition
C.Convert the matrix to dense form and apply classical multidimensional scaling
D.Compute pairwise document covariance and retain all nonzero eigenvectors
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.Every original observation is required because variance summaries cannot be merged
B.Only the median and interquartile range from each group are additionally required
C.No additional information is required because the two summaries are sufficient
D.Only the minimum and maximum 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 negative one hundred times the weight of each sampled positive
B.Give both classes equal weight because all positive cases were retained
C.Give each sampled negative ten times the weight of each sampled positive
D.Give each sampled positive ten times the weight of each sampled negative
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.Within each training fold, followed by applying those cut points to its validation fold
B.Within each validation fold, followed by applying the cut points to its training fold
C.Once on the full dataset, followed by reusing the cut points in every fold
D.Once on target-stratified predictors after labels have been removed from the dataset
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.Exactly bit
C.Exactly bits
D.Approximately 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.Treat as missing because it exceeds the observed training maximum
B.Rescale all boundaries so that becomes the upper endpoint
C.Create a new bin based on the deployment value
D.Assign to using the stored boundaries
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 →