Stellar Study Cards

AI Coding Flashcards | Python Libraries for ML and AI

83 Total Cards in This Deck

AI Coding Flashcards | Python Libraries for ML and AI

Arrow keys or swipe to navigate cards

1 / 83 Total
Introduction to Python Libraries for ML and AI

What is NumPy and why is it important for ML and AI?

2 / 83 Total
Introduction to Python Libraries for ML and AI

What role does Pandas play in data preprocessing for ML?

3 / 83 Total
Introduction to Python Libraries for ML and AI

How can Matplotlib be utilized in ML and AI projects?

4 / 83 Total
Introduction to Python Libraries for ML and AI

Explain Scikit-learn's significance in ML.

5 / 83 Total
Introduction to Python Libraries for ML and AI

What is TensorFlow, and how does it support AI development?

6 / 83 Total
NumPy Basics

What is NumPy and why is it important for scientific computing in Python?

7 / 83 Total
NumPy Basics

How do you create a NumPy array from a Python list?

8 / 83 Total
NumPy Basics

What function is used to create an array of zeros in NumPy?

9 / 83 Total
NumPy Basics

Explain how to perform element-wise multiplication of two NumPy arrays.

10 / 83 Total
NumPy Basics

How can you reshape a NumPy array?

11 / 83 Total
NumPy Basics

How do you calculate the mean of a NumPy array?

12 / 83 Total
NumPy Basics

What is broadcasting in NumPy?

13 / 83 Total
Pandas

What is Pandas in Python?

14 / 83 Total
Pandas

How do you create a Pandas DataFrame from a dictionary?

15 / 83 Total
Pandas

How can you read a CSV file using Pandas?

16 / 83 Total
Pandas

What method would you use to filter rows in a DataFrame?

17 / 83 Total
Pandas

How do you handle missing data in a Pandas DataFrame?

18 / 83 Total
Pandas

What function is used to compute basic statistics for a DataFrame?

19 / 83 Total
Matplotlib

How do you create a simple line plot using Matplotlib in Python?

20 / 83 Total
Matplotlib

How can you add a title and labels to the axes in a Matplotlib plot?

21 / 83 Total
Matplotlib

What function in Matplotlib allows you to save a plot to a file?

22 / 83 Total
Matplotlib

How do you change the line style and color in a Matplotlib plot?

23 / 83 Total
Matplotlib

How can you create subplots in Matplotlib?

24 / 83 Total
Seaborn

What is Seaborn and how does it relate to Matplotlib?

25 / 83 Total
Seaborn

How can you create a basic scatter plot using Seaborn?

26 / 83 Total
Seaborn

What function would you use to create a heatmap in Seaborn?

27 / 83 Total
Seaborn

Explain the use of Seaborn's sns.pairplot function.

28 / 83 Total
Scikit-learn

What is Scikit-learn and what is it used for?

29 / 83 Total
Scikit-learn

How do you import a basic linear regression model from Scikit-learn?

30 / 83 Total
Scikit-learn

Explain the train/test split process in Scikit-learn.

31 / 83 Total
Scikit-learn

How can you evaluate the performance of a model using Scikit-learn?

32 / 83 Total
Scikit-learn

What is a pipeline, and how is it useful in Scikit-learn?

33 / 83 Total
Scikit-learn

How do you implement cross-validation in Scikit-learn?

34 / 83 Total
Scikit-learn

What is GridSearchCV in Scikit-learn, and what is its purpose?

35 / 83 Total
Scikit-learn

How can you perform feature scaling using Scikit-learn?

36 / 83 Total
TensorFlow

What is TensorFlow primarily used for?

37 / 83 Total
TensorFlow

How do you install TensorFlow using pip?

38 / 83 Total
TensorFlow

What function in TensorFlow is used to create tensors?

39 / 83 Total
TensorFlow

Explain what a 'tensor' is in the context of TensorFlow.

40 / 83 Total
TensorFlow

Describe one advantage of using TensorFlow's Eager execution mode.

41 / 83 Total
TensorFlow

What is the primary use of the TensorFlow function tf.keras.Model.compile()?

