Skip to content

SebastianCB-dev/dataset-generator-leadership-mlq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dataset generator project ML leadership using MLQ

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

Description

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.

Installation

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

Usage

To generate the dataset, you can run the following command:

pnpm start

The dataset will be generated in the output folder.

Input

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.

Output

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

License

MIT

About

This is a dataset generator for the leadership MLQ dataset

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published