coding
Across
- 3. Used to read dataset from CSV file
- 4. y, test_size=0.2) Used to split data into training and testing sets
- 5. = GaussianNB() Creates Naive Bayes model
- 9. y_train) Used to train the model
- 11. = LogisticRegression() Creates Logistic Regression model
- 12. = StandardScaler() Creates scaler object for feature scaling
Down
- 1. y_pred) Generates confusion matrix
- 2. y_pred) Calculates accuracy
- 6. y_pred) Calculates regression error
- 7. = LinearRegression() Creates Linear Regression model
- 8. = model.predict(X_test) Used to predict output
- 10. = sc.fit_transform(X) Applies feature scaling