42 / 83 Total
TensorFlow

How do you define a simple feedforward neural network using TensorFlow?

43 / 83 Total
TensorFlow

What is the benefit of using TensorFlow's function tf.data.Dataset?

44 / 83 Total
TensorFlow

Can TensorFlow run on GPUs, and if so, how?

45 / 83 Total
PyTorch

What is PyTorch primarily used for?

46 / 83 Total
PyTorch

How do you define a tensor in PyTorch?

47 / 83 Total
PyTorch

What is the purpose of autograd in PyTorch?

48 / 83 Total
PyTorch

How can you move a tensor to GPU in PyTorch?

49 / 83 Total
PyTorch

What module in PyTorch provides a variety of datasets for training models?

50 / 83 Total
PyTorch

What function is used to compute the loss in PyTorch?

51 / 83 Total
PyTorch

How do you define a simple linear model in PyTorch?

52 / 83 Total
PyTorch

What is the function of the scheduler in learning rate scheduling?

53 / 83 Total
Keras

What is Keras?

54 / 83 Total
Keras

How do you import Keras Sequential model?

55 / 83 Total
Keras

What is a Sequential model in Keras?

56 / 83 Total
Keras

How can you add a Dense layer to a Sequential model in Keras?

57 / 83 Total
Keras

How do you compile a Keras model?

58 / 83 Total
Keras

What method is used to train a Keras model?

59 / 83 Total
OpenCV

What is OpenCV primarily used for in AI and ML applications?

60 / 83 Total
OpenCV

How can you read an image using OpenCV in Python?

61 / 83 Total
OpenCV

How do you display an image in a window using OpenCV?

62 / 83 Total
OpenCV

What is the purpose of the function cv2.cvtColor()?

63 / 83 Total
OpenCV

Which function is used in OpenCV to save an image to a file?

64 / 83 Total
Natural Language Toolkit (NLTK)

What is the Natural Language Toolkit (NLTK) used for in Python?

65 / 83 Total
Natural Language Toolkit (NLTK)

How do you install the Natural Language Toolkit (NLTK) in Python?

66 / 83 Total
Natural Language Toolkit (NLTK)

What is tokenization in the context of NLTK?

67 / 83 Total
Natural Language Toolkit (NLTK)

Can you give an example code snippet using NLTK to perform word tokenization?

68 / 83 Total
Natural Language Toolkit (NLTK)

What are stop words and how can they be handled using NLTK?

69 / 83 Total
Python Libraries for ML and AI - Statsmodels

What is the primary purpose of the Statsmodels library in Python?

70 / 83 Total
Python Libraries for ML and AI - Statsmodels

How do you perform a simple linear regression using Statsmodels in Python?

71 / 83 Total
Python Libraries for ML and AI - Statsmodels

What function in Statsmodels can be used to perform a time series analysis?

72 / 83 Total
Python Libraries for ML and AI - Statsmodels

How can you perform hypothesis testing using Statsmodels?

73 / 83 Total
SciPy

What is SciPy used for in Python programming?

74 / 83 Total
SciPy

How do you perform numerical integration using SciPy?

75 / 83 Total
SciPy

Can SciPy be used for optimization problems?

76 / 83 Total
SciPy

Explain how to solve systems of linear equations using SciPy.

77 / 83 Total
SciPy

How do you compute Fourier Transforms with SciPy?

78 / 83 Total
LightGBM

What is LightGBM and how is it used in machine learning?

79 / 83 Total
LightGBM

What is the key feature of LightGBM that distinguishes it from other gradient boosting methods?

80 / 83 Total
LightGBM

Describe how LightGBM optimizes the training process for large datasets.

81 / 83 Total
AI Coding Flashcards | Python Libraries for ML and AI - XGBoost

What are the key advantages of using XGBoost over traditional gradient boosting methods?

82 / 83 Total
AI Coding Flashcards | Python Libraries for ML and AI - XGBoost

How can you implement a basic XGBoost classifier in Python?

83 / 83 Total
AI Coding Flashcards | Python Libraries for ML and AI - XGBoost

What is the role of the eta parameter in XGBoost?