Note
This project was created with Node.js and Typescript.
Important
The version used in this project are:
- Node.js: v20
- pnpm: 9.0.6
This project is a dataset generator for the ML leadership using MLQ project. The dataset is generated using random values simulating the answers of the MLQ test.
To install the project, you need to have Node.js version 20. After that, you can run the following command:
npm install --location=global [email protected]
Then, you can install the project dependencies:
pnpm install
To generate the dataset, you can run the following command:
pnpm start
The dataset will be generated in the output
folder.
In the src/index.ts
file, you can change the number of samples generated by changing the TOTAL_ROWS_TO_GENERATE
constant.
Also, you can define if you want a same number of samples for each class by changing the SHOULD_CLASSES_BE_EQUAL
constant.
The dataset will be generated in the output
folder. The dataset will be a CSV file with the following columns:
["0. Question 1", "1. Question 2", ... "20. Question 21", "Class"]
The values of the columns will be a number between 0 and 4. The class column will be a number between 0 and 2 where:
- 0: Low Leadership
- 1: Medium Leadership
- 2: High Leadership
MIT