You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AI-and-Analytics/Getting-Started-Samples/IntelModin_GettingStarted/README.md
+26-20Lines changed: 26 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,45 +1,45 @@
1
-
# `Intel® Modin* Get Started` Sample
1
+
# Modin Get Started Sample
2
2
3
-
The `Intel® Modin Getting Started` sample demonstrates how to use distributed Pandas using the Intel® Distribution of Modin* package. It demonstrates how to use software products that can be found in the [Intel® AI Tools](https://software.intel.com/content/www/us/en/develop/tools/oneapi/ai-analytics-toolkit.html).
3
+
The `Modin Getting Started` sample demonstrates how to use distributed Pandas using the Modin package.
4
4
5
5
| Area | Description
6
6
| :--- | :---
7
-
| What you will learn | Basic Intel® Distribution of Modin* programming model for Intel processors
8
-
| Time to complete | 5 to 8 minutes
9
7
| Category | Getting Started
8
+
| What you will learn | Basic Modin programming model for Intel processors
9
+
| Time to complete | 5 to 8 minutes
10
10
11
11
## Purpose
12
12
13
-
Intel® Distribution of Modin* uses Ray or Dask to provide a method to speed up your Pandas notebooks, scripts, and libraries. Unlike other distributed DataFrame libraries, Intel® Distribution of Modin* provides integration and compatibility with existing Pandas code.
13
+
Modin uses Ray or Dask to provide a method to speed up your Pandas notebooks, scripts, and libraries. Unlike other distributed DataFrame libraries, Modin provides integration and compatibility with existing Pandas code.
14
14
15
-
In this sample, you will run Intel® Distribution of Modin*-accelerated Pandas functions and note the performance gain when compared to "stock" (or standard) Pandas functions.
15
+
In this sample, you will run Modin-accelerated Pandas functions and note the performance gain when compared to "stock" (or standard) Pandas functions.
16
16
17
17
## Prerequisites
18
18
19
19
| Optimized for | Description
20
20
| :--- | :---
21
21
| OS | Ubuntu* 18.04 (or newer)
22
22
| Hardware | Intel® Atom® processors <br> Intel® Core™ processor family <br> Intel® Xeon® processor family <br> Intel® Xeon® Scalable Performance processor family
23
-
| Software | Intel® Distribution of Modin*
23
+
| Software | Modin
24
24
25
25
## Key Implementation Details
26
26
27
27
This get started sample code is implemented for CPU using the Python language. The example assumes you have Pandas and Modin installed inside a conda environment.
28
28
29
-
## Configure Environment
29
+
## Environment Setup
30
30
31
-
1. Install Intel® Distribution of Modin* in a new conda environment.
31
+
1. Install Modin in a new conda environment.
32
32
33
33
>**Note:** replace python=3.x with your own Python version
34
34
```
35
-
conda create -n aikit-modin python=3.x -y
36
-
conda activate aikit-modin
37
-
conda install modin-all -c intel -y
35
+
conda create -n modin python=3.x -y
36
+
conda activate modin
37
+
conda install modin-all -c conda-forge -y
38
38
```
39
39
40
40
2. Install Matplotlib.
41
41
```
42
-
conda install -c intel matplotlib -y
42
+
conda install -c conda-forge matplotlib -y
43
43
```
44
44
45
45
3. Install Jupyter Notebook.
@@ -52,9 +52,9 @@ This get started sample code is implemented for CPU using the Python language. T
You can run the Jupyter notebook with the sample code on your local server or download the sample code from the notebook as a Python file and run it locally. Visit [Intel® Distribution of Modin Getting Started Guide](https://www.intel.com/content/www/us/en/developer/articles/technical/intel-distribution-of-modin-getting-started-guide.html) for more information.
57
+
You can run the Jupyter notebook with the sample code on your local server or download the sample code from the notebook as a Python file and run it locally.
58
58
59
59
### Run the Sample in Visual Studio Code* (Optional)
60
60
@@ -87,33 +87,39 @@ To learn more about the extensions, see
87
87
88
88
3. Locate and open the Notebook.
89
89
```
90
-
IntelModin_GettingStarted.ipynb
90
+
Modin_GettingStarted.ipynb
91
91
```
92
92
93
93
4. Click the **Run** button to move through the cells in sequence.
94
94
95
95
### Run the Python Script Locally
96
96
97
-
1. Convert ``IntelModin_GettingStarted.ipynb`` to a Python file. There are two options.
97
+
1. Convert ``Modin_GettingStarted.ipynb`` to a Python file. There are two options.
98
98
99
99
1. Open the notebook and download the script as Python file: **File > Download as > Python (py)**.
100
100
101
101
2. Convert the notebook file to a Python script using commands similar to the following.
The expected cell output is shown in the `IntelModin_GettingStarted.ipynb` Notebook.
112
+
The expected cell output is shown in the `Modin_GettingStarted.ipynb` Notebook.
113
+
114
+
## Related Samples
115
+
116
+
* [Modin Vs. Pandas Performance](https://github.com/oneapi-src/oneAPI-samples/tree/master/AI-and-Analytics/Getting-Started-Samples/Modin_Vs_Pandas)
113
117
114
118
## License
115
119
116
120
Code samples are licensed under the MIT license. See
117
121
[License.txt](https://github.com/oneapi-src/oneAPI-samples/blob/master/License.txt) for details.
118
122
119
123
Third party program Licenses can be found here: [third-party-programs.txt](https://github.com/oneapi-src/oneAPI-samples/blob/master/third-party-programs.txt).
124
+
125
+
*Other names and brands may be claimed as the property of others. [Trademarks](https://www.intel.com/content/www/us/en/legal/trademarks.html)
0 commit comments