Coder Social home page Coder Social logo

scikit-learn / blog Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 17.0 25.17 MB

Hosting the scikit-learn blog.

Home Page: https://blog.scikit-learn.org

License: Creative Commons Attribution 4.0 International

HTML 17.19% Ruby 0.48% SCSS 46.21% JavaScript 0.45% Python 1.06% Jupyter Notebook 34.61%
community data-science machine-learning open-source python scikit-learn

blog's Introduction

CirrusCI Codecov CircleCI Nightly wheels Black PythonVersion PyPi DOI Benchmark

image

scikit-learn is a Python module for machine learning built on top of SciPy and is distributed under the 3-Clause BSD license.

The project was started in 2007 by David Cournapeau as a Google Summer of Code project, and since then many volunteers have contributed. See the About us page for a list of core contributors.

It is currently maintained by a team of volunteers.

Website: https://scikit-learn.org

Installation

Dependencies

scikit-learn requires:

  • Python (>= 3.9)
  • NumPy (>= 1.19.5)
  • SciPy (>= 1.6.0)
  • joblib (>= 1.2.0)
  • threadpoolctl (>= 2.0.0)

Scikit-learn 0.20 was the last version to support Python 2.7 and Python 3.4. scikit-learn 1.0 and later require Python 3.7 or newer. scikit-learn 1.1 and later require Python 3.8 or newer.

Scikit-learn plotting capabilities (i.e., functions start with plot_ and classes end with Display) require Matplotlib (>= 3.3.4). For running the examples Matplotlib >= 3.3.4 is required. A few examples require scikit-image >= 0.17.2, a few examples require pandas >= 1.1.5, some examples require seaborn >= 0.9.0 and plotly >= 5.14.0.

User installation

If you already have a working installation of NumPy and SciPy, the easiest way to install scikit-learn is using pip:

pip install -U scikit-learn

or conda:

conda install -c conda-forge scikit-learn

The documentation includes more detailed installation instructions.

Changelog

See the changelog for a history of notable changes to scikit-learn.

Development

We welcome new contributors of all experience levels. The scikit-learn community goals are to be helpful, welcoming, and effective. The Development Guide has detailed information about contributing code, documentation, tests, and more. We've included some basic information in this README.

Source code

You can check the latest sources with the command:

git clone https://github.com/scikit-learn/scikit-learn.git

Contributing

To learn more about making a contribution to scikit-learn, please see our Contributing guide.

Testing

After installation, you can launch the test suite from outside the source directory (you will need to have pytest >= 7.1.2 installed):

pytest sklearn

See the web page https://scikit-learn.org/dev/developers/contributing.html#testing-and-improving-test-coverage for more information.

Random number generation can be controlled during testing by setting the SKLEARN_SEED environment variable.

Submitting a Pull Request

Before opening a Pull Request, have a look at the full Contributing page to make sure your code complies with our guidelines: https://scikit-learn.org/stable/developers/index.html

Project History

The project was started in 2007 by David Cournapeau as a Google Summer of Code project, and since then many volunteers have contributed. See the About us page for a list of core contributors.

The project is currently maintained by a team of volunteers.

Note: scikit-learn was previously referred to as scikits.learn.

Help and Support

Documentation

Communication

Citation

If you use scikit-learn in a scientific publication, we would appreciate citations: https://scikit-learn.org/stable/about.html#citing-scikit-learn

blog's People

Contributors

cmarmo avatar francoisgoupil avatar gaelvaroquaux avatar glemaitre avatar jjerphan avatar jmloyola avatar laurburke avatar marenwestermann avatar ogrisel avatar reshamas avatar sangamswadik avatar symeneses avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blog's Issues

change name of blog repo

Is it possible to rename the repo from the current "blog"? Some options:

  • scikit-learn-blog
  • sklearn-blog

The reason:
When I clone the repo, the name is "blog" and it's not that informative, especially in a local folder with multiple blog repo's. What do you think? I don't know if there is a naming convention for blog repo code.

We had discussed setting up a CNAME that the address would be: blog.scikit-learn.org

cc: @laurburke @GaelVaroquaux @thomasjpfan @jjerphan @ogrisel

Joining forces with Hugging Face

Given what Hugging Face can bring to the scikit-learn users through skops for instance:
- The ability to push scikit-learn models on the Hugging Face Hub
- The possibility to try out models directly in the browser
- The automatic creation of model cards, to improve model documentation and understanding
- The ability to collaborate with others on machine learning projects

Given their open source DNA and what they do for the library like hiring core devs and contributors, sponsoring the INRIA consortium and more, I suggest we either publish or cross post this blog post:
https://scikit-learn.fondation-inria.fr/scikit-learn-and-hugging-face-join-forces/

I will be happy to read you and make a PR

blog post: interview with MZ

Instructions for posting the interview:

>*<span style="background-color: #CAE9F5;">
What is the effectiveness of sprint models and what is the long-term engagement as a result of these sprints?
</span>*

Reminders:

  • let's check that the words in italics get copied over
  • we'll need to create a social media card

Unfortunately, we don't have Netlify set up for this, so we may need to make updates after the blog PR is accepted.

link to interview doc: Reshama will email

