Skip to content
#

microsoft

Here are 2,061 public repositories matching this topic...

LightGBM
jameslamb
jameslamb commented Jan 27, 2021

Summary

mypy shows some issues in LightGBM's Python package.

mypy --ignore-missing-imports python-package/
18 errors in 4 files (click me)
python-package/lightgbm/compat.py:12: error: Name 'Series' already defined (possibly by an import)
python-package/lightgbm/compat.py:17: error: Name 'DataFrame' already defined (possibly by a
NWU-NISL
NWU-NISL commented Oct 8, 2020

When I passed NaN and an object with the "valueOf" attribute value as a callable function to the first and second parameters of Math.max, chakra did not execute this function. According to the ES10 standard, the ToNumber operation is performed on each parameter of Math.max, and the "valueOf" attribute value function of the second parameter will be executed.

version

chakra-1_11_22

**co

msbuild
akoeplinger
akoeplinger commented Dec 21, 2020

These are new in .NET 5.0: https://docs.microsoft.com/en-us/dotnet/api/system.operatingsystem?view=net-5.0

They expose methods for all the common operating systems like OperatingSystem.IsWindows() but also still support the API where you pass in a string: OperatingSystem.IsOSPlatform(string platform).

The new APIs are easier to understand so we should consider exposing them.

ChumpChief
ChumpChief commented Dec 14, 2020

With #4556 we now have localized eventing on subdirectories ("containedValueChanged"). We should consider using these events in our examples where we currently do path inspection on the "valueChanged" event.

Based on a quick search, looks like the following might benefit:

  • examples\data-objects\primitives\src\main.tsx
  • examples\data-objects\todo\src\TextList\TextListView.tsx
  • [
mmlspark
brunocous
brunocous commented Sep 2, 2020

I have a simple regression task (using a LightGBMRegressor) where I want to penalize negative predictions more than positive ones. Is there a way to achieve this with the default regression LightGBM objectives (see https://lightgbm.readthedocs.io/en/latest/Parameters.html)? If not, is it somehow possible to define (many example for default LightGBM model) and pass a custom regression objective?

azure-sdk-for-net

Improve this page

Add a description, image, and links to the microsoft topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the microsoft topic, visit your repo's landing page and select "manage topics."

Learn more