GenderPrediction 1.0.0.2

dotnet add package GenderPrediction --version 1.0.0.2
                    
NuGet\Install-Package GenderPrediction -Version 1.0.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GenderPrediction" Version="1.0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GenderPrediction" Version="1.0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="GenderPrediction" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GenderPrediction --version 1.0.0.2
                    
#r "nuget: GenderPrediction, 1.0.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=GenderPrediction&version=1.0.0.2
                    
Install GenderPrediction as a Cake Addin
#tool nuget:?package=GenderPrediction&version=1.0.0.2
                    
Install GenderPrediction as a Cake Tool

GenderPrediction NuGet Package

The GenderPrediction NuGet package is a machine learning-based library for predicting gender based on Indian names. It leverages ML.NET to provide an easy-to-use API for integrating gender prediction functionality into your .NET applications.

Table of Contents

Installation

You can install the GenderPrediction package via NuGet Package Manager Console:

Install-Package GenderPrediction

Or via the .NET CLI:

dotnet add package GenderPrediction

#Quick Start
Here's a quick example to get you started with the GenderPrediction package:

1. Add the using statement:
using GenderPrediction;

2. Load the model and predict gender:

var modelPath = "path/to/your/trained/model.zip";

var genderPredictor = new GenderPredictor(modelPath);

var prediction = genderPredictor.Predict("Rajkumar");
Console.WriteLine($"Predicted Gender: {prediction.Gender}");

# Usage
Training a Model
Prepare your data:

Ensure your CSV file (indian_name_gender.csv) has the following format:

Name,Gender
Aabid,M
Aabida,F
Aachal,F

Train the model:

var dataPath = "path/to/indian_name_gender.csv";
var modelPath = "path/to/save/your/model.zip";

GenderPredictor.TrainModel(dataPath, modelPath);

Predicting Gender
After training your model, you can predict the gender for new names:

var modelPath = "path/to/your/trained/model.zip";
var genderPredictor = new GenderPredictor(modelPath);

var prediction = genderPredictor.Predict("Aachal");
Console.WriteLine($"Predicted Gender: {prediction.Gender}");

#Contributing : YTD

#License
This project is licensed under the MIT License - see the LICENSE file for details.

This README provides a clear and comprehensive guide for users to understand, install, and use your `GenderPrediction` NuGet package. It includes sections on installation, quick start, detailed usage, API documentation, contributing guidelines, and license information.



Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.2 101 7/9/2024
1.0.0.1 91 7/9/2024
1.0.0 97 7/9/2024