Need script to resize the images

Large size images are slowing down the time to load the webpages.
This does impact certain regions more than others.

Write a script to reduce the size of images.

cc: @jmloyola

Add link to blog in social media links section of scikit-learn.org

Make blog design and main page more visually integrated?

I was wondering if we shouldn't work a little bit our blog design so that it has some common visual elements?

For instance, I had in mind making the top of the scikit-learn blog similar to the main page:
image
vs
image

This is jekyll + web design work that does not require specific scikit-learn / datascience expertise. Probably something that we can ask help with.

What do people think?

Blog Theme & Design Discussion: Requests, Suggestions, Decisions

Creating a new issue to log design requests, suggestions, and decisions. Please comment with new requests/suggestions or add your thoughts on the current requests/suggestions listed below.

CC: @reshamas @adrinjalali @jjerphan @ogrisel @thomasjpfan


Production

V1: blog.scikit-learn.org


Theme Options

Current Theme

Other Themes

Reference

Other Blogs

Current Design

Menus

  • Header: scikit-learn.org, Calendar, Resources
    • Dropdown: Install, User Guide, API, Examples
  • Sidebars
    • Social Media links
    • Archives: Category, Tag, Year
    • scikit-learn: About Us, FAQ, Code of Conduct
    • Mailing List: Subscribe, Archive
  • Footer: Social Media links, Feed

Home Page

  • Hero Banner: featured image, text
  • Recent Posts Queue
    • Request: Display posts' featured image
    • Author, read time
  • Twitter sidebar (currently hidden if viewer using adblock)

Posts

  • Display authors
  • Display Category, Tag

Pages

  • Calendar: embedded public scikit-learn event calendar
  • Resources

Requests & Suggestions

Previous Discussions

Requests

  • Request: show earlier posts to viewers
    • We currently have Category, Tag and Year archives. If you have suggestions of an alternative way to display earlier posts, please comment and provide a reference link if available.
  • Request: display the number of posts
    • Where should we display blog statistics?
    • Number of posts by category/tag/year? Total number?
  • Request: display posts' featured image in recent/archived posts queue
  • Do we want comments?
    • How would we deal with moderation?

blog: grant

cross post only after this PR has been merged in:
Quansight/Quansight-website#428

NumFOCUS announcement:
https://numfocus.medium.com/numfocus-projects-receive-nasa-grants-deee374e7a57

Proposal:
https://nspires.nasaprs.com/external/viewrepositorydocument/cmdocumentid=843923/solicitationId=%7B958CF134-D655-E512-B5AD-84501D14A0C1%7D/viewSolicitationDocument=1/OSTFL20%20Abstracts.pdf

3 year grant to fund maintenance of NumPy, SciPy, Pandas, and Scikit-learn, with a line item focused on sharing CI expertise between projects. At a high level, on the scikit-learn side:

  1. Maintenance: Triaging & Code Review, etc.
  2. Improve Performance: Single node using Cython+OpenMP and running on other array libraries (CuPy)
  3. Improve Pandas interoperability

embed public calendar

@laurburke
RE: events

Can we embed our public calendar on the separate page for "Events"?

<iframe src="https://calendar.google.com/calendar/embed?src=social.scikitlearn%40gmail.com&ctz=America%2FNew_York" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>

Calendar Time Zone

Hello! Thanks for setting up the blog!
Could it be possible to have the calendar in Universal Time?
I personally find easier to remember my difference time with UTC, than with some other specific time zone.

Thanks!

MathJax Javascript: for rendering formulas

To use MathJax we need to include the Javascript that does all the work (MathJax documentation).

If we want to include the script in every page of the blog (note that it may slow down pages without LaTeX, I don't know how much though), we can edit the file blog/_includes/head/custom.html adding:

<script type="text/javascript" id="MathJax-script" async
  src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>

This will load an specific version of MathJax. There are other urls we can use to load the latest version but we'll need to check the documentation.
Also, MathJax can be configured in different ways, but I think with the defaults we'll be OK.

Originally posted by @jmloyola in #70 (comment)


#70 (comment)

Looking at the PR (should have done that earlier) everything looks OK here.
The script for MathJax is loaded only when needed (using page.usemathjax).
Maybe the math formulas were not rendering because of the URL to the MathJax script.
Or maybe the place where the URL was inserted was not correct (_includes/masthead.html).
I'm not sure. We'll need to debug this to find out.

I know you already solved this, but if you start seeing loading delays in pages without math it might be related to always loading the MathJax script.
In that case, we have to do something similar to what this PR did.

Hosting on Netlify vs GH Pages

Initially, I had the Data Umbrella blog hosted on GH Pages. There were some issues with the tags, and since Netlify had more options, the developer who created the DU blog template suggested Netlify.

Reference

One of the benefits of Netlify is we can see a preview of the blog before accepting the PR.
Maybe this is also possible with GH Pages, but it needs to be set up?

Something we could explore later.

data-umbrella/data-umbrella.github.io#10 (comment)

Screen Shot 2022-01-26 at 10 40 19 AM

cc: @laurburke

twitter feed

Is it possible to add the scikit-learn twitter feed to a Jekyll blog?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.