traingenerator icon indicating copy to clipboard operation
traingenerator copied to clipboard

New template: Text Classification in scikit-learn [WIP]

Open themrcesi opened this issue 4 years ago • 2 comments

Hi there!

I´m planning to make a text classification template using scikit-learn. Just let me know whether this task adapts to the goal of the project.

Once I get the ok, I´ll start working on it.

themrcesi avatar Dec 30 '20 10:12 themrcesi

English is not my native language; please excuse typing errors.

@A-contresens This plugin use date pipe format date, So you can refer to this link. http://stackoverflow.com/a/39344889/6851836

import { NgModule, ErrorHandler, LOCALE_ID } from '@angular/core';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { MyApp } from './app.component';

import { CalendarModule } from "ion2-calendar";

@NgModule({
  declarations: [
    MyApp,
    ...
  ],
  imports: [
    IonicModule.forRoot(MyApp),
    CalendarModule,
  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp,
    ...
  ],
  providers: [{provide: ErrorHandler, useClass: IonicErrorHandler},
              { provide: LOCALE_ID, useValue: "zh-CN" }]
})
export class AppModule {}

hsuanxyz avatar Apr 07 '17 02:04 hsuanxyz

Thank you

It is working great !

A-contresens avatar Apr 07 '17 07:04 A-contresens

Hi, I using ionic 3, i follow the code and my months labes dont change. I using modal options to display my calendar. Is there any problem with modal options? Or for ionic 3 need other code?

JrkJesus avatar Jun 18 '18 10:06 JrkJesus

Hi, I using ionic 3, i follow the code and my months labes dont change. I using modal options to display my calendar. Is there any problem with modal options? Or for ionic 3 need other code?

I'm having this exact issue!

juanmiret avatar Jan 02 '19 20:01 juanmiret

I have been found the solution to put month names with correct locale, you need to add the following line:

`Only add this line. require('moment/locale/es-mx');

@NgModule(...) export class AppModule {}`

I used 'es-MX' but you can put whatever you need.

Iscbr avatar Oct 16 '20 06:10 Iscbr