Skip to content

Releases: noluyorAbi/openAIScientist

openAIScientist v1.0.0

13 Jul 21:58
Compare
Choose a tag to compare

Release: openAIScientist v1.0.0

Release Date: 13.07.2024


openAIScientist is an R package that leverages OpenAI's powerful language model to automate data analysis and visualization. This is the first official release of the package, developed as part of a university project. We appreciate any feedback or suggestions to help improve the package and our development skills.

Key Features:

  • Automated Data Analysis:

    • Generate comprehensive scientific analyses in markdown format.
    • Include additional prompts to customize the analysis.
  • Data Visualization:

    • Create visualizations with ggplot2 using RMarkdown.
    • Ensure visualizations are suitable for various data types.

Installation:

To install openAIScientist, ensure you have the devtools package, then run:

install.packages("devtools")
devtools::install_github("noluyorAbi/openAIScientist")

Usage Example:

library(openAIScientist)
readRenviron(".Renviron")

data <- data.frame(
  age = sample(20:70, 100, replace = TRUE),
  income = rnorm(100, mean = 50000, sd = 15000),
  gender = sample(c("Male", "Female"), 100, replace = TRUE),
  purchase = sample(c("Yes", "No"), 100, replace = TRUE)
)

api_key <- Sys.getenv("OPENAI_API_KEY")
visualization_code <- generate_visualization_rmd(data, api_key, "Visualization")
cat(visualization_code)

Disclaimer:

While openAIScientist aims to provide accurate and useful analyses and visualizations, the nature of AI models means that results can sometimes be unpredictable. If you encounter any issues with the generated files, consider retrying the analysis or plotting the data again. The responses generated by the model are not deterministic, so each run may produce different results.

Feedback:

Your feedback is invaluable! Please provide any suggestions or comments to help us improve the package. Visit the GitHub repository for more details and to contribute.


Thank you for using openAIScientist! Happy coding!

Full Changelog: https://github.com/noluyorAbi/openAIScientist/commits/v1.0.0