CAIC 10-12 part 1 Flashcards
(166 cards)
How do you launch Jupyter Notebook?
Navigate to the MLSALab folder in Terminal or Command Prompt and run the command: jupyter notebook
What file do you access after launching Jupyter Notebook?
churn.csv
What is the purpose of the empty notebook in Jupyter Notebook?
To explore data and build models.
How do you run code in a Jupyter Notebook cell?
Click on the run button on the toolbar.
What command is used to install Python packages for data manipulation and visualization?
! pip3 install pandas
! pip3 install matplotlib
! pip3 install scikit-learn
What function returns basic statistics about the data in a DataFrame?
describe()
What function is used to plot histograms for selected columns in a DataFrame?
hist()
What command calculates the correlation between features in a DataFrame?
corr()
What is the purpose of transforming Geography and Gender values in the dataset?
To convert categorical strings to ordinal numbers for ML algorithms.
What library is commonly used for machine learning in Python?
sklearn
What command is used to drop unnecessary columns from the dataset?
churn_data.drop(columns = [‘Geography™, ‘Gender™, ‘RowNumber™, ‘Surname™], inplace=True)
What is the purpose of splitting the dataset into training and testing sets?
To prepare for model training and validation.
What function is used to split the dataset into training and testing sets?
train_test_split()
What method is used to train the model using the random forest algorithm?
fit()
What function is used to calculate the model accuracy?
accuracy_score()
What is the main goal of conjoint analysis?
To identify customer preferences and evaluate product features.
What types of products can conjoint analysis be applied to?
- Consumer goods
- Electrical goods
- Life insurance policies
- Retirement communities
- Luxury goods
- Air travel
What is the primary method used in conjoint analysis?
A research-based statistical method to evaluate different attributes of products.
Name the three types of conjoint studies.
- Ranking-based conjoint
- Rating-based conjoint
- Choice-based conjoint
What is a key feature of choice-based conjoint analysis?
Respondents choose between products with the same level of attributes but different combinations.
What are the four steps in designing a conjoint experiment?
- Identifying the sort of research
- Determining the pertinent characteristics
- Specifying the attributes’ levels
- Managing the number of alternatives
What is a fractional factorial design approach used for in conjoint analysis?
To decrease the number of profiles while ensuring enough data for statistical analysis.
What is the overall utility value in conjoint analysis?
The evaluation of the entire product.
What is the partial utility value in conjoint analysis?
The degree of influence of individual elements on the purchase decision.