Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Streamlines the training, evaluation, and comparison of multiple machine learning models with minimal code.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
NotificationsYou must be signed in to change notification settings

selcukorkmaz/fastml

Repository files navigation

fastml is a streamlined R package designed to simplify the training, evaluation, and comparison of multiple machine learning models. It offers comprehensive data preprocessing, supports a wide range of algorithms with hyperparameter tuning, and provides performance metrics alongside visualization tools to facilitate efficient and effective machine learning workflows.

Features

  • Comprehensive Data Preprocessing: Handle missing values, encode categorical variables, and apply various scaling methods with minimal code.
  • Support for Multiple Algorithms: Train a wide array of machine learning models including XGBoost, Random Forest, SVMs, KNN, Neural Networks, and more.
  • Hyperparameter Tuning: Customize and automate hyperparameter tuning for each algorithm to optimize model performance.
  • Performance Evaluation: Evaluate models using metrics like Accuracy, Kappa, Sensitivity, Specificity, Precision, F1 Score, and ROC AUC.
  • Visualization Tools: Generate comparison plots to visualize and compare the performance of different models effortlessly.
  • Easy Integration: Designed to integrate seamlessly into your existing R workflows with intuitive function interfaces.

Installation

From CRAN

You can install the latest stable version offastml from CRAN using:

install.packages("fastml")

You can install all dependencies (additional models) using:

# install all dependencies - recommendedinstall.packages("fastml",dependencies=TRUE)

From GitHub

For the development version, install directly from GitHub using the devtools package:

# Install devtools if you haven't alreadyinstall.packages("devtools")# Install fastml from GitHubdevtools::install_github("selcukorkmaz/fastml")

Quick Start

Here's a simple workflow to get you started with fastml:

library(fastml)# Example datasetdata(iris)iris<-iris[iris$Species!="setosa", ]# Binary classificationiris$Species<-factor(iris$Species)# Train modelsmodel<- fastml(data=iris,label="Species")# View model summarysummary(model)

Tuning Strategies

fastml supports both grid search and Bayesian optimization through thetuning_strategy argument. Use"grid" for a regular parameter grid or"bayes" for Bayesian hyperparameter search. Thetuning_iterationsparameter controls the number of iterationsonly whentuning_strategy = "bayes" and is ignored otherwise.

About

Streamlines the training, evaluation, and comparison of multiple machine learning models with minimal code.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp