Skip to content

Commit

Permalink
changelog and pubspec
Browse files Browse the repository at this point in the history
  • Loading branch information
gyrdym committed Feb 11, 2019
1 parent 1554c2f commit 3a44ee7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 160 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 6.1.0
- `LinkFunction` renamed to `ScoreToProbMapper`
- `ScoreToProbMapper` accepts vector and returns vector instead of a scalar

## 6.0.6
- Pedantic package integration added
- Some linter issues fixed
Expand Down
7 changes: 1 addition & 6 deletions lib/src/classifier/linear_classifier.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'package:ml_algo/gradient_type.dart';
import 'package:ml_algo/learning_rate_type.dart';
import 'package:ml_algo/src/classifier/classifier.dart';
import 'package:ml_algo/src/classifier/logistic_regressor.dart';
import 'package:ml_algo/src/classifier/softmax_regressor.dart';
import 'package:ml_algo/src/optimizer/optimizer_type.dart';

/// A factory for all the linear classifiers
Expand Down Expand Up @@ -71,11 +70,7 @@ abstract class LinearClassifier implements Classifier {
Type dtype,
}) = LogisticRegressor;

/**
* Creates a softmax regression classifier
*/
factory LinearClassifier.softMaxRegressor() = SoftMaxRegressor;

factory LinearClassifier.softMaxRegressor() => throw UnimplementedError();
factory LinearClassifier.SVM() => throw UnimplementedError();
factory LinearClassifier.naiveBayes() => throw UnimplementedError();
}
153 changes: 0 additions & 153 deletions lib/src/classifier/softmax_regressor.dart

This file was deleted.

2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ml_algo
description: Machine learning algorithms written with native dart (without bindings to any popular ML libraries, just pure Dart implementation)
version: 6.0.6
version: 6.1.0
author: Ilia Gyrdymov <ilgyrd@gmail.com>
homepage: https://github.com/gyrdym/ml_algo

Expand Down

0 comments on commit 3a44ee7

Please sign in to comment.